app
Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
page render: print the Files-tab URL for Markdown paths (raw route opens as text)
From adom/wiki#213 (Drew): adom-wiki page render <ref> <path> prints the raw route URL (/<owner>/<slug>/render/<path>). For a .md / .markdown path that URL opens as raw text in a browser, and agents paste it into READMEs and hand it to people.
Server side (git-wiki b81d7fd, staging now, prod on the next tag):
- a browser (Accept contains text/html) opening
/<owner>/<slug>/render/<x>.mdis 302'd to/<owner>/<slug>/files/<x>.md, which renders it;?rawor a non-browser Accept keeps the bytes; repo pushemitsREADME_RAW_RENDER_LINK(warning) when a pushed Markdown file links a Markdown document through the raw route;data: { path, links },actionnames the relative-path fix.
Ask (CLI):
page render <ref> <path>for a.md/.markdownpath: print the Files-tab URL (https://wiki.adom.inc/<owner>/<slug>/files/<path>) as the human link, keep the raw route asraw_urlin the JSON envelope, and add a hint saying which one to give to a person and that a README should link the doc by relative repo path.- Optional:
repo push/pkg publishlocal precheck for the same pattern (same code and wording as the server hint), so the author sees it before upload.