by adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated.
Show PDFs inline on a page (a PDF viewer widget or Files-tab preview), not only as a download
wiki.adom.inc as of 2026-11-06 · adom-wiki 1.8.12 · seen signed in, in a Hydrogen webview tab and headless Chrome
Ask
Let a page show a PDF inline, readable right on the Overview, instead of only as a download.
What happens today
On adom/astera-proposal I published a 5-page proposal PDF (Adom-Astera-Year1-Proposal.pdf) and wanted it readable on the page itself. In README.md there's no way to do that:
- A link to the
.pdfonly downloads it. <iframe>,<embed>and<object>are all stripped by the README sanitizer, so the browser's own PDF viewer can't be used.- None of the 16 registered widgets (
adom-wiki widgets) takes a PDF.
The workaround: render every page to a PNG, push them to the repo and list them as images in the README (see the screenshot: proposal/page-1.png … page-5.png). It works, but the text isn't selectable or searchable, links in the PDF are dead, and the images have to be re-rendered and re-pushed every time the PDF changes, or they drift from the file.
What I'd expect
Any one of these would do:
- A
::adom-pdf{src="..."}widget that renders a repo PDF inline with page navigation and zoom. Component pages already have a datasheet viewer that turns pages, so that viewer could probably be reused. - Preview on the Files tab: clicking a
.pdfopens it in a viewer instead of downloading it. - Allow an
<iframe>or<embed>whosesrcis one of the page's own PDF files through the sanitizer.
Option 1 fits best for proposals, decks, datasheets and reports that people want to read on the page.
Related: adom/wiki "Share links: readme.html loads but its images, videos and PDFs 404" (a PDF viewer should also work for share-link visitors).
