TypeScript client for OpenAI's realtime voice API

by transitivebson 10/17/2024, 8:13 AMwith 1 comments

by transitivebson 10/17/2024, 8:13 AM

Why? Because OpenAI's version uses JS.. but it's 2024 and every JS/TS dev expects typing to "just work" – especially for APIs released by multi-billion-dollar companies.

• strongly-typed, drop-in replacement for OpenAI's JS version

• all events and handlers are properly typed

• lots of subtle bug fixes (strong typing FTW!)

• includes a simple relay server

• includes several node.js examples

• includes OpenAI's realtime console demo

• 100% open source

Would love feedback from the HN JS/TS community && thanks!