uploadthing icon indicating copy to clipboard operation
uploadthing copied to clipboard

What adapters should we add next?

Open juliusmarminge opened this issue 2 years ago • 9 comments

In [email protected], we shipped two new backend adapters, Express and Fastify. What other adapters should we add?

  • [x] Express
  • [x] Fastify
  • [x] H3 / Nitro (#358)

Also keep in mind the base server handler can be used for any server using web standard Request/Response. Some examples of runtimes/frameworks that is (should) already be supported using this adapter are

  • Astro (doc + example #364)
  • SolidStart
  • Bun HTTP Server
  • Cloudflare Workers
  • Deno Oak
  • Deno Deploy
  • Remix
  • Hono (doc + example #364)
  • Elysia (doc + example #364)
  • More???

juliusmarminge avatar Sep 15 '23 21:09 juliusmarminge

I took a look at hono. It is based on Web Standard API, so I guess we don't need extra adapter. Probably, new example is enough

Mr0Bread avatar Sep 16 '23 14:09 Mr0Bread

I took a look at hono. It is based on Web Standard API, so I guess we don't need extra adapter. Probably, new example is enough

We could maybe just have a section in docs of code-snippets how you can use the standard server handler for different setups, similar to https://trpc.io/docs/server/adapters/fetch#runtimes-specific-setup

juliusmarminge avatar Sep 16 '23 18:09 juliusmarminge

Yeah, sounds reasonable

Mr0Bread avatar Sep 16 '23 21:09 Mr0Bread

I'm going to take a look at Elysia during the day. Let me know, if it's already in progress on your side

Mr0Bread avatar Sep 17 '23 10:09 Mr0Bread

@juliusmarminge Created PR with new doc page and pair of new examples #364

Mr0Bread avatar Sep 17 '23 13:09 Mr0Bread

React Native would be nice. Especially if I can share Uploadthing code between React Native (Expo w/ Expo Router etc.) and Next.js.

FleetAdmiralJakob avatar Jan 29 '24 16:01 FleetAdmiralJakob

React Native would be nice. Especially if I can share Uploadthing code between React Native (Expo w/ Expo Router etc.) and Next.js.

See https://github.com/pingdotgg/uploadthing/pull/583

juliusmarminge avatar Jan 29 '24 16:01 juliusmarminge

Remix!

theskillwithin avatar Feb 12 '24 03:02 theskillwithin

Phoenix would be great!

rma97 avatar Apr 17 '24 01:04 rma97