GitHunt
0X

0xMMA/KeyLint

Fix text instantly with AI — one hotkey, perfect writing. Supports OpenAI, Anthropic, Ollama, AWS Bedrock.

KeyLint

Build Linux
GitHub release (latest by date including pre-releases)
GitHub all releases
License: MIT + Commons Clause

Fix text instantly with AI — one hotkey, perfect writing.

Perfect for professional emails, chat messages, documents, and social media posts. No more copy-pasting between tools — KeyLint fixes your text instantly, wherever you're typing.

How It Works

  1. Select text in any app
  2. Press Ctrl+G
  3. Fixed. Your text is corrected and written back — no window, no interruption.

Features

Feature Description
Silent Fix Press the hotkey — clipboard text is fixed and written back. No window, no copy-paste loop.
Deep Enhance Open the enhancement panel to rewrite for tone, brevity, or formality. Preview before replacing.
BYOK Bring your own API key. Keys stay in your OS keyring and never leave your machine.
Multilingual Detects the language and corrects without translating. English stays English, German stays German.
System Tray Lives quietly in your system tray. Uses minimal resources.
Private All API calls go through the local Go backend. No telemetry, no cloud sync, no clipboard history stored.

Supported AI Providers

  • OpenAI (GPT-4o, GPT-4, etc.)
  • Anthropic (Claude)
  • Ollama (local, fully offline)
  • AWS Bedrock (Claude, Titan, etc.)

Installation

  1. Download the latest release from keylint.io or the Releases page
  2. Run the installer
  3. Launch KeyLint — the welcome wizard walks you through choosing a provider and entering your API key
  4. Press Ctrl+G on any selected text

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

MIT + Commons Clause — see LICENSE for details.


Development

Stack

Layer Technology
Desktop runtime Wails v3 (Go)
Backend language Go 1.26
Dependency injection Wire
Frontend Angular v21
UI components PrimeNG v21 (Aura preset, orange/zinc theme)

Prerequisites

  • Go 1.26+
  • Node.js 24 LTS
  • Wails v3 CLI: go install github.com/wailsapp/wails/v3/cmd/wails3@latest
  • Linux: sudo apt install libgtk-3-dev libwebkit2gtk-4.1-dev
  • Windows cross-compilation from Linux: sudo apt install gcc-mingw-w64

Build & Run

# Hot-reload dev server (Angular + Go)
wails3 dev

# Build frontend only
cd frontend && npm run build

# Build production binary (Linux)
go build -tags production -o bin/KeyLint .

# Windows cross-compilation
GOOS=windows GOARCH=amd64 CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc \
  go build -tags production -ldflags="-w -s -H windowsgui" -o bin/KeyLint.exe .

Testing

# Frontend unit tests (Vitest)
cd frontend && npm test

# Go unit tests
go test ./internal/...

# E2E tests (requires ng serve on :4200)
npx playwright test

Wire DI Regeneration

go install github.com/google/wire/cmd/wire@latest
wire gen ./internal/app/
wails3 generate bindings

Project Structure

KeyLint/
├── main.go                         # Entry point — CLI flags, Wails app setup
├── internal/
│   ├── app/                        # Wire DI (wire.go + wire_gen.go)
│   └── features/                   # Vertical slices: settings, shortcut, clipboard, tray, enhance, welcome
├── frontend/
│   ├── src/app/
│   │   ├── core/                   # WailsService (bindings bridge), MessageBus, guards
│   │   ├── features/               # fix, text-enhancement, settings, welcome-wizard, dev-tools
│   │   └── layout/                 # Sidebar shell
│   └── bindings/                   # Auto-generated by wails3 generate bindings
├── website/                        # Landing page (GitHub Pages → keylint.io)
└── .github/workflows/
    ├── build-linux.yml             # PR/push → Linux binary artifact
    └── build-windows.yml           # Tag push → Windows .exe + draft release

CI/CD

  • Linux build — runs on every PR and push to main, uploads binary artifact
  • Windows build — runs on v* tag push, cross-compiles .exe, creates a draft GitHub release

Languages

TypeScript56.1%Go14.2%HTML12.6%JavaScript4.7%Rust3.9%SCSS3.6%NSIS3.0%CSS1.4%Shell0.5%

Contributors

Other
Created February 16, 2025
Updated March 10, 2026