Skip to content
zrumykPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

DLX Tray

A free desktop translator for Windows, in development. It is designed to translate long texts in chunks using a bundled DLX (formerly DeepLX) server.

Status: v0.9.0 packages DLX Tray as a per-user Windows installer.

Available in v0.9.0

  • Install for the current Windows user without administrator rights, with a Start menu shortcut and an optional desktop shortcut.
  • Choose English or Ukrainian in Settings and restart the app to apply the change. Language pickers and the detected language label use the chosen interface language.
  • Search saved text and file translations, reopen them in the editors, and delete individual entries or clear the history. Set how many recent translations to keep or turn off recording.
  • Open or drop a TXT, DOCX or text-based PDF file and follow translation progress across the document.
  • Save TXT as UTF-8, preserve headings, lists and tables in DOCX, and export PDF text to DOCX or TXT.
  • Split long input on text boundaries into chunks of up to 1500 UTF-16 code units and reassemble the translated chunks with their original separators.
  • Translate in side-by-side editors using the Translate button or Ctrl+Enter, and copy the result.
  • Choose languages or use Auto-detect, then swap the languages and texts.
  • See translated chunks as they finish and cancel while keeping the completed result.
  • Start and stop the bundled DLX server automatically, with startup status in the main window.
  • Fall back to the official DeepL API when DLX is rate-limited or unavailable, using your own DeepL API Free or Pro key. The status bar shows which provider is translating.
  • Retry, skip, or cancel when translation pauses on a failed chunk.
  • Set chunk size, request delay, retries, and official API formality in Settings.
  • Save, test, or remove your DeepL API key in Settings.
  • Choose Light, Dark, or Follow Windows. Theme changes apply immediately.
  • Restore the window's size, position, maximized state, and last languages when the app starts.
  • Apply development overrides and write rotating diagnostic logs.

Install

Download DLX-Tray-Setup-0.9.0.exe from the Releases page, run Setup, and open DLX Tray from Start.

Microsoft Defender SmartScreen may warn about a downloaded installer with an unfamiliar reputation. Verify that the download came from the DLX Tray Releases page before opening it.

Build from source

Requirements: Windows 10 version 1809 or later or Windows 11 x64, Python 3.12, uv.

git clone https://github.com/zrumyk/DLX-Tray.git
cd DLX-Tray
uv sync --all-groups
uv run python scripts/fetch_deeplx.py   # builds the pinned DLX binary into vendor/ on first run
uv run dlx-tray

To package the app from source, run .\scripts\build.ps1 in PowerShell. Open dist/DLX Tray/DLX Tray.exe and keep the entire dist/DLX Tray folder together when moving it.

Development commands:

uv run pytest            # tests (network tests are skipped; run them with -m live)
uv run pytest --cov      # 85% coverage gate for core, providers, services and fileio
uv run --isolated --no-dev --with pip-licenses python scripts/check_licenses.py
uv run ruff check --fix  # lint
uv run ruff format       # format
uv run pyright           # type check
uv run pre-commit install

Configuration

Copy .env.example to .env for local development. The app loads preferences from %APPDATA%\DLX Tray\settings.json and applies DLX_* development overrides. Set DLX_DEEPLX_URL and, if required, DLX_DEEPLX_TOKEN to use an external DLX server.

For official DeepL API fallback, save a key in Settings. The app stores it in Windows Credential Manager and uses changes for the next translation. For development, set DLX_DEEPL_API_KEY in the process environment or local .env before starting the app. The process environment takes precedence over .env. If the effective override is missing or blank, the app uses the stored key.

Roadmap

Version Scope
0.1.0 Project skeleton, tooling, CI (completed)
0.2.0 Chunker, DLX client and process manager, translation pipeline, local settings and logs (completed)
0.3.0 Main window: languages, progress, cancel, automatic DLX startup (completed)
0.4.0 Official DeepL API fallback, error recovery, API key storage (completed)
0.5.0 Settings, themes, saved window geometry and language selections (completed)
0.6.0 .txt / .docx / .pdf files (completed)
0.7.0 Translation history (completed)
0.8.0 Ukrainian and English UI (completed)
0.9.0 Installer and GitHub Releases (current)
1.0.0 First stable release
2.0.0 System tray icon and global hotkey to translate selected text

See CHANGELOG.md for what changed in each version.

Disclaimer

This is a personal, non-commercial project. It is not affiliated with, endorsed by or sponsored by DeepL SE. "DeepL" is a trademark of DeepL SE. DLX talks to DeepL's free web service in a way DeepL does not officially support. It may stop working at any time, it is rate limited, and using it may conflict with DeepL's terms of service. Use at your own risk.

License

MIT. DLX is distributed under its own MIT license.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages