Infrastructure
HardwareIntel N100, 8GB RAM โ dedicated agent machine
GPU hostDell XPS 8930, NVIDIA CUDA โ runs the Song Analyzer
OSWindows + WSL2 (Ubuntu) ยท Ubuntu on the GPU host
Domainmethodictruth.com
HostingCloudflare Pages โ static deploy from GitHub
API
api.methodictruth.com โ Cloudflare Tunnel to the GPU host, no open portsSSLCloudflare edge โ Universal cert, Always HTTPS
DNSCloudflare managed
Song Analyzer
ServiceFlask under gunicorn โ 4 workers, 300s timeout, systemd-managed
Ingest
yt-dlp + ffmpeg, on a residential IP โ the part a datacenter host cannot doAnalysis
librosa โ chroma, beat tracking, onset strength, RMSChordsViterbi decoding over the full template set โ maj, min, dim, aug, sus2, sus4 and sevenths. A change penalty buys stability, so a one-frame flip has to pay for leaving and returning
Lyrics
faster-whisper large-v3 on CUDA, int8_float16. Runs as its own process so torch and CUDA stay out of the analyzer's dependency treeStreamingNDJSON over a held connection โ transcription outlives Cloudflare's 100s proxy ceiling, so progress arrives instead of a timeout
PracticeA/B looping, and pitch shift rendered on demand with
asetrate/atempo โ present in every ffmpeg build, unlike rubberbandCachingResults and audio cached on disk; a video's audio never changes, so it is served
immutable and repeat plays come from the Cloudflare edge rather than a workerThe whole thing exists because this analysis needs ffmpeg, real CPU time and a GPU โ none of which a Cloudflare Worker has. So the site stays static at the edge and reaches back to one machine at home for the parts that cannot live there.
Agent Layer
RuntimeOpenClaw โ agentic AI framework
ModelClaude Opus 4 (Anthropic)
Identity
SOUL.md โ personality loaded every sessionMemory
MEMORY.md (long-term) + daily logs (raw journal)ChannelsTelegram, webchat
Development
FrontendVanilla HTML / CSS / JS โ zero frameworks
AudioTone.js + Web Audio API
RealtimeFirebase (signaling, feedback, analytics)
VideoPeerJS / WebRTC (peer-to-peer)
VCSGit + GitHub โ
dev โ review โ main โ liveDeployPush to main โ Cloudflare auto-builds
No build step. No deploy pipeline. No framework overhead. The agent writes, commits, and presents. The human reviews and ships. Rollback is a git revert away.