Skip to content

[TTS] Add local cached audio delivery#328

Merged
JunchenMeteor merged 1 commit into
mainfrom
dev/feature/tts-local-cache-url
Jun 21, 2026
Merged

[TTS] Add local cached audio delivery#328
JunchenMeteor merged 1 commit into
mainfrom
dev/feature/tts-local-cache-url

Conversation

@JunchenMeteor

Copy link
Copy Markdown
Owner

Summary

  • Add optional local TTS audio cache delivery for single-server deployments.
  • Store audio files on local disk with SQLite metadata, 7-day TTL, and 10GB cap.
  • Serve cached audio through authenticated/tokenized API URLs with range support.
  • Keep base64 delivery as the default for Vercel/serverless environments.

Test Plan

  • npx vitest run tests/tts-audio-cache.test.ts
  • npm test

Closes #327

@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
meteorvoice Ready Ready Preview, Comment Jun 21, 2026 10:27am

@JunchenMeteor
JunchenMeteor merged commit 0cc3731 into main Jun 21, 2026
9 checks passed
@JunchenMeteor
JunchenMeteor deleted the dev/feature/tts-local-cache-url branch July 11, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[TTS] Add local cached audio delivery

1 participant