mirror of
https://github.com/navidrome/navidrome.git
synced 2025-07-14 07:31:28 +03:00
* chore: .gitignore any navidrome binary Signed-off-by: Deluan <deluan@navidrome.org> * feat: implement internal authentication handling in middleware Signed-off-by: Deluan <deluan@navidrome.org> * feat(manager): add SubsonicRouter to Manager for API routing Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): add SubsonicAPI Host service for plugins and an example plugin Signed-off-by: Deluan <deluan@navidrome.org> * fix lint Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): refactor path handling in SubsonicAPI to extract endpoint correctly Signed-off-by: Deluan <deluan@navidrome.org> * docs(plugins): add SubsonicAPI service documentation to README Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): implement permission checks for SubsonicAPI service Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): enhance SubsonicAPI service initialization with atomic router handling Signed-off-by: Deluan <deluan@navidrome.org> * refactor(plugins): better encapsulated dependency injection Signed-off-by: Deluan <deluan@navidrome.org> * refactor(plugins): rename parameter in WithInternalAuth for clarity Signed-off-by: Deluan <deluan@navidrome.org> * docs(plugins): update SubsonicAPI permissions section in README for clarity and detail Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): enhance SubsonicAPI permissions output with allowed usernames and admin flag Signed-off-by: Deluan <deluan@navidrome.org> * feat(plugins): add schema reference to example plugins Signed-off-by: Deluan <deluan@navidrome.org> * remove import alias Signed-off-by: Deluan <deluan@navidrome.org> --------- Signed-off-by: Deluan <deluan@navidrome.org>
27 lines
1.2 KiB
Makefile
27 lines
1.2 KiB
Makefile
all: wikimedia coverartarchive crypto-ticker discord-rich-presence subsonicapi-demo
|
|
|
|
wikimedia: wikimedia/plugin.wasm
|
|
coverartarchive: coverartarchive/plugin.wasm
|
|
crypto-ticker: crypto-ticker/plugin.wasm
|
|
discord-rich-presence: discord-rich-presence/plugin.wasm
|
|
subsonicapi-demo: subsonicapi-demo/plugin.wasm
|
|
|
|
wikimedia/plugin.wasm: wikimedia/plugin.go
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $@ ./wikimedia
|
|
|
|
coverartarchive/plugin.wasm: coverartarchive/plugin.go
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $@ ./coverartarchive
|
|
|
|
crypto-ticker/plugin.wasm: crypto-ticker/plugin.go
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $@ ./crypto-ticker
|
|
|
|
DISCORD_RP_FILES=$(shell find discord-rich-presence -type f -name "*.go")
|
|
discord-rich-presence/plugin.wasm: $(DISCORD_RP_FILES)
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $@ ./discord-rich-presence/...
|
|
|
|
subsonicapi-demo/plugin.wasm: subsonicapi-demo/plugin.go
|
|
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $@ ./subsonicapi-demo
|
|
|
|
clean:
|
|
rm -f wikimedia/plugin.wasm coverartarchive/plugin.wasm crypto-ticker/plugin.wasm \
|
|
discord-rich-presence/plugin.wasm subsonicapi-demo/plugin.wasm
|