tiennm99 d17a79445f feat(pdf): export a novel as a phone-readable PDF
Add a pdfout package that renders the fetched chapters to a single PDF
and an export package holding the whole pipeline, so the CLI and an
embedding program share one code path and reject the same inputs.

The default page is 90x160mm rather than A4 with large type: a viewer
scales a whole page to fit the screen, so on a phone the page shape
decides legibility and a wide page just gets shrunk.

Embed DejaVu Sans in the binary. Vietnamese needs the Latin Extended
Additional block, and a headless host often has no fonts installed at
all, so rendering must not depend on finding one. An explicitly named
font is never silently substituted. Font data is passed as bytes because
fpdf resolves a font path against its own font directory.

Keep the original per-chapter text output available behind -txt.
2026-08-24 20:40:01 +07:00
2025-07-20 18:59:06 +07:00
2024-05-22 21:04:10 +07:00
2025-03-25 19:01:31 +07:00

MTTools

Personal toolbox — small utilities and scripts, each formerly a standalone repository, merged here with full history.

Directory Tool Language
utils/ Utility batch and shell scripts to make life easier (or harder) Batch/Shell
go-util/ Miscellaneous CLI scripts (Gitea org cleanup, etc.), multi-binary cmd/ layout Go
export-chrome-cookies/ Export Google Chrome cookies on Windows Python
miti-scraper/ Configurable single-site web scraper Go
circular-dependency-checker/ Detects cyclic dependencies in Godot projects Python
image-resizer/ Batch image resizer CLI — scales to a percentage, keeps aspect ratio Go
webp-converter/ HTTP microservice converting WebP images to PNG on-the-fly Go

Unmerged Go-rewrite drafts live on feature/export-chrome-cookies-go and feature/circular-dependency-checker-go.

S
Description
Personal toolbox — utility scripts and small CLI tools (shell/batch, Go, Python, Node.js), merged from standalone repos with full history
Readme
16 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 75%
Python 22.9%
Shell 0.8%
JavaScript 0.7%
Dockerfile 0.4%
Other 0.2%