Use AI-powered websites without ever pasting your own API key into them.
Approve or deny a website's request to use a specific AI provider and model.
Add AIPocket support to a web app using the @aipocket/connect-modal package.
Set per-session request limits to cap how much a website can use your API key.
| sfzxc/aipocket | 0xbebis/hyperpay | alfredxw/nova | |
|---|---|---|---|
| Stars | 14 | 14 | 14 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 3/5 | 5/5 | 3/5 |
| Audience | developer | developer | writer |
Figures from each repo's GitHub metadata at analysis time.
Requires building the extension with npm and loading it unpacked into Chrome's developer mode.
AIPocket is a Chrome browser extension that stores AI API keys inside the browser rather than giving them to websites. Many AI-powered web tools ask users to paste in their own API keys, which means handing long-lived credentials to a third-party website. AIPocket sits between the website and the AI provider, so the website gets access to AI responses without ever seeing the underlying key. The extension works by letting websites request permission to use AI through a pop-up approval screen. When a website wants access, the user sees which provider and which specific models are being requested, and can approve or deny it. Approved sessions are scoped to a specific origin, provider, and set of models, and can have a per-session request limit. The website receives streamed AI output through the extension while the API key stays inside it. Supported providers include OpenAI-compatible APIs, Anthropic-compatible APIs, OpenRouter, and Gemini. Adding a provider means opening the extension popup, entering a name and API key, optionally adding an endpoint URL, and saving. Optional per-session request caps can be set at the same time. For web developers who want to add AIPocket support to their sites, the project provides an npm package called @aipocket/connect-modal. A website imports the package, calls a connect function specifying a provider and a list of allowed models, and then streams responses through the approved session. The repository also includes a demo web application showing a basic chat interface that connects through the extension. The project is structured as a monorepo containing the Chrome extension itself, the demo website, the integration package, and shared protocol types. It is written in TypeScript and licensed under Apache 2.0. The project is working toward a v0.1.0 public release on the Chrome Web Store.
A Chrome extension that stores your AI API keys locally and lets websites use them through approved, scoped sessions instead of ever seeing the actual key.
Mainly TypeScript. The stack also includes TypeScript, Chrome Extension.
Use freely for any purpose, including commercial use, as long as you keep the copyright and license notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.