kingston
e71c778f44
docs: webui now separate service; add Grigori MiniMax alias
2026-09-14 12:23:34 -05:00
kingston
7a88dba1e5
refactor: move webui out of cog, use shared-state pending queue
...
- drop bundled Flask webui (now lives in scrapyard-website TtsToy)
- _take_pending_state_updates: pop pending commands/posts + refresh user
info under cross-process lock, matching the webui-side producer
2026-09-14 11:45:47 -05:00
kingston
58acd1c001
fix: persist user guild map when login token is registered
...
user_guild_map was only written when a login token was consumed on the
webui login page. Users on stale session cookies never re-login, so
their jobs carried empty guild_id and TTS was posted to whatever global
channel happened to match instead of the server they logged in from.
Persist the guild as soon as the bot registers the token so
_resolve_guild_id() falls back to the correct login guild.
2026-09-12 22:12:21 -05:00
kingston
cb5f26f6c6
fix: route webui internal callbacks to localhost
...
The bot posts job-status updates and login-token registration to the
public webui URL (ttstoy.kingstons-scrapyard.net) with a 5s timeout.
Under load, that WAN hop times out and jobs stay stuck 'pending' even
though audio was generated. Since the webui runs as a child process of
the bot on the same host, use http://127.0.0.1:8098 for these
server-to-server callbacks instead.
2026-09-12 22:00:29 -05:00
kingston
d61bef01cd
fix: trim chatterbox voice uploads over 30s in webui
2026-09-08 00:22:47 -05:00
kingston
b81b638f17
fix: trim long chatterbox voice clips to 30s on upload
2026-09-07 23:41:07 -05:00
kingston
1427323f36
feat: add minimax mode to /api/mc/tts endpoint
2026-06-09 16:06:54 -05:00
kingston
f7be19fa27
feat: rewrite /api/mc/tts with full ttstoy pipeline
...
- SFX emoji interleaving (inline 🎉 💀 🔥 etc.)
- Voice switching via [mode|voice] tags
- Chatterbox turbo tokens ([laugh], [cough]) passthrough
- Multi-segment audio concatenation via ffmpeg
- Supports all modes: chatterbox, clone, dectalk, morshu, vox
2026-06-09 11:19:39 -05:00
kingston
a7128d0e72
fix: update chatterbox_api_url default to 192.168.0.200
2026-06-09 11:10:52 -05:00
kingston
5f756e23d1
feat: add DECTalk voice selector to webui dashboard
2026-06-09 11:09:38 -05:00
kingston
ab72310adb
feat: add VOX TTS server on port 33003 with webui integration
...
- New vox-server/server.py (HTTP API matching morshu-server pattern)
- Added voxstart/voxstop/voxstatus commands to ttstoy cog
- WebUI /api/tts/generate and /api/mc/tts now support VOX mode
- Cog_unload stops VOX server automatically
2026-06-09 11:07:59 -05:00
kingston
9a6568b52c
fix: update dectalk_port and morshu_port instance variables to 33001/33002
2026-06-09 11:01:11 -05:00
kingston
eca3a4a575
chore: change DECTalk port to 33001, Morshu port to 33002, add AI context file
2026-06-09 10:47:06 -05:00
kingston
19e705d6af
Fix post-to-discord checkbox: pass skip_post flag to bot, skip posting when unchecked
2026-06-08 03:24:20 -05:00
kingston
be982b4014
morshu-server: report startup errors in Discord
2026-06-06 19:56:16 -05:00
kingston
56aa9d371f
morshu-server: use resolved absolute paths and pass env properly
2026-06-06 19:55:17 -05:00
kingston
d212dafd6f
morshu-server: fix startup by passing env and using sys.executable
2026-06-06 19:48:27 -05:00
kingston
3da61d7214
morshu-server: add proper start script and systemd service
2026-06-06 19:45:12 -05:00
kingston
9862f59db9
Filter user-uploaded voices from /api/mc/voices
2026-06-05 21:44:08 -05:00
kingston
086b500249
Fix chatterbox URL default to 192.168.0.83:8099
2026-06-05 21:04:21 -05:00
kingston
2df834ae7c
Add /api/mc/tts and /api/mc/voices endpoints, fix login to only show own voices
2026-06-05 20:44:52 -05:00
kingston
2f6285cafa
Add /api/mc/login endpoint for Minecraft mod auth
2026-06-05 20:30:00 -05:00
kingston
7c595fa84f
Add morshu server start/stop/status bot commands
2026-06-05 19:09:36 -05:00
kingston
c40ac2cd91
Add standalone morshu-server, update webui to support morshu/dectalk generate
2026-06-05 19:05:00 -05:00
kingston
6017fab5fd
Fix voice deletion: immediate settings update and auto-clean stale voices
2026-06-05 17:17:04 -05:00
kingston
f685900626
Apply white filter only to lock emoji, not the whole button
2026-06-05 17:09:27 -05:00
kingston
512089fe2a
Move lock to left side, use lock emoji rendered white
2026-06-05 17:08:16 -05:00
kingston
5c1d1c9dbc
Restyle VC lock as attached orange button segment
2026-06-05 17:06:25 -05:00
kingston
a4960e182b
Replace emoji lock icons with Unicode symbols
2026-06-05 17:04:40 -05:00
kingston
5064912e04
Add lock toggle on Speak in VC button to prevent accidental plays
2026-06-05 17:03:57 -05:00
kingston
709617347e
Align checkbox with buttons, move status below, add download button
2026-06-05 17:01:18 -05:00
kingston
6626f1af4a
Add 'Post to Discord' checkbox for Generate Only mode
2026-06-05 16:58:53 -05:00
kingston
c991eb14b5
Allow Generate Only button for all TTS modes, not just Chatterbox
2026-06-05 16:55:16 -05:00
kingston
bc00e8fb26
Add .gitignore and remove __pycache__ from tracking
2026-06-05 16:42:44 -05:00
kingston
19654952d6
Add ttstoy cog
2026-06-05 16:41:55 -05:00