server: add OpenAI compatible TTS server (chunked PCM streaming, WAV one-shot)

This commit is contained in:
Pascal
2026-06-06 12:47:10 +02:00
parent eda8b59092
commit f3cfa5cf47
16 changed files with 40571 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
# cpp-httplib: HTTP server library (no SSL, behind reverse proxy in prod)
add_library(httplib STATIC httplib.cpp)
target_include_directories(httplib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
# suppress warnings in third-party code
if(MSVC)
target_compile_options(httplib PRIVATE /w)
else()
target_compile_options(httplib PRIVATE -w)
endif()
if(WIN32)
target_link_libraries(httplib PRIVATE ws2_32)
endif()