libretranslate-api/README.md

28 lines
403 B
Markdown
Raw Normal View History

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"
```
### License
MIT