Thanks for your interest in improving RAGit! This guide covers how to get set up and what we expect from contributions.
- Fork and clone the repo.
- Install prerequisites: Node 18+, Rust stable (MSVC on Windows).
npm installnpm run tauri devto run the app.
- Rust (
src-tauri/):cargo fmtandcargo clippybefore pushing. Keep commands in their domain modules (engine.rs,rag/,team.rs). Document public functions. - TypeScript/React (
src/): runnpm run build(runstsc). Follow the existing Tailwind/shadcn style. New backend commands must be wired insrc-tauri/src/lib.rsand exposed viasrc/lib/ipc.ts. - Keep changes focused; one feature/bug per PR.
- Branch from
main(e.g.feat/rerankorfix/zip-extract). - Fill out the PR template; link the relevant issue.
- Ensure
npm run buildandcargo checkpass. - Add tests or manual verification steps where reasonable.
- Use the bug report template. Include OS, hardware, model used, and steps to reproduce.
- Attach logs if possible (redact any secrets).
Be respectful and constructive. We follow the Contributor Covenant — keep discussions friendly and inclusive.
By contributing, you agree your contributions are licensed under the MIT License.