mckaywrigley / ai-code-translator

Use AI to translate code from one language to another.
https://ai-code-translator.vercel.app
3.9k stars 575 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.