How gencaykut/github-ai-repo-toolkit works
GitHub AI Repo Toolkit is a Chrome extension that turns the active GitHub repository tab into service links and a localized analysis prompt, all generated locally in the popup. The workflow reads and validates the tab URL, builds links, then lets users copy links or the prompt, or open a selected service. The popup also supports language selection and local repository-history actions. The README documents these capabilities; unsampled source details are represented only where paths and documented behavior support them.
Main entry points: popup.js Popup controller · history.js History manager · popup.html Popup interface · repo-url.js Repository URL parser
Components 12
Popup workflow
- Popup interface
popup.html - Popup controller
popup.js - Repository URL parser
repo-url.js - Service link builder
services.js
Language support
- Localized prompt
i18n.js - Language strings
i18n.js
Repository history
- History manager
history.js
Other components
- Extension user
- Chrome tabs API
- Chrome local storage
- Browser clipboard
- Repository link services
Connections 14
- Extension user → Popup interface: opens
- Popup interface → Popup controller: loads
- Popup controller → Chrome tabs API: queries active tab
- Popup controller → Repository URL parser: parses tab URL
- Popup controller → Service link builder: builds links
- Popup controller → Localized prompt: formats prompt
- Popup controller → Language strings: reads strings
- Popup controller → History manager: manages history
- Popup controller → Chrome local storage: reads language preference
- History manager → Repository URL parser: normalizes URLs
- History manager → Chrome local storage: reads and writes history
- Popup controller → Browser clipboard: copies content
- Popup controller → Chrome tabs API: opens generated URL
- Chrome tabs API → Repository link services: navigates on request