Books (v0.1.0): formats, positions, library, import, export #1
Reference in New Issue
Block a user
Delete Branch "feature/books"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Day 1 (v0.1.0) of Liber's public core:
liber-formatandliber-library.What
Document; own zip reader/writer with hard caps; whitelist sanitizer; CFI points + text-quote anchors (Exact/Approximate/Lost); DRM detection (ADEPT, LCP, FairPlay, non-font encryption.xml, MOBI encryption, KFX, Topaz) refused with one sentence; text fingerprint and ISBN.liber-exportv1 (JSON, CSV with formula escaping, Markdown highlights, zip with book files).Tests (59 functions, all green; proptest adds 256 + 200 + 150 generated cases)
node scripts/deps.mjs --check: 100 crates, 0 outside the allowed set.cargo clippy --all-targets: 0 warnings.Self-review (critical)
filepos,kindle:pos) are not mapped; text stays, links don't. TOC from headings only.csv's Unlicense-OR-MIT) still await Mark's confirmation; nothing here needs them except Unicode-3.0 (unicode-ident,unicode-normalization).fixtures-fetch/manifest.jsonis empty: every mandatory fixture is generated in code; no external corpus was pinned yet.LiberPublic; it isLiber-publicon Gitea (code wins, CLAUDE.md says so).Merged with --no-ff as
b9462af(main), tagged v0.1.0. Gitea does not detect merges pushed to main here (manual-merge detection is off), so this PR is closed by hand.Pull request closed