Shell-native HTML hosting
Any agent that can run terminal commands can publish the HTML file it just created.
Install the HTMLHost.ai CLI once, then let Codex, Claude Code, Cursor, scripts, and CI tasks deploy generated HTML reports or previews without opening a browser.
$ npm install -g @htmlhost/cli
$ htmlhost login
$ htmlhost deploy report.html
# or without a global install
$ npx @htmlhost/cli deploy report.html
Deployed: https://yourname.htmlhost.ai/p/7m2/report.html
Any agent that can run terminal commands can publish the HTML file it just created.
Use htmlhost update when a review link should stay the same across iterations.
API keys tie published artifacts to an owner, which keeps abuse controls practical.
## Publishing HTML artifacts
When you create or update a standalone HTML artifact
(report, dashboard, prototype, test page):
1. Run: htmlhost deploy <file>.html
2. Reply with the public URL it prints.
To keep an existing URL stable across iterations, run:
htmlhost update <existing-url> <file>.htmlAdd a final instruction that Codex should deploy generated HTML artifacts and return the HTMLHost.ai URL.
Use the CLI from the same shell environment where Claude Code creates reports, prototypes, and dashboards.
Any shell-capable editor, agent, script, or CI task can publish a standalone HTML file with the same command.
Yes. Install it globally with npm install -g @htmlhost/cli.
Yes. npx @htmlhost/cli deploy report.html works when you do not want a global install.
The CLI stores the API key in the user config directory with user-only file permissions.
Yes. Use htmlhost update with an existing HTMLHost.ai URL and a replacement HTML file.