An unlimited free Google Translate API using Puppeteer.
This service is provided to the public for educational purposes only.
Try it out:
curl 'https://t.song.work/api?text=hello&from=en&to=zh-CN'
Visit https://t.song.work/ to see more usage.
This free demo can only serve 5 concurrent requests. It does not collect any data.
-
Clone the repository
git clone https://github.com/songkeys/translateer.git
-
Build and run Dockerfile
docker build -t translateer . docker run -d -p 8999:8999 translateer
-
Clone the repository
git clone https://github.com/songkeys/translateer.git
-
Install dependencies and build
deno install
-
Run the server
deno task start
See the markdown table below:
Variable | Description | Default |
---|---|---|
PORT |
Port to listen on | 8999 |
PAGE_COUNT |
Number of browser pages to hold for speedup | 5 |
An easy-to-use Raycast extension is provided. Check songkeys/raycast-extension#Translateer for more details.