Search code examples
javascripttampermonkey

tampermonkey best practices for sharing


I have developed a userscript for blind users that reads screen on a card-game website playing audio files and also lets user play cards using keyboard instead of mouse.

The script is now working fine on my computer but I plan on keep updating it with new features.

Initially this was designed for just 1 person, but word spread and more people from other countries are gonna use it.

My question is this: what is the recomended way to export the script into their computers? Is there any kind of "userscript store" for tampermonkey scripts where I can place the script for anyone to download and use?

I have seen tutorials explaining how to download scripts other made, but none about sharing the ones you make with others.

How are new versions managed?

I was thinking about copying the main code into my personal website and reference it as a required script so anytime I update it they get a new version, but wonder if this is the way to go.


Solution

  • You can host tampermonkey scripts on Greasyfork. You can either upload code directly or link to a file in a GitHub repository, which can be set to auto-update.

    There are many other ways/places to host tampermonky scripts, this is just what I've used recently. You can read about the other ways, here.