# xxnuo/mtranserver

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/xxnuo-mtranserver).**

4,271 stars · 263 forks · C++ · apache-2.0

## Links

- GitHub: https://github.com/xxnuo/MTranServer
- awesome-repositories: https://awesome-repositories.com/repository/xxnuo-mtranserver.md

## Description

MTranServer is a self-hosted translation server that runs entirely offline using locally stored models, processing language conversions without any internet connection or GPU hardware. It functions as a translation API emulator, mimicking the endpoints of popular translation services so that existing client software can connect without requiring configuration changes.

The server is designed for private, local deployment, packaged as a containerized backend for consistent installation across different environments. It supports multiple API protocols, making it compatible with browser translation plugins like Immersive Translate and DeepL, as well as IDE extensions for translating code comments and strings. The server can be configured entirely through command-line flags at startup, and it includes system tray integration for running as a background desktop service with a simple web UI for management.

The project covers the full workflow of offline machine translation, from serving translations via local models to integrating with browser extensions and development tools. It provides a complete self-hosted alternative to cloud-based translation APIs, keeping all data local and eliminating dependency on external services.

## Tags

### DevOps & Infrastructure

- [Translation Servers](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-infrastructure-platforms/translation-servers.md) — Runs a private translation service on your own hardware to keep data local and avoid cloud API costs or internet dependency.
- [Containerized Deployments](https://awesome-repositories.com/f/devops-infrastructure/containerized-deployments.md) — Packages the server and models into containers for consistent installation across different host machines.

### Artificial Intelligence & ML

- [Local Model Serving](https://awesome-repositories.com/f/artificial-intelligence-ml/local-model-serving.md) — Serves translations using locally stored models, eliminating the need for internet connectivity or GPU hardware.
- [Translation Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-machine-translation-frameworks/translation-servers.md) — Runs local models to convert text between languages without internet access.
- [Offline Translation Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/neural-machine-translation/offline-translation-engines.md) — Translates text between languages using local models without any internet connection, ensuring privacy and availability.
- [Translation Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/translation-engines.md) — Processes language conversions using locally stored models without requiring GPU hardware.

### Development Tools & Productivity

- [Translation API Integrations](https://awesome-repositories.com/f/development-tools-productivity/translation-api-integrations.md) — Exposes multiple API endpoints compatible with popular browser translation extensions like Immersive Translate and DeepL. ([source](https://cdn.jsdelivr.net/gh/xxnuo/mtranserver@main/README.md))

### Software Engineering & Architecture

- [API Emulators](https://awesome-repositories.com/f/software-engineering-architecture/api-emulators.md) — Mimics popular translation service APIs so existing client software connects without configuration changes.

### Web Development

- [Translation Protocol](https://awesome-repositories.com/f/web-development/api-versioning/compatibility-endpoints/translation-protocol.md) — Exposes multiple API endpoints compatible with various browser translation extensions and IDE plugins.
- [AI Translation Extensions](https://awesome-repositories.com/f/web-development/browser-extensions/ai-translation-extensions.md) — Connects browser translation extensions to a local backend for seamless, private in-page translation.
- [Translation API Endpoints](https://awesome-repositories.com/f/web-development/translation-api-endpoints.md) — Mimics popular translation service endpoints for compatibility with existing clients.

### Part of an Awesome List

- [Containerized Backends](https://awesome-repositories.com/f/awesome-lists/ai/machine-translation/containerized-backends.md) — Provides a containerized deployment for consistent installation and management of translation models across environments.
