Post

LibreTranslate

Free and Open Source Machine Translation API, entirely self-hosted. Unlike other APIs, it doesn't rely on proprietary providers such as Google or Azure to perform translations. Instead, its translation engine is powered by the open source Argos Translate library.

LibreTranslate

Installation

Default install:

1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/libretranslate.sh)"
CPU: 2 cores RAM: 2048 MB Disk: 20 GB OS: Debian 13

Configuration

Config file:

1
/opt/libretranslate/.env

Notes

During the installation, application will download language models used for translation. Depending on how fast your internet/host is, this can take 5-10 minutes.
At every boot of LXC, application will look for updates for language models installed. This can prolong the startup of the LXC.

Web Interface

Port: 5000

This post is licensed under CC BY 4.0 by the author.