This contains the source for the Kagi Search extension for Firefox and Chrome.
Get it for your browser here:
To build the extension, you will need node and npm installed.
git clone https://github.com/kagisearch/browser_extensions
or by downloading the source zip.npm i
to install adm-zip
which is used to package up the files.npm run build-firefox
or npm run build-chrome
to zip up the relevant files and output a zip file.You can also download a pre-packaged zip from our releases page.
First, obtain the source code from the release page:
Or by cloning the repo:
git clone https://github.com/kagisearch/browser_extensions
about:debugging
chrome://extensions
Load unpacked extension
Bugfixes and improvements to the extension's code are welcome!
At the time we are not accepting PRs for new features without prior approval.
You can inquire about new features or report bugs here:
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Check the recommended and required node
and npm
versions in the package.json
and .nvmrc
files.
npm ci # install dependencies
npm run watch-firefox # builds the firefox zip file and unzips it into the `built/` directory every time a file changes
npm run watch-chrome # builds the chrome zip file and unzips it into the `built/` directory every time a file changes
npm run format # formats the code
npm run test # runs the linter & formatter checks
npm run build # builds the chrome and firefox zip files in the `built/` directory
npm run build-firefox # builds the firefox zip file in the `built/` directory
npm run build-chrome # builds the chrome zip file in the `built/` directory