This is a proof-of-concept Firefox and Chrome extension that turns Mastodon posts with links to strudel patches on strudel.tidalcycles.org, strudel.cc or the string // #strudel
into strudel repls.
As the web extension API is a web standard, it should probably also work in Chrome.
Go to latest release and download xpi file for Firefox or crx file for Chrome. Firefox should prompt you to install it. If not, try to double click it or drag and drop it onto Firefox. Probably the same in Chrome.
Currently the Firefox and Chrome versions are located in their own folders, which only really differ in their manifests and a polyfill (custom-elements.min.js
) needed in Chrome. All other files are and should remain identical. As soon as Firefox supports Manifest v3 the duplicate code can hopefully be removed.
Use web-ext or manually load the extension via about:debugging.
Follow these instructions.