Artificial Intelligence
LibreTranslate — your translation API on a VPS: Arabic, French, English, Spanish, API keys and a web interface, with no third-party service.
LibreTranslate is an open-source machine translation API (AGPL-3.0 licensed), built on the offline models of Argos Translate. It runs entirely on your VPS: the texts your applications send for translation never leave your server, and there is no per-character bill.
The ServOrbit installation loads four languages — Arabic, French, English and Spanish — and locks the instance by default: every request, web interface included, requires an API key. Your applications call a simple JSON API (/translate, /detect, /languages), also translate files (docx, pdf, srt, html…), and you create one key per application, each with its own request limit. It is the building block for a multilingual website or SaaS, multilingual customer support or document pre-processing.
What gets installed
Translate product pages, notifications or user-generated content on the fly between Arabic, French, English and Spanish, from your Laravel, Node.js or Python backend.
Plug the API into your ticketing or chat tool: the message language is detected, it is translated for the agent, and the reply goes back in the customer's language.
Contracts, HR files or medical records are translated on your own server, without handing them to an online service — useful when confidentiality or data location matters.
Guide
Order an Ubuntu 24.04 VPS with 2 GB of RAM and 2 vCPUs (4 GB if several applications translate in parallel). LibreTranslate requires a domain: your applications call it over HTTPS, with an API key, on a stable name. It opens on a subdomain of one of your domains, or on the VPS's free subdomain (libretranslate.{dns_slug}.servorbit-dns.com), HTTPS included. No need to buy a domain name.
In your client area, select LibreTranslate, choose the address and click Install. The script deploys the official image, generates your API key, locks the instance against any request without a key and sets up the nginx reverse proxy over HTTPS. On first start, the models for the four languages (about 750 MB) are downloaded: allow a few minutes.
Open https://your-domain, click the key icon ("Set API Key") at the top of the page and paste the key shown in your client area: the web interface then translates your texts and files. There is no account and no password, the key is the only access — keep it in a password manager.
Send a JSON POST to /translate with the text, the source language (or "auto"), the target language and the key:
`bash
curl -s https://your-domain/translate -H "Content-Type: application/json" -d '{"q":"Hello","source":"en","target":"ar","api_key":"YOUR_KEY"}'`
The response contains translatedText. /languages lists the available pairs and /detect returns the language of a text.
Give each application its own key, so you can revoke it without touching the others. On the VPS, over SSH:
`bash
docker exec -it $(docker ps -qf label=com.docker.compose.service=libretranslate) ./venv/bin/ltmanage keys add 60
The command prints the new key, limited to 60 requests per minute; ltmanage keys lists the keys and ltmanage keys remove <key>` removes one.
Frequently asked questions
Run open-source LLMs locally via a dead-simple API. Pull Llama 3, Mistral, Qwen or DeepSeek in one command — OpenAI-compatible, zero per-token cost.
Artificial IntelligenceOpen-source self-hosted audio transcription API: convert your recordings into timestamped text via REST, with full privacy on your own VPS.
Artificial IntelligenceSelf-hosted OpenAI-compatible API gateway for 100+ LLMs — route between Ollama, Anthropic, Azure and more from a single endpoint, with per-key rate limits and spend tracking.
Browse our help center and FAQ, or reach our team — callback, WhatsApp or email.
Message us on WhatsAppopens in a new tab