Files
javis_bot/bot/package.json
javis-bot 5137fdeaf7
Some checks failed
Release / build-windows (push) Blocked by required conditions
Release / build-macos (arm64, macos-latest) (push) Blocked by required conditions
Release / build-macos (x64, macos-15-intel) (push) Blocked by required conditions
Release / release-main (push) Blocked by required conditions
Release / release-develop (push) Blocked by required conditions
Release / semantic-release (push) Successful in 24s
tests / Unit tests (Linux, Python 3.11) (push) Successful in 10m1s
Release / build-linux (push) Failing after 7m35s
selfbot streaming: verified live; capture via system ffmpeg x11grab
End-to-end verified with a real burner token + voice channel: login OK, posts
to the text channel, joins voice, and Go-Live streams the host :1 desktop.

- selfbot.ts now captures the X display with the SYSTEM ffmpeg (reliable
  x11grab) and pipes it into prepareStream, instead of relying on the lib's
  bundled libav input devices (not portable). Capture process is killed on stop.
- package.json: trustedDependencies (node-av, @lng2004/node-datachannel) so the
  native streaming deps build automatically on bun install (incl. Docker).
- Dropped the unused nvenc path (the lib's exported `nvenc` is undefined at
  runtime); software H264 encode for now.
2026-06-10 10:38:28 +09:00

36 lines
912 B
JSON

{
"name": "javis-bot",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Discord-native voice/video front-end for the Jarvis brain (bun + discord.js)",
"scripts": {
"start": "bun run src/index.ts",
"register": "bun run src/register-commands.ts",
"token": "bun run src/get-token.ts",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@discordjs/voice": "^0.18.0",
"discord.js": "^14.16.3",
"dotenv": "^16.4.5",
"libsodium-wrappers": "^0.7.15",
"opusscript": "^0.1.1",
"prism-media": "^1.3.5",
"qrcode": "^1.5.4"
},
"optionalDependencies": {
"@dank074/discord-video-stream": "^6.0.0",
"discord.js-selfbot-v13": "^3.7.1"
},
"devDependencies": {
"@types/node": "^22.7.0",
"@types/qrcode": "^1.5.6",
"typescript": "^5.6.3"
},
"trustedDependencies": [
"@lng2004/node-datachannel",
"node-av"
]
}