Thank you for your interest in contributing! Here's how to get started.
# 1. Clone and install
git clone https://github.com/asitass/Translation-Overlay.git
cd Translation-Overlay
npm install
# 2. Build and run
npm run dev
# 3. Run tests
npm test- Node.js >= 18
- npm >= 9
- Check existing issues first
- Include your OS, Node.js version, and steps to reproduce
- Attach logs from
app.log(located in the app's user data directory) if applicable
- Fork the repository
- Create a feature branch:
git checkout -b feat/your-feature - Make your changes
- Run tests:
npm test - Build to verify:
npm run build - Commit with a clear message
- Open a Pull Request
- TypeScript strict mode — no
any, useunknownwhen needed - Follow existing patterns in the codebase
- Add comments for non-obvious logic
- Keep logging detailed for debugging
- Use conventional commit format:
feat:,fix:,docs:,refactor:,test: - Keep messages concise but descriptive
src/main/services/ — Core services (OCR, translation, pipeline)
src/main/ — Electron main process
src/renderer/ — UI (overlay + settings windows)
src/shared/ — Shared types and constants
tests/ — Vitest unit tests
config/ — Default configuration
Feel free to open an issue with the "question" label.