Commit graph

5 commits

Author SHA1 Message Date
randogoth
0b67069760 feat: add Nex and Gopher listeners
Reuses md2txt's existing nex and text renderers (both already ship
unmodified) -- rendered unwrapped gemtext still works for Gemini/Spartan
clients that wrap themselves, but Nex and Gopher clients don't, so those
two get the classic 80-column pre-wrap instead.

Neither protocol has a redirect status of its own, so Site.resolve_flat()
follows the /foo.md -> /foo canonical bounce and the WML-card-only ->
parent redirect server-side and hands back real content directly, rather
than leaving the two new listeners to invent a redirect convention that
doesn't exist on the wire.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-26 15:16:40 +03:00
randogoth
12956a5034 fix: strip XML prolog from the text/html fallback body 2026-09-26 15:03:56 +03:00
randogoth
3d9239b7a5 chore: gitignore nix build result symlinks 2026-09-26 13:34:12 +03:00
randogoth
a081975234 feat: add flake.nix for NixOS deployment 2026-09-26 13:34:12 +03:00
randogoth
c3cb1d7046 feat: initial implementation 2026-09-26 13:34:12 +03:00