Polyglot Air is a desktop application that makes high-quality, private AI translation an instant part of your workflow.
Polyglot Air was born from a simple need: to make translation a seamless, instant part of any workflow. It eliminates the need to copy-paste text into web translators by bringing the power of large language models directly to your desktop.
By integrating with your local Ollama instance, it allows you to select any text on your screen, press a global shortcut, and have it instantly translated.
But it doesn't stop there. Polyglot Air is also a powerful writing assistant. Using simple text suffixes, you can correct grammar, change the tone of your writing, summarize long passages, and more—all with the same simple shortcut and with 100% privacy.
-
Instantly translate text between Portuguese, English, Spanish, and Chinese. Set a default target language for quick translations or specify one on-the-fly using suffixes like
::enfor English or::ptfor Portuguese. -
Enhance your text with a suite of powerful AI actions, all accessible via simple suffixes:
- Correct (
::fix): Automatically detect the language and fix grammar and spelling mistakes. - Change Tone (
::formal,::friendly): Rewrite text to be more professional, casual, or friendly. - Modify Length (
::summarize,::shorten,::expand): Get the gist of long articles, make your writing more concise, or add detail to your ideas.
- Correct (
-
All processing is done on your machine through Ollama. Your selected text, prompts, and generated content never leave your computer, ensuring complete privacy and data security.
-
Polyglot Air works across all your applications—browsers, text editors, messengers, you name it. Select text, press the shortcut, and watch the transformation happen in place.
-
A clean, modern interface with multi-language support (EN, PT, ES, ZH) and beautiful light & dark themes to match your OS preference.
A sleek and comfortable interface that adapts to your preference, whether you work during the day or at night.
The application supports both light and dark modes.
A clear and accessible tutorial explains all available suffix commands, making it easy to harness the full power of the application.
The built-in tutorial with all available actions.
- Go to the Releases page of this repository.
- Download the
.exeinstaller file for the latest version. - Run the installer and follow the instructions.
If you want to contribute or just run the project locally, follow these steps:
- Node.js (v18 or later recommended).
- Ollama installed and running.
- At least one model downloaded (e.g.,
ollama pull gemma:2b).
-
Clone the repository:
git clone https://github.com/andersondanieln/polyglot.git
-
Navigate to the project folder:
cd polyglot-air -
Install the dependencies:
npm install
-
Start the development environment:
npm run dev
This command starts the Vite server and the Electron app simultaneously with hot-reloading.
- Electron: Framework for creating desktop applications.
- React: Library for building the user interface.
- Vite: Frontend build tool for a fast development experience.
- TypeScript: For type safety and robust code.
- Node.js: Powers the backend logic in the Electron main process.
- CSS Modules: For scoped and conflict-free styling.
- Electron-Store: To persist user settings.
- @nut-tree/nut-js: For native keyboard simulation.
This software is provided under a custom license.
-
Permitted Use: You are granted a free, perpetual, non-exclusive license to use, copy, modify, and distribute this software for personal and non-commercial purposes only.
-
Commercial Use: Any use of this software for commercial purposes is strictly prohibited without prior written permission. Commercial purposes include, but are not limited to, integrating it into a paid product, using it for business operations in a corporate environment, or reselling it.
-
Liability: The software is provided "as-is", without any warranty. The author is not liable for any damages arising from its use.
To request a commercial license, please contact the author at [email protected].
Made with ❤️ by AnderCoder (Anderson Nascimento)
