Thank you for your interest in contributing! Please follow these guidelines to keep the project healthy.
# Prerequisites: Node.js ≥ 18, Rust ≥ 1.77, Tauri CLI 2.x
git clone https://github.com/PythonSmall-Q/TimeLens.git
cd TimeLens
npm install
npm run tauri:devRefer to docs/DEVELOPMENT.md for a full environment guide, debugging tips, and architecture notes.
- Fork the repository and create a feature branch from
dev:git checkout -b feat/your-feature dev - Make your changes. Keep commits focused and atomic.
- Run checks locally before pushing:
npm run lint npm run typecheck cd src-tauri && cargo check
- Open a PR targeting the
devbranch. Fill in the PR template. - A maintainer will review and merge to
dev;dev→mainmerges happen on scheduled releases.
| Scope | Rule |
|---|---|
| TypeScript / React | ESLint + Prettier (config in repo root) |
| Rust | cargo fmt + cargo clippy |
| Commit messages | Conventional Commits (feat:, fix:, docs:, chore:, refactor:) |
Run npm run format to auto-format TypeScript/JSON files.
See docs/ADD_LANGUAGE.md.
Open an issue with:
- TimeLens version
- OS and version
- Steps to reproduce
- Expected vs actual behaviour
- Logs from
Help → Open Log Directory(if applicable)
By contributing, you agree your contributions will be licensed under the MIT License.