GitShow/honojs/starter
honojs

starter

Hono starter templates

by honojs
Star on GitHubForknpm

TypeScript

142 stars56 forks42 contributorsActive · 1w agoSince 2023

Meet the team

See all 42 on GitHub →
yusukebe
yusukebe457 contributions
sakibhasandev
sakibhasandev6 contributions
ryuapp
ryuapp5 contributions
harmony7
harmony72 contributions
watany-dev
watany-dev2 contributions
the-pesar
the-pesar2 contributions
nktnet1
nktnet12 contributions
injust
injust2 contributions

Languages

View on GitHub →
TypeScript91.4%
JavaScript6.6%
CSS2%

Recent PRs & issues

Active · 2 in progress · Last activity 1w ago
See all on GitHub →
ashunar0
cloudflare-* templates: type vending DX silently breaks without manual cf-typegenOpenIssue

Summary After PR #90 migrated the templates from to wrangler's dynamic (which I think was the right call — config-aware types are genuinely more accurate), users who rely on Hono's type vending features hit immediate type errors after scaffolding, because doesn't exist until is manually run. The README mentions , but missing this step results in silent breakage that's hard to diagnose, and easy to skip. Reproduction Using (same applies to and ): Replace with a minimal type-vending example: Run typecheck: Hono's chain inference produces because no global / type is available in the project — has only and . Fix verification Once is generated, type vending works as expected. Why this matters Real-world users who would hit this: Anyone using RPC client → client types resolve to Anyone using 's → fails with Anyone running in CI → CI fails on a fresh scaffold For comparison, sibling templates handle this seamlessly out-of-the-box: : in devDependencies / : + : nothing — relies on the user knowing to run Possible approaches I understand the rationale for PR #90 (config-aware types via is more accurate), so I'm not suggesting reverting it. Instead, options to close the UX gap: A. Add to template Pros: Covers initial install, teammate clones, CI environments, and updates Works across all package managers (npm/pnpm/yarn/bun) Smallest change — template-only, no CLI changes Cons: failures abort install (e.g., on Node < 22) B. Run from CLI after install Add a hook that runs for cloudflare templates after install. Pros: Keeps clean Cons: Doesn't help when teammates clone and run Doesn't help when changes Requires changes to itself C. Hybrid: A + / Combine A with / to also keep types fresh on every dev/build run. Personally I lean toward A as the simplest fix with the broadest coverage. Happy to open a PR once direction is decided. Side note**: an additional UX gotcha during reproduction — itself requires Node 22+. Users on Node 20 hit a secondary error () when manually running . Worth keeping in mind for the postinstall approach (postinstall would surface this earlier). cc @yusukebe @Thomascogez (referencing PR #90 context)

ashunar0 · 1w ago

Recent fixes

View closed PRs →
chimame
bump `@hono/node-server`MergedPR

Overview https://github.com/honojs/node-server/releases/tag/v2.0.0 Hono Node.js adapter v2 has been released. The template has also been updated to use v2.

chimame · 2w ago
aliahadmd
Please update nextjs templateClosedIssue

Next.js is being installed as version 15.x, but running resolves the issue.

aliahadmd · 3w ago
soumyashisk
Add rootDir to tsconfig.jsonMergedPR

Fixed this issue: The common source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout. Visit https://aka.ms/ts6 for migration information.

soumyashisk · 1mo ago
Structured data for AI agents

Repository: honojs/starter. Description: Hono starter templates Stars: 142, Forks: 56. Primary language: TypeScript. Languages: TypeScript (91.4%), JavaScript (6.6%), CSS (2%). Open PRs: 2, open issues: 8. Last activity: 1w ago. Top contributors: yusukebe, sakibhasandev, ryuapp, harmony7, watany-dev, the-pesar, nktnet1, injust, EdamAme-x, alex8bitw and others.

·@ofershap

Replace github.com with gitshow.dev