ale
a08cb51cc8
Some checks reported errors
continuous-integration/drone/push Build encountered an error
39 lines
607 B
Markdown
39 lines
607 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
|
|
|
|
Pull from manalejandro registry:
|
|
|
|
```
|
|
$ docker pull registry.manalejandro.com/libretranslate-api:amd64
|
|
or
|
|
$ docker pull registry.manalejandro.com/libretranslate-api:arm64
|
|
```
|
|
|
|
### License
|
|
|
|
MIT
|