This is a submission for the Cloudflare AI Challenge.
babel_fish is a real time language translation app built with Cloudflare, Svelte, and multiple language models. The app allows you to share a room with your friends in different languages. All messages get translated to your chosen language in real time!
This repo contains the Svelte frontend which includes API routes for interacting with the AI. The chat engine is handled by the backend.
Built with:
Note:
wrangler
is used to run the dev server so we have access to Cloudflare Workers AI
Create an .env
file and fill in the variables
cp .env.example .env
Clone the frontend
git clone https://github.com/amorriscode/babel-fish
Install dependencies
npm install
Run the wrangler dev server
npm run wdev