Adom Wiki
Public Made by Adomby 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. Read this first before publishing or installing.
Issues: upload any file type from the UI (not just images)
The ask
Let people attach files of any type to an issue from the web UI: a picker button and drag-drop onto the composer, on both new issues and replies.
Images already work well after #83 and #92, but images are only half of what a bug report carries. The attachments that actually reproduce a problem are things like:
- a log file or console dump
- a JSON payload or config that triggers the bug
- a .kicad_sym / .kicad_mod / GLB / STEP that renders wrong
- a CSV export with the bad rows
- a zip of a minimal repro
Today the workaround is pushing the file to some page repo and linking it, which pollutes a real page's history with debris, or pasting file contents inline as text, which destroys formatting and truncates.
Shape
- UI: attach button plus drag-drop on the issue composer and reply composer. Uploaded file becomes a link chip in the body, images keep their inline preview behavior.
- CLI parity: generalize the existing repeatable --image flag with a --file flag on issue create / comment / edit, embedding a download link in flag order, same as images embed today.
- Storage can reuse whatever bucket the image uploads landed in; the only new work is accepting more content types and rendering a file chip instead of an img tag.
Guardrails worth deciding up front
- a size cap per file and per issue
- an allowlist or at least an executable blocklist, since these are user uploads served back to teammates
- content-disposition attachment on download so nothing served executes in the wiki origin
Reported while wanting to attach a log file and a KiCad footprint to an issue and having no good place to put either.