UNPKG

nwhisper

Version:

Native Node.js bindings for OpenAI's Whisper using whisper.cpp. High-performance local speech-to-text with custom model support.

13 lines (8 loc) 305 B
set(TARGET whisper-server) add_executable(${TARGET} server.cpp httplib.h) include(DefaultTargetOptions) target_link_libraries(${TARGET} PRIVATE common json_cpp whisper ${CMAKE_THREAD_LIBS_INIT}) if (WIN32) target_link_libraries(${TARGET} PRIVATE ws2_32) endif() install(TARGETS ${TARGET} RUNTIME)