Detects when code comments and docstrings go stale compared to actual code.
Project description
GitRekt
Your codebase has a secret language. GitRekt translates it.
GitRekt is a VS Code extension that does two things: it finds places in your code where the explanations are missing or out of date, and it lets you ask plain-English questions about your entire project and get instant, accurate answers with clickable links to the exact file and line.
What can you ask GitRekt?
"Where is the database password stored?" "Which functions have no explanation?" "How does the login flow work?" "Where are HTTP requests made?" "What does the
parseRetryAfterMsfunction do?" "Which files handle user authentication?" "Where is the API key set?" "How does error handling work in this project?"
Installation
Step 1 — Install Python
Download Python from python.org. Important: During installation, tick the box that says "Add Python to PATH".
Step 2 — Install the GitRekt backend
Open a terminal (search for "Terminal" or "Command Prompt" on your computer) and run:
pip install gitrekt
Step 3 — Install the VS Code extension
- Open VS Code
- Press
Ctrl+Shift+Xto open the Extensions panel - Search for "GitRekt"
- Click Install
Note: GitRekt will try to install the Python backend automatically when it first starts. If that doesn't work, run
pip install gitrektmanually in your terminal.
Step 4 (Optional) — Install Ollama for offline AI
Ollama lets GitRekt answer questions about your code even without an internet connection.
- Download Ollama from ollama.com
- After installing, open a terminal and run:
ollama pull llama3 - GitRekt will automatically detect and use the best model you have installed
Step 5 (Optional) — Get a free NVIDIA API key
For faster, cloud-powered answers, get a free key from build.nvidia.com.
Add it to .gitrekt/config.json in your project:
{
"nvidia_api_key": "nvapi-your-key-here"
}
How it works
- Scans your project using real code analysis (no internet required, no AI needed for scanning)
- Builds a searchable map of every function, class, and file in your project
- Answers questions by finding the relevant code and explaining it in plain English
What GitRekt will never do
- Never sends your code to the internet for scanning — the drift scan runs 100% on your machine
- Never requires a paid subscription — the core features are completely free
- Never stores your code anywhere — everything stays on your computer
Usage
| Action | How |
|---|---|
| Open chat | Press Ctrl+Shift+G |
| Run a scan | Click the search icon in the GitRekt sidebar |
| Ignore an issue | Hover over it and click the 👁 button |
| Fix a missing comment | Hover over it and click the ✨ button |
| Undo a fix | Press Ctrl+Z in the file |
Setup for your project
Copy .gitrekt/config.example.json to .gitrekt/config.json and fill in your API key (optional):
{
"nvidia_api_key": "nvapi-your-key-here"
}
Never commit config.json — it's already in .gitignore.
Contributing
GitRekt is open source (MIT). Pull requests welcome.
git clone https://github.com/your-username/gitrekt
pip install -e .
Built to make every developer's codebase feel like home.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gitrekt-0.2.1.tar.gz.
File metadata
- Download URL: gitrekt-0.2.1.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
877a87038dd4a645b6d958dbab26fae37ebd0006e9fd9f23cd696209ee051cd3
|
|
| MD5 |
7e9a291cd239a08d68cd7989f9411187
|
|
| BLAKE2b-256 |
1c516b24a35469a1fe46347c7bf8c6f0b63297e213389904034af3579e8c29de
|
File details
Details for the file gitrekt-0.2.1-py3-none-any.whl.
File metadata
- Download URL: gitrekt-0.2.1-py3-none-any.whl
- Upload date:
- Size: 38.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f280a10d6b004fb314317aa5c599f2b87900692cdbb6afb3b3813bd25aa2e45a
|
|
| MD5 |
ff58896f171e85f339a60c0a3c29a3e1
|
|
| BLAKE2b-256 |
414747961b6544af5d2f3ee5a940912cac41c20beeec46580d63a469c7fd6bb0
|