Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content

LibreTranslate

10 Topics 85 Posts
  • LibreTranslate - Package Updates

    Pinned
    27
    4 Votes
    27 Posts
    3k Views
    Package UpdatesP
    [2.2.0] Update base image to 5.0.0
  • Lock libretranslate to only users with api keys

    11
    1
    1 Votes
    11 Posts
    193 Views
    visampV
    According to folks on their forum, there's another step to lock down: https://community.libretranslate.com/t/locking-down-api-key-on-self-hosted-through-cloudron/1767/2 We may need to update the docs here on cloudron: To configure requirement for api key to use, set --req-limit to 0 and add the --api-keys flag. Requests made without a proper api key will be rejected.
  • How to create API key?

    Solved
    6
    1 Votes
    6 Posts
    1k Views
    nebulonN
    Ah thanks for the hint, the latest package uses virtual env now, so we had to update the docs to initialize the python venv with source /app/code/.venv/bin/activate. The docs are now fixed https://docs.cloudron.io/apps/libretranslate/
  • LibreTranslate: How much DeepL is ahead

    2
    2 Votes
    2 Posts
    1k Views
    timconsidineT
    Interesting comparison
  • Healtheck error and logs broken

    Solved
    15
    1
    0 Votes
    15 Posts
    2k Views
    W
    Sounds good, let's close it. Thank you.
  • WARNING:waitress.queue:Task queue depth is 1

    Solved
    3
    1 Votes
    3 Posts
    2k Views
    W
    Yep, warning disappears with setting this environment variable.
  • Libretranslate integration for Nextcloud

    1
    2 Votes
    1 Posts
    465 Views
    No one has replied
  • Adding a login page possible?

    Solved
    5
    0 Votes
    5 Posts
    350 Views
    girishG
    Oh indeed, my entire answer is wrong (thanks @necrevistonnezr ). You have to set LT_REQUIRE_API_KEY_ORIGIN=true in the configs - https://docs.cloudron.io/apps/libretranslate/#api .
  • LibreTranslate with Cloudron Mastodon Server

    9
    2 Votes
    9 Posts
    1k Views
    nichu42N
    @nebulon I think Mastodon's translate button only appears if the poster has set a language for his / hear toot that's different from your language settings. It could be that the LT API relies on the source and destination language settings that are submitted by Mastodon. That could be an explanation for the errors I received, b/c not everyone sets the language correct. Maybe the DeepL API is more flexible here.
  • Self-Host LibreTranslate Compact Version on Cloudron

    6
    1
    2 Votes
    6 Posts
    1k Views
    nebulonN
    @LoudLemur that is indeed strange, Cloudron only reports a running state if the healthcheck succeeds which for libretranslate means that the api and frontend server is up and running.