1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-10-09 21:03:17 +02:00
archivr/crates/archivr-core/src/downloader
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
..
cookies.rs feat: add user-configurable cookie rules (#20) 2026-07-06 19:01:34 +02:00
font_extractor.rs feat(fonts): hash_bytes, get_blob_by_sha256, font_extractor module 2026-06-25 16:02:57 +02:00
http.rs capture: close dialog on Archive; rich per-URL and batch toast notifications (#22) 2026-07-11 15:29:10 +02:00
local.rs feat: add db and multi-archive web UI foundation (#8) 2026-06-14 00:27:16 +02:00
metadata.rs feat: platform-aware entry titling for all 13 source types 2026-06-23 21:49:34 +02:00
mod.rs feat(core): add text capture path with title + Markdown/plain body 2026-08-22 14:11:41 +02:00
singlefile.rs fix(core): tighten reader-mode typography and spacing 2026-07-19 21:07:19 +02:00
store.rs feat: add db and multi-archive web UI foundation (#8) 2026-06-14 00:27:16 +02:00
text.rs feat(core): add text capture path with title + Markdown/plain body 2026-08-22 14:11:41 +02:00
tweets.rs feat(tweets): add re-archive button and fix thread-tweet orphan cleanup (#23) 2026-07-11 16:14:58 +02:00
ytdlp.rs feat: add capturing w/ parent-child entries (#32) 2026-07-21 21:57:29 +02:00