Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

464 B
Raw Blame
import { createReactiveLocalFlag } from "./reactiveLocalFlag.ts";

// Written by useUsage after each usage fetch; read by surfaces that gate on
// subscription without paying a usage fetch (e.g. the note share affordance).
const flag = createReactiveLocalFlag("isSubscribed");

export const readIsSubscribed = flag.read;
export const writeIsSubscribed = flag.write;
export const clearIsSubscribed = flag.clear;
export const subscribeIsSubscribed = flag.subscribe;