The Activity is now the full bug.tv site plus a small Discord overlay. Whoever starts the instance hosts and controls everything; everyone else mirrors the host's page and playback. The server is a relay keyed by activity instance and checks membership through Discord's activity-instances API, so it works in DM and group calls. The bot gateway, slash commands and control message are gone.
21 lines
549 B
JSON
21 lines
549 B
JSON
{
|
|
"name": "bug-tv-discord",
|
|
"version": "0.2.0",
|
|
"private": true,
|
|
"description": "Discord Activity for watching bug.tv together: watch-party relay server + overlay on the bug.tv site",
|
|
"main": "src/index.js",
|
|
"engines": { "node": ">=22" },
|
|
"scripts": {
|
|
"start": "node src/index.js",
|
|
"build:activity": "bash scripts/build-activity.sh",
|
|
"test": "node --test 'test/**/*.test.js'"
|
|
},
|
|
"dependencies": {
|
|
"ws": "^8.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@discord/embedded-app-sdk": "^2.0.0",
|
|
"esbuild": "^0.24.0"
|
|
}
|
|
}
|