Skip to content

LingarrΒ #2136

Description

@MickLesk

Name of the Script

Lingarr

Script Type

CT (LXC Container)

Does this script support arm64?

arm64 supported

πŸ“‹ Script Details

Lingarr translates subtitles in Radarr/Sonarr libraries β€” either through a self-hosted LibreTranslate or a hosted provider (DeepL, OpenAI, Anthropic, Gemini). Requested in discussion #3442.

Unlike Shoko, this one really does need the SDK. I checked whether the release ships a framework-dependent build like Shoko does β€” it does not: 1.2.4 has no assets at all, and Lingarr.Server/Dockerfile builds with mcr.microsoft.com/dotnet/sdk:10.0.

  • .NET 10 is not in Debian trixie (only 8 is), so the Microsoft repository is added via packages-microsoft-prod.deb for $(get_os_info version_id), then dotnet-sdk-10.0.
  • Two-stage build, mirroring the Dockerfile: Node 24 builds Lingarr.Client and the result is copied to Lingarr.Server/wwwroot, then dotnet publish -c Release /p:UseAppHost=false produces /opt/lingarr_app, started with dotnet Lingarr.Server.dll.
  • Build output goes to /opt/lingarr_app rather than into the source tree, so CLEAN_INSTALL on update only wipes the sources.
  • PostgreSQL via DB_CONNECTION=postgresql; upstream also supports MySQL and SQLite.
  • Note: the default SERVICE_TYPE=libretranslate points at a LIBRE_TRANSLATE_URL that does not exist yet β€” a backend must be configured before it does anything. Flagged as the first warning.
  • Note: Lingarr writes subtitle files next to the media, so the mounted library paths need write access.

Source: https://github.com/lingarr-translate/lingarr

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions