/userscript-template

Template for userscript development.

Primary LanguageTypeScriptMIT LicenseMIT

userscript-template

speed: blazing uses badges gluten free FOSSA Status

Template for userscript development.

Usage / Setup

Start

  • Fork this repository
  • delete the CHANGELOG.md (it will be re-created by the release process)
  • replace the repository.url node in package.json
    • modify the name, description and author as well
  • modify the contents of the README.md file to your liking

Init

To install all the packages necessary run:

yarn install

Create / Code

Build

Build the development-version of the plugin with:

yarn build

# or use watch mode
yarn watch

The resulting userscript can then be found in the dist-folder.

Release

Start the release by manually by executing the release workflow in your GitHub actions. This will use the current state of the main branch to create the userscript files.

Installation

To run this script an userscript manager is required. E.g. Greasemonkey, Tampermonkey, Violentmonkey.

Install the userscript by downloading the latest release: userscript-template.user.js.

The userscript manager should install it automatically when the download is triggered. If not, check its respective docs.

License

FOSSA Status