GitShow/honojs/cli
honojs

cli

Command-line tool for Hono, made for AI coding agents

by honojs
Star on GitHubForknpm

TypeScript

361 stars11 forks6 contributorsActive · 7h agoSince 2025v0.1.11

Meet the team

See all 6 on GitHub →
yusukebe
yusukebe54 contributions
usualoma
usualoma6 contributions
ysknsid25
ysknsid255 contributions
robinsadeghpour
robinsadeghpour1 contribution
tommy-ish
tommy-ish1 contribution
koralle
koralle1 contribution

Languages

View on GitHub →
TypeScript99.9%
JavaScript0.1%

Commit activity

Last 12 weeks · 7 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
37
✓README○License○Contributing○Code of Conduct○Issue Template✓PR Template

Recent PRs & issues

Active · 4 discussions · Last activity 7h ago
See all on GitHub →
yusukebe
New conceptOpenIssue

I thought long about this Hono CLI. You might think Hono CLI seems to have faded out, as it is. BUT make it completely for AI, especially an AI coding agent, Hono CLI will get brilliant. Make a skill to use Hono CLI; use it in your coding agent. The agent will debug your application, build it, and benchmark it with Hono CLI instead of a human. What's changed Default output is JSON Make the default output as JSON for AI. If humans want to see the result, use the option. Remove commands accessing remote resources Sometimes using the CLI to access remote resources can be dangerous. Current Hono CLI commands and access the remote . With them, for instance, a security scanner like Snyk may detect a security issue. As a result, the skill using the current Hono CLI is marked as having risk: https://www.skills.sh/yusukebe/hono-skill/hono/security/snyk Let's remove and . If you want an agent to read the docs, you can use the "Web Fetch" function in the agent. Remove is just for humans. We can remove it. Add option to It's not super related to this topic, but I want to add specifying the runtime environment to the command. Now the candidates are: Cloudflare Workers Bun Deno Node.js If an agent wants to request your application on Cloudflare Workers, the agent can run . to Change the thought to an AI agent to "build," not only optimization. If AI can deploy, AI should want to build. If so, it's not enough just "optimization". And we can add option to the command. New commands I propose the following new commands: Show all endpoints of the app like Generate static files for your application. Using SSG Helper inside. Measure the performance of your app without running the server, and just send to the app and get . And I want to add the command. This command is inspired by the command from Cloudflare. The subcommand shows a list of command usage in Markdown format. All commands We will have the following commands: Next The current Hono CLI version is . We can make with this new concept.

yusukebe · 1w ago

Recent fixes

View closed PRs →
yusukebe
fix: detect cloudflare.config.ts and say it is not supportedMergedPR

The new \ CLI uses \. In a project with only that file, the automatic bindings did nothing without a word, and \ told the user to create \. Now the automatic bindings print a note to stderr and continue, and \ fails with \. Reading the file is left for later: wrangler's \ does not take it yet, and \ is not stable for external use. The author should do the following, if applicable [x] Add tests [x] Run tests [x] \ to format the code [x] Add TSDoc/JSDoc to document the code

yusukebe · 7h ago
yusukebe
fix: reject --no-bindings with a runtime other than nodeMergedPR

\ was accepted with \ and did nothing: the bindings proxy is a Node.js thing, and workerd has the real bindings from the wrangler config. The Agent DX team saw \ return D1 rows and could not tell from the flag name why. The same held for \ and \ in \. Now \, \, and \ reject \ with any runtime other than \, with an \ that says which flag to drop. README updated. The author should do the following, if applicable [x] Add tests [x] Run tests [x] to format the code [x] Add TSDoc/JSDoc to document the code

yusukebe · 1w ago
yusukebe
chore(batch,snapshot): align the --runtime help with requestMergedPR

The \ help for \ and \ said "node (default) or workerd" and commander appends its own \, so \ printed the default twice. Use the same form as \: \. The author should do the following, if applicable [ ] Add tests [x] Run tests [x] to format the code [ ] Add TSDoc/JSDoc to document the code

yusukebe · 1w ago
Structured data for AI agents

Repository: honojs/cli. Description: Command-line tool for Hono, made for AI coding agents Stars: 361, Forks: 11. Primary language: TypeScript. Languages: TypeScript (99.9%), JavaScript (0.1%). Latest release: v0.1.11 (1mo ago). Open PRs: 0, open issues: 4. Last activity: 7h ago. Community health: 37%. Top contributors: yusukebe, usualoma, ysknsid25, robinsadeghpour, tommy-ish, koralle.

·@ofershap

Replace github.com with gitshow.dev