## Contributing Guidelines ## Assets - [kutt.it API](https://github.com/thedevs-network/kutt#api) is used to retreive shortened URLs. ## Development - `npm install` to install dependencies. - To watch file changes in developement - Chrome - `npm run dev:chrome` - Firefox - `npm run dev:firefox` (Reload Extension Manually in the browser) - Load extension in browser - ### Chrome - Go to the browser address bar and type `chrome://extensions` - Check the `Developer Mode` button to enable it. - Click on the `Load Unpacked Extension…` button. - Select your extension’s extracted directory. - ### Firefox - Load the Add-on via `about:debugging` as temporary Add-on. - Choose the `manifest.json` file in the extracted directory - Generate an API Key from `https://kutt.it/` (Settings page) - Paste and Save the `Key` in extension's `options page`. `npm run build` builds the extension for all the browsers to `extension/(browser)` directory respectively. ## Testing Download latest `Release` [Direct download](https://github.com/thedevs-network/kutt-extension/releases)
## Self-hosted Kutt - **Enable Developer Options** to use with self-hosted kutt - Save the self hosted domain in the input (eg: https://mykutt.it) - **Note**: the api endpoint is automatically appended during the api call.