summaryrefslogtreecommitdiff
path: root/internal/processor/processor.go
AgeCommit message (Collapse)Author
2026-04-16v0.2.0: markdown image embedding, post typography, modal improvementsv0.2.0Paul Buetow
Amp-Thread-ID: https://ampcode.com/threads/T-019d94cc-99a9-74af-8f3d-9521cd73324f Co-authored-by: Amp <amp@ampcode.com>
2026-04-10processor: document sequential Run and partial-batch semanticsPaul Buetow
Clarify in package comment and Run docstring that files are processed in order, successful sources are removed before later files run, and on error the returned count reflects posts already created. Made-with: Cursor
2026-04-10processor: document trusted inbox trust boundary for markdown HTMLPaul Buetow
Markdown uses goldmark html.WithUnsafe for intentional raw HTML in personal-inbox posts. Package and processMd comments state the trust model and warn against untrusted input on the same path. Made-with: Cursor
2026-04-10processor: return error when markdown pre-scan cannot read .mdPaul Buetow
claimedByMarkdown now wraps os.ReadFile failures instead of skipping, so Run fails fast and avoids wrong image claim state. Add regression test using an unreadable markdown file (Unix). Made-with: Cursor
2026-04-10processor: delete markdown inbox images only after Save succeedsPaul Buetow
buildMarkdownPost no longer removes referenced images during build. buildPost returns inboxExtras paths; processFile removes them after p.Save(postDir) succeeds, matching source file deletion ordering and avoiding loss of originals if Save fails. Made-with: Cursor
2026-04-09add snonux static microblog generatorPaul Buetow
Full Go implementation with: - txt/md/image/audio input processing, URL auto-linking in .txt files - Paginated HTML output with Atom feed - 11 visual themes: neon, terminal, synthwave, minimal, brutalist, paper, aurora, matrix, ocean, retro, glass (selectable via --theme flag) - Keyboard navigation (j/k/arrows, Enter modal, h/l page nav) - Shared nav templates (navhints, navmodal, navscript) across all themes - Magefile build automation; integration test suite covering all themes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>