This is a simple quick-start template for Chrome extension development.
Quick Start
- Clone the template
git clone git@github.com:htr3n/chrome-ext-template.git your-extension-project
-
Configure/customise your extension development project
-
Install and test the extension locally
Visit chrome://extensions
and expand "Development mode", then choose "Load unpacked" and point to your new project directory.
- Build/pack and publish
sh build.sh
Upon successful building, there is a file your-extension.crx
in the same folder that can be installed as "Pack extension" in Chrome or publish to Chrome Web Store.
Customisation Points
manifest.json
- The example
manifest.json
contains some illustrative elements, adjust them to your needs. Further information onmanifest.json
can be found at https://developer.chrome.com/extensions/manifest.
build.sh
- This is a simple build script to package the current folder (i.e. your extension) as Chrome
.crx
which is ready to be deployed/installed. Modify the extension file name w.r.t your project.