Deploy proxied-translate-api
Self-hosted translation API with optional proxy and batch support
proxied-translate-api
Just deployed
Deploy and Host proxied-translate-api on Railway
proxied-translate-api is a lightweight self-hosted HTTP API for text translation using Google Translate, with optional proxy support. It is designed for fast deployment, minimal infrastructure, and easy customization through environment variables. No database or Redis is required.
Why Deploy proxied-translate-api on Railway
Railway is a good fit for proxied-translate-api because the app is stateless, simple to run, and does not require extra infrastructure. You can deploy it quickly, scale it easily, and manage configuration through Railway environment variables. This makes it a practical choice for personal tools, internal services, and lightweight production APIs.
About Hosting proxied-translate-api
This template deploys a Node.js translation API with sensible defaults so you can get started quickly. It provides REST endpoints for service information, health checks, language listing, and translation requests, including batch translation. The service can run without extra configuration, but also supports optional proxy settings, rate limits, and request size controls for more advanced use cases.
Common Use Cases
- Self-hosting a simple translation API for internal tools or side projects
- Adding translation support to websites, bots, dashboards, or automation flows
- Running a lightweight Railway service without databases or background workers
- Using optional proxy routing when direct requests are rate-limited
- Handling single and batch translation requests through one HTTP API
Dependencies for proxied-translate-api
proxied-translate-api has very few dependencies. It runs as a Node.js service and does not require a database, cache, or queue. Optional proxy configuration can be added through environment variables if needed for request routing.
Deployment Dependencies
- A Railway project created from this template
- Node.js runtime provided by Railway during build and deploy
- Optional environment variables for CORS, limits, logging, and proxy settings
- Optional proxy provider credentials if you want to route requests through a proxy
Included Endpoints
GET /GET /healthGET /languagesPOST /translate
Configuration
You can customize the deployment with these environment variables:
PORTCORS_ORIGINLOG_LEVELMAX_TEXT_LENGTHMAX_BATCH_SIZERATE_LIMIT_MAXRATE_LIMIT_WINDOW_MSPROXY_URLPROXY_PORTPROXY_USERNAMEPROXY_PASSWORDPROXY_FALLBACK
Template Content
proxied-translate-api
5rom/proxied-translate-api