Repository navigation
Release v2.2.0
AI Code Buddy v2.2.0 - Site-Specific System Prompts
๐ Major Feature Release - Configure different AI behavior for different websites!
๐ฏ What's New
Site-Specific System Prompts
Configure different AI behavior based on which website you're using. Perfect for tailoring the AI's expertise to your specific use case:
- Linux terminals (RPort): "You are a Linux expert. Focus on bash commands."
- DevOps portals: "Expert in C#, Java, and Azure. Focus on cloud infrastructure."
- Code review (GitHub): "You are a senior code reviewer. Focus on best practices."
- Log analysis: "You are a log analysis expert. Focus on identifying errors and patterns."
Key Features
โ Pattern Matching
- Exact domain:
rport.io - Wildcard subdomain:
*.example.com - Wildcard prefix:
*github.com - Automatic specificity-based selection (most specific wins)
โ Easy Management
- Full UI in Advanced tab
- Enable/disable with toggle switches
- Edit existing prompts with one click
- Delete with confirmation dialog
- Visual card-based interface
โ Automatic Application
- Backend automatically applies correct prompt per site
- Works with all AI providers
- Seamless integration with existing features
UI Improvements
Redesigned Footer
- Reduced from 4 cramped lines to 2 clean rows
- Larger, more readable fonts (9px base)
- GitHub icon with "Open source" link
- Better spacing and professional appearance
- No additional space required
๐ Technical Details
- 45 new comprehensive tests for site-specific prompts (All passing โ )
- 184 total tests (139 existing + 45 new) - Zero regressions โ
- New
site-prompts.jsmodule with URL pattern matching - Updated
content.jsto pass current page URL - Updated
background.jsto retrieve and apply site-specific prompts - Updated build scripts to include new module
๐ฅ Installation
From Source
- Download
ai-code-buddy-v2.2.0.zipfrom the assets below - Extract the ZIP file
- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked"
- Select the extracted folder
Using Git
git clone https://github.com/Apra-Labs/ai-code-buddy.git
cd ai-code-buddy
git checkout v2.2.0
# Load the directory as unpacked extension in Chrome๐ฎ How to Use Site-Specific Prompts
- Click the extension icon
- Go to Advanced tab
- Find "Site-Specific System Prompts" section
- Click "+ Add Site-Specific Prompt"
- Enter:
- Pattern:
*.rport.io(or your domain) - Name:
RPort Terminal(optional) - Prompt: Your custom AI behavior
- Pattern:
- Click Save
The AI will now use your custom prompt when visiting matching sites!
๐ Documentation
- Full Documentation
- CHANGELOG - Complete version history
- Security Policy
- Troubleshooting Guide
๐ Privacy & Security
- Keys stored locally - Never sent to Apra Labs servers
- Open source - Full transparency
- GDPR/CCPA compliant
- No telemetry or tracking
๐ License
- Source Code: MIT License
- Documentation: CC BY 4.0
๐ Credits
Developed by Akhil Kumar @ Apra Labs
Previous Versions: