https://github.com/amorriscode/babel-fish
A real time translation app
https://github.com/amorriscode/babel-fish
ai cloudflare svelte
Last synced: 8 months ago
JSON representation
A real time translation app
- Host: GitHub
- URL: https://github.com/amorriscode/babel-fish
- Owner: amorriscode
- License: mit
- Created: 2024-04-13T14:48:46.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T21:30:24.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T16:58:04.951Z (almost 2 years ago)
- Topics: ai, cloudflare, svelte
- Language: Svelte
- Homepage: https://trybabelfish.com
- Size: 103 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# babel_fish <><
> *This is a submission for the [Cloudflare AI Challenge](https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99).*
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](https://github.com/amorriscode/babel-fish-ws).
Built with:
- 💅 Svelte
- ⚙️ Cloudflare Workers
- 🤖 Cloudflare Workers AI
- 📣 ElevenLabs
## 🚧 Requirements
- An [ElevenLabs](https://elevenlabs.io/) API key
- A running version of [the backend](https://github.com/amorriscode/babel-fish-ws)
## 🛠️ Development
> Note: `wrangler` is used to run the dev server so we have access to Cloudflare Workers AI
1. Create an `.env` file and fill in the variables
`cp .env.example .env`
2. Clone the frontend
`git clone https://github.com/amorriscode/babel-fish`
3. Install dependencies
`npm install`
4. Run the wrangler dev server
`npm run wdev`