2024-04-18 15:42:52 +00:00
|
|
|
# LibreTranslate API
|
|
|
|
|
|
|
|
## Your own translation API
|
|
|
|
|
|
|
|
### Install
|
|
|
|
|
|
|
|
```
|
|
|
|
$ git clone --recurse-submodules https://gitlab.com/manalejandro/libretranslate-api
|
|
|
|
$ cd libretranslate-api/
|
|
|
|
$ docker compose pull libretranslate-api
|
|
|
|
$ docker compose build libretranslate
|
|
|
|
```
|
|
|
|
|
|
|
|
### Run
|
|
|
|
|
|
|
|
```
|
|
|
|
$ docker compose up -d
|
|
|
|
```
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
$ curl "http://libretranslate-api:5080/?target=es&text=help"
|
|
|
|
```
|
|
|
|
|
2024-07-11 11:52:25 +00:00
|
|
|
### Latest docker images
|
|
|
|
|
|
|
|
Pull from [gitlab.com registry](https://gitlab.com/manalejandro/libretranslate-api/container_registry/)
|
|
|
|
|
2024-04-18 15:42:52 +00:00
|
|
|
### License
|
|
|
|
|
2024-07-11 11:52:25 +00:00
|
|
|
MIT
|