Build your own
Start an extension in one command, try it on your own server, and share it.
This page is the short version. The whole guide is Build extensions: the manifest field by field, every hook, provider and component, the host API, the command line, testing, publishing, and the API reference.
Start one
npm create songstress-extension@latestIt makes a working extension to build on. The songstress package it uses gives you:
- the APIs for your extension's server code and its parts in the apps;
- a checker for your extension's manifest, and a pretend Songstress to test against;
- helpers for themes.
Your extension's server code runs in a sandbox on the server, with up to 64 MiB of memory and 30 seconds for each call.
Try it on your server
SONGSTRESS_PASSWORD='your password' npx songstress dev --server http://music.local:8090 --email you@example.comsongstress dev installs your extension on your own server, for you alone, and puts each change there as you make
it.
Check, build and pack
songstress checkchecks it the way Songstress will before it runs.songstress check --profile listingsays what a listing in the directory still needs.songstress buildbuilds it.songstress packmakes the.songstressfile people can install.
Share it
People can install it straight from your GitHub repository, or from its .songstress file. To list it in the
directory everyone sees, read the guidelines and
submit it.