1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 21:03:17 +02:00
archivr/crates/archivr-core/src
TheGeneralist 6c4994ae04
feat(core): add text capture path with title + Markdown/plain body
- Add downloader/text.rs module with save() function that stages and hashes text content
- Support text/markdown and text/plain MIME types with .md and .txt extensions
- Add perform_text_capture() function for capturing user-supplied text
- Validates title (non-empty, max 500 chars) and body (non-empty, max 2 MiB)
- Creates blob records and entries with source_kind='text', entity_kind='document'
- Includes comprehensive unit tests for markdown, plain text, and validation

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-22 14:11:41 +02:00
..
downloader feat(core): add text capture path with title + Markdown/plain body 2026-08-22 14:11:41 +02:00
archive.rs fix: exclude child entries from collection listing 2026-08-02 11:23:13 +02:00
capture.rs feat(core): add text capture path with title + Markdown/plain body 2026-08-22 14:11:41 +02:00
database.rs feat(collections): public collections, per-collection auth, UX improvements (#34) 2026-07-24 20:16:17 +02:00
hash.rs feat(fonts): hash_bytes, get_blob_by_sha256, font_extractor module 2026-06-25 16:02:57 +02:00
lib.rs feat: browser capture button (Track 4) 2026-06-22 22:18:44 +02:00
twitter.rs feat: add db and multi-archive web UI foundation (#8) 2026-06-14 00:27:16 +02:00