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>
16 lines
331 B
JSON
16 lines
331 B
JSON
{
|
|
"packages": [
|
|
"python313@latest",
|
|
"uv@latest",
|
|
"libxml2@latest",
|
|
"netcat-gnu@latest",
|
|
"openssl@latest"
|
|
],
|
|
"shell": {
|
|
"scripts": {
|
|
"sync": ["uv sync"],
|
|
"test": ["uv run pytest"],
|
|
"run": ["uv run smolweb --root ./content --host localhost --spartan :3000 --gopher :7070"]
|
|
}
|
|
}
|
|
}
|