Files
2026-06-09 18:40:21 +02:00

78 lines
2.3 KiB
Markdown

---
title: LibreTranslate
created: 2026-06-08
updated: 2026-06-08
type: app
tags: [catalogue, language, app-marathon3-rattrapage-final-b]
confidence: high
contested: false
sources: [https://selfh.st/apps/?tag=language&app=libretranslate]
---
# 🌐 LibreTranslate
> API de traduction automatique open source, alternative libre à Google Translate.
## 📋 Informations Générales
| Champ | Valeur |
| :--- | :--- |
| **Site web** | [libretranslate.com](https://libretranslate.com/) |
| **GitHub** | [LibreTranslate/LibreTranslate](https://github.com/LibreTranslate/LibreTranslate) |
| **License** | AGPL-3.0 |
| **Langage** | Python + TypeScript |
| **Étoiles GitHub** | ~8k ⭐ |
| **Catégorie** | [[cat-language|Language]] |
## 📝 Description
**LibreTranslate** expose une API REST de traduction entre dizaines de langues, en s'appuyant sur des modèles open source (Argos, OpenNMT) ou optionnellement des LLMs. Différence vs Google Translate : auto-hébergeable, aucun envoi vers des tiers, quota contrôlé localement. Pour qui : apps/web qui doivent traduire du contenu sans dépendre d'un SaaS payant.
## 🚀 Installation
### Docker Compose (recommandé)
```yaml
version: '3.8'
services:
libretranslate:
image: libretranslate/libretranslate:latest
container_name: libretranslate
restart: unless-stopped
environment:
- LT_DISABLE_WEB_UI=false
- LT_DISABLE_API=false
- LT_API_KEYS=true
volumes:
- libretranslate-data:/home/libretranslate/.local
labels:
- traefik.enable=true
- traefik.http.routers.lt.rule=Host(`translate.example.com`)
- traefik.http.routers.lt.tls.certresolver=letsencrypt
volumes:
libretranslate-data:
```
## 🔄 Alternatives
### Open Source
- [[app-argos-translate]] — Bibliothèque Python
- [[app-nllb]] — Traduction Meta NLLB
### Propriétaires
- **Google Translate API** — API Google
- **DeepL API** — API DeepL (qualité premium)
## 🔐 Sécurité
- Authentification : clé API ou JWT (optionnel)
- Limite de requêtes : configurable par IP
## 📚 Ressources
- [Documentation](https://github.com/LibreTranslate/LibreTranslate#readme)
- [GitHub](https://github.com/LibreTranslate/LibreTranslate)
## Pages Liées
- [[cat-language]] — Catégorie Language
- [[app-argostranslate]] — Bibliothèque sous-jacente
- [[recettes-docker-compose]] — Templates Docker