libretranslate-api/README.md

40 lines
693 B
Markdown
Raw Normal View History

2024-04-18 17:42:52 +02:00
# LibreTranslate API
## Your own translation API
### Install
```
2024-10-07 13:19:53 +02:00
$ git clone --recurse-submodules https://git.manalejandro.com/ale/libretranslate-api
2024-04-18 17:42:52 +02:00
$ 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-10-08 13:17:28 +02:00
### Latest docker images amd64 or latest, and arm64
2024-07-11 13:52:25 +02:00
2024-10-07 13:19:53 +02:00
Pull from manalejandro registry:
```
2024-10-08 13:17:28 +02:00
$ docker pull registry.manalejandro.com/libretranslate-api
2024-10-08 12:13:48 +02:00
$ docker pull registry.manalejandro.com/libretranslate-api:amd64
or
$ docker pull registry.manalejandro.com/libretranslate-api:arm64
2024-10-07 13:19:53 +02:00
```
2024-07-11 13:52:25 +02:00
2024-04-18 17:42:52 +02:00
### License
2024-07-11 13:52:25 +02:00
MIT