Kyiro
Kyiro
Any updates on this one year old issue?
> Well it's easy to build a portable build, we just haven't added such option onto our CI How can I build a portable build then?
It *might* be related to the GifPreviewFix coreplugin. requesting that URL with `?format=gif` returns 415 Unsupported Media Type
It should be fairly trivial to make universal middleware for Workers, Deno and possibly Node. If I have the time, I could look into it as 3rd party middleware but...
You have to use the node adapter with the `handleUpgrade` function, it'd definetly require some messing around with internals but it *should* be possible. As for Bun, you can put...
WebSockets example for Node.js, it's way simpler than what I described ```ts import { serve } from "@hono/node-server"; import { Hono } from "hono"; import { WebSocketServer } from 'ws';...
I don't think it's possible to handle upgrades inside the route handler itself in Bun, but it's very doable in Node. I've made a PR to address this a while...
Elysia has the advantage of supporting only Bun in this case because implementing a ws handler function would require some different code for every runtime. My plan was to make...
> If you want to have "normal" websockets (with listeners) in Bun/hono I made this little bit of code: https://gist.github.com/tobowers/2117365c8210d1758a4c6e2f859619c0 That's pretty nice!
Any updates on modules?