A developer-focused localization platform that automates translation workflows within your existing development pipeline and CI/CD processes.

At a Glance:

Languine is a self-hosted AI localization tool designed for Vercel-native deployment, using a single CLI command and serverless Postgres to manage translations across projects.

Overview:

Languine is a self-hosted, Vercel-native AI localization platform. It provides a one-click deploy flow that provisions infrastructure, a CLI for managing translations within projects, and a dashboard for monitoring. The system is built for developers who need to add and manage AI-powered localization in their codebases without configuring multiple third-party services. It uses a serverless Postgres database and the Vercel AI Gateway, authenticating automatically in production. The project includes a dedicated GitHub Action for non-interactive, CI-based translation workflows.

Key Decision Points:

  • Deployment model: Requires a one-click deploy to Vercel, which provisions all necessary infrastructure, including a forked repository and a serverless Postgres database.

  • Interaction method: Primarily managed through a self-hosted CLI (npx languine@selfhosted) and a web dashboard, with non-interactive use supported via a GitHub Action.

  • Authentication: The dashboard is gated by Vercel Deployment Protection, and a single LANGUINE_API_KEY is used for CLI, Action, and overall system access.

  • AI model flexibility: A single, configurable AI model slug is used through the Vercel AI Gateway, defaulting to openai/gpt-4.1.

Core Features:

  • One-click Vercel deploy: Automates repository forking, Vercel project creation, serverless Postgres provisioning, and database migrations.

  • Self-hosted CLI: Installed via npx languine@selfhosted, the CLI provides login and init commands to connect to a user's deployment and create translation projects.

  • Project initialization: The languine init command creates a project on the deployment through tRPC and writes the project ID to a local languine.json file.

  • GitHub Action: Offers a non-interactive method for running localization tasks, suitable for CI scripts.

  • Background job processing: Utilizes Vercel Workflows for durable, resumable, and observable background tasks.

Use Cases:

  • Developers setting up localization: For individuals or teams using Vercel who want to add AI translation capabilities to their applications with minimal setup.

  • Automated CI/CD translation workflows: For developers needing to integrate AI-powered translations non-interactively into their build or deployment pipelines via a GitHub Action.

Open-Source Alternative Value:

Languine provides a self-hosted AI localization workflow that can be deployed into a developer's own Vercel and GitHub accounts. The source code is available, allowing developers to examine the implementation of its CLI, dashboard, GitHub Action, and tRPC-based project management. It operates on infrastructure provisioned through the one-click deploy, using a serverless database and the Vercel AI Gateway, which handles AI model authentication automatically in production.

分享XLinkedInReddit

相关工具

项目数据

Stars

2,031

Forks

132

许可证

Other

元数据

替代对象
Crowdin