mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
- **TS server password** (#7/#9): add serverPassword field across database, manager, bot API, and Settings UI — allows joining password-protected servers - **YouTube audio source** (#1/#10): new YouTubeProvider using yt-dlp binary; adds -y flag in chat commands, /api/music supports platform=youtube, YouTube badge in SongCard, yt-dlp-wrap npm dependency - **Bot selector UI** (#14): selector always visible (not just when >1 bot), bigger button with border and play-state indicator; per-bot URL routing at /bot/:id with BotRedirect view; copy-link button in dropdown Closes #1, #7, #9, #10, #14 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
{
|
|
"name": "tsmusicbot",
|
|
"version": "0.1.0",
|
|
"description": "TeamSpeak music bot with NetEase Cloud Music and QQ Music support",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/index.ts",
|
|
"build": "tsc && npm run build:web",
|
|
"build:web": "cd web && npm run build",
|
|
"start": "node dist/index.js",
|
|
"play": "node dist/index.js",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@discordjs/opus": "^0.10.0",
|
|
"@honeybbq/teamspeak-client": "^0.1.0",
|
|
"@koa/router": "^15.4.0",
|
|
"@sansenjian/qq-music-api": "^2.2.9",
|
|
"axios": "^1.14.0",
|
|
"better-sqlite3": "^12.8.0",
|
|
"chalk": "^5.6.2",
|
|
"express": "^5.2.1",
|
|
"ffmpeg-static": "^5.3.0",
|
|
"koa": "^3.2.0",
|
|
"koa-bodyparser": "^4.4.1",
|
|
"koa-static": "^5.0.0",
|
|
"NeteaseCloudMusicApi": "^4.30.0",
|
|
"pino": "^10.3.1",
|
|
"ts3-nodejs-library": "^3.5.1",
|
|
"tweetnacl": "^1.0.3",
|
|
"ws": "^8.20.0",
|
|
"yt-dlp-wrap": "^2.3.12"
|
|
},
|
|
"devDependencies": {
|
|
"@types/better-sqlite3": "^7.6.13",
|
|
"@types/express": "^5.0.6",
|
|
"@types/node": "^25.5.0",
|
|
"@types/ws": "^8.18.1",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^6.0.2",
|
|
"vitest": "^4.1.2"
|
|
}
|
|
}
|