A simple music visualiser for SoundCloud® tracks using WebGL, Svelte & Typescript.
To see it in action, go here, enter a link like this one from SoundCloud®, and hit the plus button!
...then start the dev server Rollup + Express:
npm run dev
Navigate to localhost:8081. You should see Vizl running. Edit a component file in src
, save it, and reload the page to see your changes.
If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code. If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.
To create an optimised version of the app:
npm run build
You can run the newly built app with npm run start
. This uses Express to serve the built Svelte app.
To run this on fly.io:
flyctl secrets set SOUNDCLOUD_CLIENT_ID=<SOUNDCLOUD-CLIENT-ID>
flyctl secrets set SOUNDCLOUD_CLIENT_SECRET=<SOUNDCLOUD-CLIENT-SECRET>
flyctl deploy
This app was originally written in plain Javascript with jQuery. There's a legacy unmaintained branch with said legacy code here.