Commit Graph

17 Commits

Author SHA1 Message Date
kingston 5545564e3b ttstoy: remove server start/install commands now handled by systemd
Drop the dectalkstart, dectalkinstall, dectalkautotoggle, morshustart, and
voxstart commands along with the orphaned _start/_stop/_install helper methods
and the dectalk mode-switch auto-start path. The three TTS servers run as
independent systemd services; the stop and status commands now point at
systemctl.
2026-09-14 14:43:16 -05:00
kingston 9ca1511f82 ttstoy: decouple TTS services from the bot lifecycle
The dectalk, morshu, and vox TTS servers now run as independent systemd
services on their fixed ports (33001/33002/33003). The cog no longer spawns
or kills them: start/stop helpers became reachability checks and no-ops, the
cog_load auto-start and cog_unload teardown were removed, and the start/stop/
status commands now point at systemctl. The HTTP client calls are unchanged.
2026-09-14 14:35:53 -05:00
owen f60833b1fd docs: webui now separate service; add Grigori MiniMax alias 2026-09-14 12:23:34 -05:00
owen b40e7f6cad 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
owen 53cf544680 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
owen 6aac9bcae9 fix: trim long chatterbox voice clips to 30s on upload 2026-09-07 23:41:07 -05:00
kingston 2f1e66cef4 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 fa8c904c6f fix: update dectalk_port and morshu_port instance variables to 33001/33002 2026-06-09 11:01:11 -05:00
kingston f13b88ab82 chore: change DECTalk port to 33001, Morshu port to 33002, add AI context file 2026-06-09 10:47:06 -05:00
kingston ee3c452670 Fix post-to-discord checkbox: pass skip_post flag to bot, skip posting when unchecked 2026-06-08 03:24:20 -05:00
kingston 579c4c0a9f morshu-server: report startup errors in Discord 2026-06-06 19:56:16 -05:00
kingston 561cec8bee morshu-server: use resolved absolute paths and pass env properly 2026-06-06 19:55:17 -05:00
kingston 33aa6aba33 morshu-server: fix startup by passing env and using sys.executable 2026-06-06 19:48:27 -05:00
kingston 8513d4b96f Add morshu server start/stop/status bot commands 2026-06-05 19:09:36 -05:00
kingston 7d9c6c0edb Add standalone morshu-server, update webui to support morshu/dectalk generate 2026-06-05 19:05:00 -05:00
kingston 97475d9a5d Add 'Post to Discord' checkbox for Generate Only mode 2026-06-05 16:58:53 -05:00
kingston 6739b2d6f1 Add ttstoy cog 2026-06-05 16:41:55 -05:00