Files
kutt-extension/CONTRIBUTING.md
2019-01-13 19:54:11 +05:30

1.9 KiB
Raw Blame History

Contributing Guidelines

Assets

Development

  • npm install to install dependencies.

  • To watch file changes in developement

    • Chrome
      • npm run dev-chrome
    • Firefox
      • npm run dev-firefox
    • Opera
      • npm run dev-opera

    (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 extensions extracted directory.

    • Firefox

      • Load the Add-on via about:debugging as temporary Add-on.

      • Choose the manifest.json file in the extracted directory

    • Opera

      • Load the extension via opera:extensions

      • Check the Developer Mode and load as unpacked from extensions 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

ToDo

  • Switch to Promise return Method
  • Fix UI issues in Firefox
  • Using Node-Kutt package(feature request)

Note:

Shortening might take a while, it's not the issue with the extension but with Kutt.it's API.