mckaywrigley / ai-code-translator

Come join the best place on the internet to learn AI skills. Use code "aicodetranslator" for an extra 20% off.
https://JoinTakeoff.com
3.94k stars 589 forks source link

tRPC Implementation #30

Open masnwilliams opened 1 year ago

masnwilliams commented 1 year ago

Overview

I think that tRPC offers a very high value to DX and will allow the project to become more standardized with Zod integration as well.

Drawbacks

The only drawback with this is that to support streaming OpenAI's response, it cannot be hosted in a serverless environment.

masnwilliams commented 1 year ago

@mckaywrigley I've got a local version of the translator built and working with tRPC. I'd love to get access to create a branch so others can try it out for themselves.