Skip to content

songkeys/translateer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translateer

An unlimited free Google Translate API using Puppeteer.

This service is provided to the public for educational purposes only.

Demo and Usage

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.

Self-Hosted

Option 1: Serve with Docker (Recommended)

  1. Clone the repository

    git clone https://github.com/songkeys/translateer.git
  2. Build and run Dockerfile

    docker build -t translateer .
    docker run -d -p 8999:8999 translateer

Option 2: Serve Locally

  1. Clone the repository

    git clone https://github.com/songkeys/translateer.git
  2. Install dependencies and build

    deno install
  3. Run the server

    deno task start

Environment Variables

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

Raycast Extension

An easy-to-use Raycast extension is provided. Check songkeys/raycast-extension#Translateer for more details.

raycast-extension-preview

About

An unlimited free Google Translate API using Puppeteer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •