libretranslate-api/README.md
ale ad7630dd3e
Some checks reported errors
continuous-integration/drone/push Build was killed
build-arm64
2024-10-08 13:17:28 +02:00

40 lines
693 B
Markdown

# LibreTranslate API
## Your own translation API
### Install
```
$ git clone --recurse-submodules https://git.manalejandro.com/ale/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"
```
### Latest docker images amd64 or latest, and arm64
Pull from manalejandro registry:
```
$ docker pull registry.manalejandro.com/libretranslate-api
$ docker pull registry.manalejandro.com/libretranslate-api:amd64
or
$ docker pull registry.manalejandro.com/libretranslate-api:arm64
```
### License
MIT