An open API service indexing awesome lists of open source software.

https://github.com/dbeley/multi-translate

A simple website to translate text into several languages.
https://github.com/dbeley/multi-translate

Last synced: 9 months ago
JSON representation

A simple website to translate text into several languages.

Awesome Lists containing this project

README

          

# Multi Translate

A simple client-side translation app built with Vue 3 and Tailwind CSS. It uses the [DeepL](https://www.deepl.com/) API for translations. Direct calls to
DeepL from the browser are blocked by CORS, so a small Node.js proxy server is
included. The source language is set to **Auto‑Detect** by default so you can
paste any text without choosing a language first.

![screenshot](imgs/screenshot.png)

## Setup

1. Create a `.env` file (or export variables in your shell) to provide your
DeepL API configuration:

```bash
echo "API_KEY=your_key" > .env
echo "API_URL=https://api-free.deepl.com/v2" >> .env
```

2. Install dependencies and start the server:
```bash
npm install
npm start
```
The server listens on port `3000` by default and forwards requests to DeepL.

3. Open `http://localhost:3000` in your browser.

## Security Notes

The `.env` file is ignored by git so that your API key stays out of version control. Keep the file private if you include sensitive credentials.