Add professional voice assistant server implementation
- FastAPI-based TTS server using Piper neural text-to-speech - Poetry for dependency management and virtual environments - OpenAI-compatible API endpoints for seamless integration - Support for multiple voice models (Ryan, Alan, Lessac) - Robust error handling and voice fallback system - Professional logging and configuration management - Docker-ready with proper Python packaging 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
36
voice-server/pyproject.toml
Normal file
36
voice-server/pyproject.toml
Normal file
@@ -0,0 +1,36 @@
|
||||
[tool.poetry]
|
||||
name = "homelab-voice-server"
|
||||
version = "0.1.0"
|
||||
description = "Local TTS server for Claude Code voice assistant using Piper"
|
||||
authors = ["Homelab <homelab@ak-homelab.duckdns.org>"]
|
||||
readme = "README.md"
|
||||
packages = [{include = "voice_server", from = "src"}]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.10"
|
||||
fastapi = "^0.115.0"
|
||||
uvicorn = {extras = ["standard"], version = "^0.30.0"}
|
||||
pydantic = "^2.10.0"
|
||||
pydantic-settings = "^2.7.0"
|
||||
python-dotenv = "^1.0.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pytest = "^8.0.0"
|
||||
httpx = "^0.26.0"
|
||||
black = "^24.0.0"
|
||||
isort = "^5.13.0"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
voice-server = "voice_server.main:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.black]
|
||||
line-length = 88
|
||||
target-version = ['py310']
|
||||
|
||||
[tool.isort]
|
||||
profile = "black"
|
||||
multi_line_output = 3
|
||||
Reference in New Issue
Block a user