making WEB

Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
faumaray committed 2026-07-11 00:47:52 +03:00
1 parent 7a18682b0e
commit 24fecc90f3
107 files changed
+14935 -1919

No files matched your search

+21 -1
View File
@@ -7,6 +7,8 @@
"_section": "Core Bot Settings",
"botName": "Echoion",
"commandPrefix": "!",
"_language": "Default bot language for users who haven't picked one: \"en\" or \"ru\"",
"language": "en",
"defaultVolume": 0.5,
"maxQueueSize": 100,
"_trackTimeout": "How long the engine waits (emitting silence) for a slow stream resolve before skipping the track",
@@ -46,6 +48,21 @@
"rpcBindAddress": "127.0.0.1"
},
"web": {
"_section": "Browser web interface (EchoionWeb): serves the UI, the sync-watch WebSocket (/ws), and bridges browser RPC through /rpc — only this port needs to be reachable; the RPC server can stay on 127.0.0.1.",
"enabled": false,
"port": 8080,
"_bindAddress": "Use 0.0.0.0 to allow access from other machines.",
"bindAddress": "127.0.0.1",
"webRoot": "./web",
"_rpcUrl": "RPC WebSocket URL for the browser. Empty = same-origin /rpc bridge (recommended); an absolute ws:// URL overrides.",
"rpcUrl": "",
"_publicUrl": "Public address users reach the web interface at, e.g. https://bot.example.com. When set (and the web interface is enabled), !help links to it.",
"publicUrl": "",
"_nowPlayingVideo": "Allow the Now Playing view to show the current song's video (muted, synced). Users can still disable it locally; set false to turn it off for everyone.",
"nowPlayingVideo": true
},
"sources": {
"_section": "Music source resolution chain (native paths first, proxied yt-dlp last)",
"_order": "Sources are tried in this order. innertube is the native YouTube player API; yandex is native Yandex Music; ytdlp-proxied is the proxied fallback and always works when a proxy is configured.",
@@ -112,7 +129,10 @@
"_queue": "Initial queue state on cold start (shuffleMode: off|random, repeatMode: off|all); runtime toggles are not written back",
"shuffleMode": "off",
"repeatMode": "off",
"maxHistorySize": 50
"maxHistorySize": 50,
"_voteSkip": "Votes needed to skip the current track; 0 = majority of online subscribers",
"voteSkipThreshold": 0
},
"advanced": {