The ORLY Nostr relay framework: the native server side of musiquay. It serves
the web app (static files, /blossom/ blobs, /proxy/ media and the Nostr
WebSocket endpoint) and is where musiquay's protocols (scene graph, calendar,
roster/credits, merch, marketplace) are implemented as relay-side features.
The web app itself lives in ../musiquay (wasm bundles + docs) and is served
from its web/static directory:
make build # -> ./morly make serve # relay on 127.0.0.1:3334 serving ../musiquay/web/static make serve STATIC=/some/static PORT=8080 DATA=/var/lib/morly
make test-unit # every package carrying a *_test.mx
Configuration is by environment, all of it documented by ./morly help
(ORLY_LISTEN, ORLY_PORT, ORLY_DATA_DIR, ORLY_STATIC_DIR,
ORLY_BLOSSOM_DIR, ORLY_ACL_MODE, ...). ORLY_APP_NAME (the NIP-11 name)
defaults to ORLY, the framework's name - set it to musiquay for a
musiquay deployment.
Protocol code shared with the web app lives in ../nostr, wired in with
replace git.smesh.lol/nostr => ../nostr in moxie.mod. Relay-only packages
(the server, store, media proxy, crawler, ...) stay under pkg/ here.