Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Keyquill 预览

Keyquill 作者: R-Okauchi

Securely store LLM API keys in your browser. Use your own keys from any web app without trusting their server.

0(0 条评价)0(0 条评价)
尚无用户尚无用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
Keyquill is a Bring-Your-Own-Key (BYOK) wallet for LLM APIs. You register your OpenAI, Anthropic, Gemini, or any OpenAI-compatible API key inside the extension. Approved web apps can then stream chat completions using your key — and neither the web app nor its server ever sees the key material.

The problem

Web apps that use LLM APIs usually make you either:
- Let them store your API key on their server (trust and breach risk)
- Paste your key into localStorage (XSS risk)
- Go without AI features

Keyquill offers a fourth option: keep the key in an isolated extension process, and let web apps request completions through a narrow, user-approved channel.

How it works
  1. Click the Keyquill toolbar icon. Register a provider (OpenAI, Anthropic, Gemini, Groq, Mistral, DeepSeek, Together, Fireworks, xAI, Ollama, or any OpenAI-compatible endpoint) and paste your API key.
  2. Visit any web app that integrates the Keyquill SDK.
  3. First access triggers a consent popup showing the origin name. Approve or deny.
  4. Approved apps can call for completions. The extension's service worker contacts the provider directly over HTTPS. The web page only receives the streamed response.

Security properties
  • Keys live in browser.storage.session — ephemeral, cleared when the browser closes, inaccessible to regular web-page JavaScript.
  • Per-origin consent (MetaMask style). Every origin that uses Keyquill must be explicitly approved via a popup. Approvals are stored in browser.storage.local and can be revoked from the extension popup at any time.
  • Key registration and deletion are popup-only. Web pages cannot register, delete, or exfiltrate keys.
  • Zero telemetry. The extension opens no connections to any Keyquill-controlled server (there isn't one). Network destinations are limited to LLM providers the user has chosen.

What's new in v1.0 — policy broker

Every request is brokered through a user-owned policy before reaching the provider:
  • Model policy: allowlist / denylist / capability-only modes per key.
  • Budget caps: per-request, daily, and monthly USD ceilings; choose block / confirm / warn.
  • Privacy rules: HTTPS-only endpoints, provider allowlists, origin regex filters.
  • Capability-first API: apps declare what they need (tool use, reasoning, long context); your policy picks the actual model.
  • Consent popups for out-of-allowlist models or high-cost requests, with once/always/reject choices.
  • Audit ledger: every request recorded locally with tokens + estimated + actual cost. Filter by origin, export to CSV, 90-day retention.
  • Localized errors (English / Japanese).

Supported providers

Anything that speaks the OpenAI Chat Completions format works out of the box. Native translation is provided for the Anthropic Messages API.

Confirmed: OpenAI, Anthropic, Google Gemini, Groq, Mistral, DeepSeek, Together AI, Fireworks AI, xAI (Grok), Ollama (local), and any OpenAI-compatible endpoint.

For developers

Integrate Keyquill in your web app with the official SDK:

npm install keyquill


import { Keyquill } from "keyquill";
const quill = new Keyquill();
if (await quill.isAvailable()) {
await quill.connect();
const { completion } = await quill.chat({
messages: [{ role: "user", content: "Hello" }],
requires: ["tool_use"],
tone: "precise",
maxOutput: 1024,
});
}


v1 SDK users can keep pinning keyquill@0.3.x — the extension accepts both wire shapes.

Full documentation: https://github.com/R-Okauchi/keyquill

Links
  • Live demo: https://r-okauchi.github.io/keyquill/demo/
  • Source code (MIT): https://github.com/R-Okauchi/keyquill
  • Privacy policy: https://r-okauchi.github.io/keyquill/privacy-policy
  • Report issues: https://github.com/R-Okauchi/keyquill/issues
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

必要权限:

  • 访问您在所有网站的数据

根据开发者所述,必要的数据收集:

  • 身份验证信息
  • 个人通信
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • Copy add-on ID
版本
1.1.0
大小
2.1 MB
上次更新
1 个月前 (2026年4月27日)
相关分类
  • 网页开发
  • 隐私和安全
许可证
MIT 许可证
隐私政策
阅读此附加组件的隐私政策
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。