hostebin
Skill2 starsChanged 4 months agoMITView on GitHub
Publish a writeup (report, review, plan, research, dashboard) or any HTML, Markdown, images, or static folder to a shareable link with the hostebin CLI. Use when output should be read in a browser rather than a terminal, or when a published link must be updated, listed, or deleted.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- beautiful-htmlSkill
- hostebin-readSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 55
Use --json when you need the bundle ID, per-file URLs, or the expiry:
- Very specific: line 65
Use it to publish Markdown that already exists.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Publishing with hostebin
hostebin up uploads a small bundle of files and prints one URL. Hand that URL to
the person you are working with; they open it in a browser and see the rendered
page.
Publishing a writeup
A writeup is a report, review, plan, research, or dashboard: a page someone reads.
- Build it with
beautiful-html. Invoke that skill before writing any HTML and start from one of its templates. Every writeup starts there. - Upload it with a title and a TTL.
The title is what the reader sees in the tab and inhostebin up --title 'Weekly report' --ttl 30d report.htmlhostebin ls, so make it say what the page is. The default expiry isnever; two weeks outlives almost every writeup, so pass--ttlunless the artifact is meant to be permanent. Hand back the printed line verbatim. A bundle renders at its root, and
hostebin upprints exactly that URL:✅
https://762a1b8266153f8ba48b.hostebin.example.com/❌
https://762a1b8266153f8ba48b.hostebin.example.com/page.html
Uploading
# single page
hostebin up report.html
# a page plus its assets — relative links keep working
hostebin up report.html img/chart.png styles/report.css
# a whole directory (the directory name itself is stripped)
hostebin up ./site/
# generated content, no temp file needed
printf '# Status\n\nAll green.\n' | hostebin up -n status.md -The URL is the only thing on stdout; everything else goes to stderr, so capture it directly:
url=$(hostebin up report.html)Use --json when you need the bundle ID, per-file URLs, or the expiry:
hostebin up --json report.html
# {"id":"...","url":"https://.../b/<id>/","entry_url":"...","files":[...],"expires_at":null}Rules that matter
- Markdown is rendered as a styled HTML page; add
?raw=1to the URL for source. Use it to publish Markdown that already exists; a writeup you author is abeautiful-htmlpage. - The entry page is picked automatically: a single file, else
index.html, else the first HTML file, else the first Markdown file, else a generated file listing. Override with--entry path/to/file.html. - Self-contained output wins. Inline CSS/JS or upload assets alongside the page; bundles cannot reference files from other bundles.
- The link is the key. Reading needs no login, but it needs the URL: the bundle ID is 128 random bits, and the server may be reachable only inside a private tailnet. A page is as private as its link, so hand the link over plainly. Keep live credentials (tokens, passwords, private keys) out of uploads; a link outlives the chat it was pasted into.
- Update in place while iterating, so the link you already gave the person keeps
working:
hostebin up --id <bundle-id> report.html
Managing what you published
hostebin ls # id, bytes, created, title — one bundle per line
hostebin ls --json # full metadata
hostebin rm <id> # deleteWhen something fails
| Symptom | Cause and fix |
server URL is required / token is required | HOSTEBIN_SERVER / HOSTEBIN_TOKEN unset, and no config file. |
server returned 401 | Wrong token; re-read it from the server's data directory. |
server returned 413 | Bundle exceeds the server's --max-upload (default 32 MiB). |
upload contains more than N files | More than --max-files (default 64); upload a subset or zip assets. |
refusing symlink | Directory contains symlinks; upload the real files. |
| connection refused | No server running at HOSTEBIN_SERVER. |
Exit codes: 0 success, 1 usage/configuration error, 2 network or server error.
More detail
Full flag list, user and token commands, config precedence, HTTP API, and the
security model: reference.md next to this file.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

