v2: watch-party Activity

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.
This commit is contained in:
4DBug committed 2026-10-27 10:00:34 -05:00
1 parent 4d900c5b56
commit 7de90b5b7c
39 files changed
+1620 -4372

No files matched your search

+3 -4
View File
@@ -1,17 +1,16 @@
{
"name": "bug-tv-discord",
"version": "0.1.0",
"version": "0.2.0",
"private": true,
"description": "Discord bot + Activity for watching bug.tv together in a voice channel",
"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": "esbuild activity/js/main.js --bundle --format=esm --target=es2022 --outfile=activity/dist/main.js",
"build:activity": "bash scripts/build-activity.sh",
"test": "node --test 'test/**/*.test.js'"
},
"dependencies": {
"discord.js": "^14.16.0",
"ws": "^8.18.0"
},
"devDependencies": {