chatfaucet
v0.3.9
Published
CLI for Chat Faucet — your ChatGPT plan as an OpenAI-compatible Responses API.
Downloads
103
Maintainers
Readme
Chat Faucet
CLI for chatfaucet.com, which exposes your ChatGPT plan as an OpenAI-compatible Responses API.
Usage
Requires Node 18+ (or Bun).
npx chatfaucet login
npx chatfaucet envAfter login, use the printed exports with OpenAI-compatible SDKs and tools:
export OPENAI_API_KEY="chf_..."
export OPENAI_BASE_URL="https://chatfaucet.com/v1"login opens browser sign-in the first time. After that, if ~/.chatfaucet.json contains a valid key, it reuses that local login and skips the browser.
login also prints a one-time Sign-in link:. Open it in a browser to view the dashboard already signed in; it expires after 15 minutes and can be used once.
Bun users can swap npx for bunx:
bunx chatfaucet loginCommands
chatfaucet login [--name <label>] [--force]
chatfaucet env
chatfaucet keys
chatfaucet keys create [--name <label>]
chatfaucet logout
chatfaucet delete-account --yes
chatfaucet --helpEnvironment
CHATFAUCET_HOSToverrides the gateway host.CHATFAUCET_API_KEYandCHATFAUCET_BASE_URLcan be used for headless API-key commands.
