Open source
npm package
Open source · MIT

Realtime transcription without the framework lock-in.

A transport-agnostic TypeScript client for OpenAI Realtime transcription, with an optional React hooks layer.

# pnpm

pnpm add @xoxo-labs/realtime-transcribe

# npm

npm install @xoxo-labs/realtime-transcribe

One package, two layers

Use only the abstraction you need.

Framework-free core

Use the session client from plain TypeScript without pulling React into your application.

Optional React hooks

Add live transcription and voice input through a dedicated React entry point.

Transport agnostic

Work with WebRTC or WebSocket transport while keeping session behavior consistent.

Core client

import { RealtimeTranscribeClient } from
  "@xoxo-labs/realtime-transcribe";

React hooks

import { useVoiceInput } from
  "@xoxo-labs/realtime-transcribe/react";

Build with it. Inspect it. Improve it.

Published under the MIT license and developed in the open.