static files 404 when in subdirectory of assets
Versions of @hono/zod-openapi >= 0.17 will cause vscode to crash
Any lib for API rate limiter in hono CF worker?
Closing resources and streaming response
How to implement renderToPipeableStream with the streaming API?
Getting isssues on adding data to KV store
Use zod schema generated with prisma with @hono/zod-openapi
RPC types not working well inside a monorepo
packages/api
for my hono api and app/www
for the client code. I have set up rpc well but i am getting Type instantiation is excessively deep and possibly infinite.ts
. I have tried the following
- I have set strict
to true on both my api and client package
- have set composite
true in my api package and set path reference in my client package.
The above two helped to infer the types in the client from unknown to actual types but now its giving the type instantiation error....Update the default validator to return custom error response
zValidator
of hono to return custom error objects. Right now, it returns something like this:
```json
{
"success": false,
"error": {...Get the username using basic auth
deno: react-pdf pitfall

correct type of this `Context`

Honox scripts and styles not working in production
Typing nested controlled
How to handle file uploads
fs
however my biggest problem is that it's all done in memory. I've also noticed that when using req.parseBody
, if there are multiple large size files being uploaded, the server response time for other endpoints increases drastically. So what would be the correct way to handle file uploads, while avoiding storing files in the memory?products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI

Failed deploy with Hono, Vite and email event handler
vite build --mode client && vite build && wrangler deploy --no-bundle
I get the error: A request to the Cloudflare API (/accounts/xxx/workers/scripts/disposible-email/versions) failed. Uncaught TypeError: Cannot read properties of undefined (reading 'map') at null.<anonymous> (index.js:1:21247) in route [code: 10021]
.
I already figured out that the problem lies with export default { fetch: app.fetch, email: async (message, env) => {}
because when I export app
like export default app
the error does not occur. When I use export default { fetch: app.fetch }
the error will occur.
My entrypoint (index.tsx
) looks like this:...Why Are My Hono RPC Routes Not Showing Beyond $get, $post, and $url?
$get
, $post
, and $url
appear in the list.How can I make all the other defined routes accessible through RPC? Here is my current router setup:...

How to pipe the archive in stream hono?
Hono React with bun