mirror of
https://github.com/yamadashy/repomix.git
synced 2026-10-30 12:15:07 +01:00
framework - Replace webextension-toolbox with Plasmo v0.90.5 for modern extension development - Migrate content scripts to src/contents/github.ts with Plasmo configuration - Move background script to src/background.ts - Consolidate manifest.json settings into package.json manifest section - Update build scripts to use Plasmo commands (dev, build, package) - Add support for Chrome MV3, Firefox MV3, and Edge MV3 targets - Remove deprecated webextension-toolbox dependencies - Update .gitignore for Plasmo build outputs (build/, .plasmo/) - Preserve internationalization support with assets/_locales/ - Maintain cross-browser compatibility with proper browser_specific_settings This resolves the maintenance issues with the outdated webextension-toolbox and provides a modern development environment with hot reload and TypeScript support.
Repomix Extension
A browser extension that adds a Repomix button to GitHub repository pages.
🚀 Features
- Adds a "Repomix" button to GitHub repository pages
- One-click redirect to Repomix (https://repomix.com)
- Seamlessly integrates with GitHub's UI design
- Works on Chrome, Firefox, and Edge
🛠️ Usage
- Install the browser extension
- Navigate to any GitHub repository page
- A "Repomix" button will appear in the page header action area
- Click the button to open the repository in Repomix
💻 Development
Prerequisites
- Node.js 22 or higher
Setup
# Install dependencies
npm install
# Generate icons
npm run generate-icons
# Development mode for Chrome
npm run dev chrome
# Development mode for Firefox
npm run dev firefox
# Development mode for Edge
npm run dev edge
Build
# Build for all browsers
npm run build-all
# Build for specific browsers
npm run build chrome
npm run build firefox
npm run build edge
Built files will be generated in the dist/ folder.
Manual Installation
- Run
npm run build chrometo build - Open
chrome://extensions/in Chrome - Enable "Developer mode"
- Click "Load unpacked extension"
- Select the
dist/chromefolder
📝 Technical Specifications
- Manifest V3 - Latest browser extension specification
- Content Scripts - Direct button injection into GitHub pages
- Internationalization - English and Japanese support
- Cross-browser - Chrome, Firefox, Edge support
🔒 Privacy
This extension:
- Does not collect any data
- Does not track user behavior
- Only accesses github.com
- Requires minimal permissions