A lightweight AI-powered English correction desktop app that lives in your system tray.
Type bad English → Press Enter → Get corrected text instantly, copied to clipboard.
- 🔔 Runs silently in the system tray — always accessible
- ⌨️ Global shortcut
Ctrl+Shift+Spaceto open from anywhere - 🤖 Powered by Ollama + LLaMA 3.2 running 100% locally — no internet, no API key
- 📋 Auto-copies corrected text to clipboard
- ⚡ Press Enter to correct, Shift+Enter for new line
- 🌙 Clean dark UI
- 🔒 Fully offline — your text never leaves your PC
| Layer | Technology |
|---|---|
| Desktop Framework | Electron |
| UI | HTML, CSS, Vanilla JS |
| AI Engine | Ollama + LLaMA 3.2 |
| Native Addon | C++ via node-addon-api |
| Packaging | electron-builder |
- Node.js v18+
- Ollama installed and running
- Windows OS
- Visual Studio 2022 Build Tools with Desktop development with C++ workload
git clone https://github.com/yourusername/correction-machan.git
cd correction-machannpm installcd native
npm install
npx node-gyp configure build
cd ..ollama pull llama3.2npm startnpm run buildOutput will be in dist/win-unpacked/Correction Machan.exe — run it directly or create a desktop shortcut.
| Shortcut | Action |
|---|---|
Ctrl+Shift+Space |
Open / Hide the app |
Enter |
Correct the text |
Shift+Enter |
New line in input |
correction-machan/
├── main.js # Electron main process (tray, window, shortcuts)
├── renderer.js # UI logic + Ollama API calls
├── index.html # App UI
├── package.json
├── native/
│ ├── correction_machan_native.cc # C++ native addon
│ ├── binding.gyp # Build config
│ └── package.json
└── dist/ # Built output (gitignored)
- User types English text in the app
- On Enter / Correct button click, text is sent to Ollama's local REST API (
http://localhost:11434) - LLaMA 3.2 corrects the grammar and spelling
- Corrected text is displayed and auto-copied to clipboard
- Paste it anywhere!
- Ollama must be running in the background before launching the app
- Start Ollama: just open the Ollama app or run
ollama servein terminal
Prabodh — built with 🔥 and a lot of terminal errors