A powerful Chrome extension built with modern web technologies to enhance your Git workflow and productivity.
git clone https://github.com/your-username/git-chrome-plugin.git
cd git-chrome-plugin
pnpm install
Start the development server:
pnpm dev
This will launch a development server at http://localhost:3000
and watch for file changes.
chrome://extensions
dist
directorychrome-plugin-dev/
βββ .gitignore # Git ignore file
βββ .vscode/ # VS Code configuration
βββ README.md # Project documentation
βββ dist/ # Build output directory
βββ package.json # Project dependencies and scripts
βββ pnpm-lock.yaml # pnpm lock file
βββ postcss.config.mjs # PostCSS configuration
βββ public/ # Static assets
βββ rsbuild.config.ts # Rsbuild configuration
βββ src/ # Source code
β βββ contentScripts/ # Content scripts (injected into web pages)
β βββ popup/ # Popup UI
β βββ serviceWorker/ # Background service worker
βββ tailwind.config.ts # Tailwind CSS configuration
βββ tsconfig.json # TypeScript configuration
The project uses Rsbuild for bundling. Key configurations in rsbuild.config.ts
:
Create a .env
file in the root directory to set environment variables:
API_URL=https://api.example.com
DEBUG=false
pnpm test
Build the extension for production:
pnpm build
This will generate optimized files in the dist
directory.
Preview the production build locally:
pnpm preview
dist
directoryContributions are welcome! Please follow these steps:
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Please read CONTRIBUTING.md for more details.
This project is licensed under the MIT License - see the LICENSE file for details.