selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Self-host SimplyTranslate

Privacy-friendly frontend for several translation engines

ReleaseOpen Source
Docker ComposeCompose file & guide
docker compose up
Updated5 months ago
Setup difficultyEasy
Port
5000 (HTTP web UI and JSON API, set via ADDRESS=0.0.0.0:5000)

What is SimplyTranslate?

SimplyTranslate is a small web application that puts machine translation services behind your own domain instead of sending visitors to them directly. It offers Google Translate, iCIBA and Reverso as selectable engines, each with its own source and target language lists, automatic source-language detection, a swap-languages action and text-to-speech playback of the original text and the result. Selected engine and languages are remembered in browser cookies, and a JSON API (/api/translate, /api/source_languages, /api/target_languages, /api/tts) answers outside callers with permissive CORS headers. To self-host it, clone the repo and run docker compose up, which builds the included Dockerfile and serves the app on port 5000; a second compose file exposes a UNIX socket instead for a reverse proxy. It started life as a Python project by metalune and fattalion, was rewritten in Go by fattalion, and is now maintained by ManeraKai. There are no tagged releases, so plan on running the main branch.

SimplyTranslate alternatives

Should you self-host SimplyTranslate?

SimplyTranslate scores 48/100 on selfhost.directory (how scoring works) and ranks #9 of 11 in Translation.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting.

Its closest alternative on selfhost.directory is LibreTranslate (79/100, 17 750 stars). It scores higher overall, so compare the two before you pick. See SimplyTranslate vs LibreTranslate side by side.

Features

  • Automatic source language detection
  • Cookie-based preferences
  • Engine and language selection
  • Language swap
  • Multiple translation engines
  • REST API
  • Text-to-Speech
  • Unix socket listening

How to install SimplyTranslate

Install SimplyTranslate with Docker Compose

Environment variables
ADDRESS, LISTEN_UNIX, GOOGLETRANSLATE_ENABLE, ICIBA_ENABLE, REVERSO_ENABLE
docker compose up

Then open http://127.0.0.1:5000

Builds the repo's Dockerfile; docker-compose.unix.yml exposes a UNIX socket instead.

How to configure SimplyTranslate

  • ADDRESS:5000TCP address the web server listens on; the compose file sets 0.0.0.0:5000 and the code falls back to :5000 when unset.

    values: host:port

  • GOOGLETRANSLATE_ENABLEtrueEnvironment flag set in the shipped docker-compose files for the Google Translate engine.

    values: true

  • ICIBA_ENABLEtrueEnvironment flag set in the shipped docker-compose files for the iCIBA engine.

    values: true

  • REVERSO_ENABLEtrueEnvironment flag set in the shipped docker-compose files for the Reverso engine.

    values: true

  • LISTEN_UNIXWhen set to true the app listens on ./sockets/simplytranslate.sock instead of TCP/IP.

    values: true

More in Translation

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…