xixu-me /deeplx

Best serverless implementation of DeepLX

★ 299⑂ 77👁 4⑃ 79● 6▤ 0
TypeScriptMITCreated 2025-07-26deeplx.xi-xu.me
+0
日增长
299
stars
77
forks
4
watchers
79
prs
6
issues
0
releases

README

Renoise MCP · Renoise Skills & CLI
  Localize the script with DeepLX, then generate multilingual talking-head videos without rebuilding every edit by hand.


 DeepLX

汉语




DeepLX is a serverless translation service optimized for Cloudflare Workers. Through intelligent proxy endpoint rotation, advanced rate limiting algorithms, caching, and circuit breakers, it avoids HTTP 429 errors more effectively than traditional translation API setups while delivering lower latency. It supports both DeepL and Google Translate.


 [!NOTE]
 Unlike paid translation APIs, DeepLX is completely free to use. There are no API keys, subscription fees, or usage-based charges.

 Why DeepLX

Unlike paid translation APIs, DeepLX is completely free to use - no API keys, no subscription fees, no usage limits. Simply deploy once and enjoy unlimited translation requests without any cost concerns.

 Features & Performance Advantages

 Multi-Provider Support

- DeepL Translation (/deepl) - High-quality translation with advanced AI
- Google Translate (/google) - Wide language support and fast processing  
- Legacy Compatibility (/translate) - Backward compatible endpoint using DeepL

 Performance Advantages

DeepLX has significant improvements in performance and stability compared to the DeepL API. Here are key metric comparisons based on specific network environments:

| Metric | DeepL API | DeepLX (Pre-deployed Instance) |
|--------|-----------|-------------------------------|
| Rate Limit | 50 requests/sec | 80 requests/sec (8 req/sec × 10 proxy endpoints) |
| Average Network RTT | ~450ms | ~180ms (edge network acceleration) |
| HTTP 429 Error Rate | 10-30% | Memory + KV]
        end
        
        subgraph "Translation Services"
            QueryEngine[DeepL Query Engine]
            GoogleService[Google Translate Service]
        end
        
        subgraph "Support Systems"
            ProxyManager[Proxy Manager& Load Balancer]
            CircuitBreaker[Circuit Breaker]
            RetryLogic[Retry Logic]
            ErrorHandler[Error Handler]
        end
    end

    %% Storage Layer
    subgraph "Cloudflare Storage"
        CacheKV[(Cache KVTranslation Results)]
        RateLimitKV[(Rate Limit KVToken Buckets)]
        Analytics[(Analytics EngineMetrics & Monitoring)]
    end

    %% External Services
    subgraph "External Translation APIs"
        DeepLAPI[DeepL JSONRPC APIwww2.deepl.com]
        GoogleAPI[Google Translate APItranslate.google.com]
        XDPL[XDPL Proxy ClusterMultiple Vercel Instances]
    end

    %% Request Flow Connections
    APIClient -- Router
    Router -- CORS
    CORS -- DeepL
    CORS -- Google
    CORS -- Translate
    CORS -- Debug
    
    DeepL -- Security
    Google -- Security
    Translate -- Security
    Debug -- Security
    
    Security -- RateLimit
    RateLimit -- Cache
    
    Cache -- QueryEngine
    Cache -- GoogleService
    
    QueryEngine -- ProxyManager
    GoogleService -- GoogleAPI
    
    ProxyManager -

Top issues

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON