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 GitRekt (backend + extension in one go)
Open a terminal and run both commands:
pip install gitrekt
gitrekt install-extension
The first command installs the Python backend. The second auto-installs the VS Code extension using the code CLI.
Alternative: If
gitrekt install-extensiondoesn't work, install manually:
- Open VS Code → Press
Ctrl+Shift+X- Search for "GitRekt - Codebase Assistant"
- Click Install
Step 3 — Reload VS Code
Press Ctrl+Shift+P → type "Reload Window" → press Enter. GitRekt will start automatically.
AI Setup (Optional but Recommended)
GitRekt's scan and drift detection work 100% offline with no AI needed. But for the chat feature to give plain-English answers, you need at least one of these:
Option A — Free offline AI (Ollama)
Best for privacy. Works with no internet connection after setup.
- Download Ollama and install it
- Open a terminal and run:
ollama pull llama3
- GitRekt automatically detects and uses it — no config needed
Option B — Cloud AI (Groq, NVIDIA, Custom)
Faster responses. Requires an API key.
- Open GitRekt chat in VS Code (
Ctrl+Shift+G) - Click the ⚙️ (Settings) icon at the top right
- Paste your Groq, NVIDIA, or Custom API URL
- Click Save
Keys are stored securely in VS Code's encrypted secret storage and never saved to a file or shared anywhere.
No AI configured? GitRekt will show a banner in the chat with exact instructions. The core scan feature always works offline regardless.
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 |
| Install extension from terminal | Run gitrekt install-extension |
Contributing
GitRekt is open source (MIT). Pull requests welcome.
git clone https://github.com/Gauravguddeti/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.3.tar.gz.
File metadata
- Download URL: gitrekt-0.2.3.tar.gz
- Upload date:
- Size: 39.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a92c83e617ad51489027401b57c2a93cf0d0eb4a907935e5be002236b09d0df
|
|
| MD5 |
665aea241bf33f2c00ed246a62ac1114
|
|
| BLAKE2b-256 |
ae940ee66cf5ab8ef354c5d97188ce0ef89b934a9b5b7d8625557e3487a3ef0a
|
File details
Details for the file gitrekt-0.2.3-py3-none-any.whl.
File metadata
- Download URL: gitrekt-0.2.3-py3-none-any.whl
- Upload date:
- Size: 40.3 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 |
f1e88133a87f956c38790945f0f41b1ec023b19ebb445339d2c7aa82b0e94923
|
|
| MD5 |
e74b0c1e28091c62871664f98ebb509c
|
|
| BLAKE2b-256 |
7add3da5958c6437ffe65e2c4ce5166f768fea2b75390bf453549e57ff971d2b
|