git clone https://github.com/shauryagangrade/GCode.git
cd GCode
pip install -e .
mkdir -p ~/.gcode && cp .env.example ~/.gcode/.env
gcodeYou will need an OpenRouter API key. Copy the .env.example file to
~/.gcode/.env and fill in your OPENROUTER_API_KEY.
Open an issue using the bug report template. Include steps to reproduce, expected vs actual behavior, and environment info.
Open an issue using the feature request template.
- Fork the repo and create a branch:
git checkout -b feat/your-feature - Make your changes
- Verify:
pytest— must pass clean - Open a PR against
main
Look for issues labeled
good first issue
or help wanted —
both are reserved for contributors submitting their first PR to GCode. If
you've already had a PR merged, a bot will unassign you and close any PR that
claims them, so pick an unreserved issue instead.
- Follow PEP 8 styling guidelines.
- Write clean, readable code with descriptive variable names.
- Ensure all tests pass before opening a PR.
Install the hooks once so lint, formatting, and type checks run before every commit (they mirror the CI lint job):
uv run pre-commit installRun them on the whole tree any time with:
uv run pre-commit run --all-files- One PR per change — keep scope tight
- PR description must explain why, not just what
- Ensure any new tools or CLI commands are documented.
- AI-assisted code is welcome — provided you have reviewed and tested the output.
feat: add dark mode toggle
fix: correct timezone offset in tournament dates
docs: update quick start steps
Types: feat | fix | docs | style | refactor | perf | test | ci | chore
GitHub Issues: https://github.com/shauryagangrade/GCode/issues