Skip to content

How to install

Follow these steps:

  1. Install Witchcraft Chrome extension: get it here

  2. Right-click on the extension icon in the Chrome toolbar and choose “Manage extension”

    Witchcraft extension in Chrome toolbar

  3. Enable the “Allow user scripts” option

    Allow user scripts option

  4. Choose a local folder where your scripts will be stored. For instance, ~/witchcraft-scripts (create it now if it doesn’t exist yet)

  5. Start a local web server to serve that folder. You can use any web server you like, but here are some simple options:

    Terminal window
    python3 -m http.server 5743

As soon as Witchcraft is able to reach the server, the status indicator will turn green:

Witchcraft server online indicator

If it doesn’t, check that the server address is correct. Witchcraft will look for the server at http://127.0.0.1:5743. If you choose a different port (or start the server in a different machine), make sure to configure it accordingly in the extension’s settings by clicking on the Witchcraft icon in the Chrome toolbar and updating the server address field.

You can now create a script in your scripts folder and open the corresponding web page to see it in action.

If you encounter any problems, feel free to ask for help here.