Privacy Policy
GitMentor - GitHub Project Learning Assistant
Last updated: February 7, 2025
1. Overview
GitMentor is an AI-powered Chrome extension that helps developers understand and learn GitHub repositories. We are committed to protecting your privacy and being transparent about how we handle your data.
Key Privacy Points:
- All your data is stored locally in your browser
- We do NOT collect personal information
- We do NOT track your browsing activity
- We do NOT sell or share your data with third parties
2. Data We Store (Locally)
GitMentor stores the following data in your browser's local storage (chrome.storage.local):
- API Keys: Your AI provider API keys (e.g., OpenAI, Claude, DeepSeek). These are stored locally and only sent to your chosen AI provider.
- Language Preference: Your selected UI language (English or Chinese).
- Usage Statistics: Local token usage estimates for your reference only.
- Cached Analysis: Previously analyzed repository data to improve loading speed.
This data never leaves your browser except when making API calls to your configured AI provider.
3. Data We Access (But Don't Store)
When you use GitMentor on a GitHub page, we temporarily access:
- GitHub Page Content: Repository name, description, README, file structure, and code content visible on the current page.
- GitHub API Data: Public repository metadata (stars, forks, topics, etc.) via GitHub's public API.
This data is processed locally in your browser and sent to your AI provider for analysis. We do not store or transmit this data to any other server.
4. Third-Party Services
GitMentor integrates with the following third-party AI providers (based on your choice):
- OpenAI (ChatGPT)
- Anthropic (Claude)
- DeepSeek
- Zhipu AI (GLM-4)
- Silicon Flow
When you configure an AI provider, your repository data and code content are sent to that provider for analysis. Please review each provider's privacy policy for details on how they handle your data.
5. Permissions Explained
- storage: To save your settings and API keys locally in your browser.
- activeTab: To read the current GitHub page content for analysis.
- scripting: To inject the sidebar UI on GitHub code pages.
- host_permissions (github.com): To access GitHub pages and API.
6. Data Security
- All API keys are stored locally using Chrome's secure storage API.
- No data is transmitted to our servers (we don't have any servers).
- All API communications use HTTPS encryption.
7. Your Rights
You can:
- Delete all data: Uninstall the extension or clear extension data in Chrome settings.
- View stored data: Open Chrome DevTools > Application > Local Storage to see what's stored.
- Control API usage: Remove or change your API keys at any time in Settings.
8. Changes to This Policy
We may update this privacy policy from time to time. Any changes will be reflected on this page with an updated "Last updated" date.
隐私政策
GitMentor - GitHub 项目学习助手
最后更新:2025年2月7日
1. 概述
GitMentor 是一个 AI 驱动的 Chrome 扩展,帮助开发者理解和学习 GitHub 仓库。我们致力于保护您的隐私,并对数据处理方式保持透明。
关键隐私要点:
- 所有数据都存储在您的浏览器本地
- 我们不收集个人信息
- 我们不追踪您的浏览活动
- 我们不向第三方出售或分享您的数据
2. 我们存储的数据(本地)
GitMentor 在您浏览器的本地存储中保存以下数据(chrome.storage.local):
- API 密钥:您的 AI 提供商 API 密钥(如 OpenAI、Claude、DeepSeek)。这些密钥存储在本地,仅发送给您选择的 AI 提供商。
- 语言偏好:您选择的界面语言(英文或中文)。
- 使用统计:本地 token 使用量估算,仅供您参考。
- 缓存分析:之前分析过的仓库数据,用于提高加载速度。
除了向您配置的 AI 提供商发起 API 调用外,这些数据永远不会离开您的浏览器。
3. 我们访问的数据(不存储)
当您在 GitHub 页面上使用 GitMentor 时,我们会临时访问:
- GitHub 页面内容:仓库名称、描述、README、文件结构以及当前页面可见的代码内容。
- GitHub API 数据:通过 GitHub 公开 API 获取的公开仓库元数据(stars、forks、topics 等)。
这些数据在您的浏览器中本地处理,并发送给您的 AI 提供商进行分析。我们不会将这些数据存储或传输到任何其他服务器。
4. 第三方服务
GitMentor 集成以下第三方 AI 提供商(根据您的选择):
- OpenAI (ChatGPT)
- Anthropic (Claude)
- DeepSeek(深度求索)
- 智谱 AI (GLM-4)
- 硅基流动 (Silicon Flow)
当您配置 AI 提供商时,您的仓库数据和代码内容会发送给该提供商进行分析。请查阅各提供商的隐私政策,了解他们如何处理您的数据。
5. 权限说明
- storage:用于在浏览器本地保存您的设置和 API 密钥。
- activeTab:用于读取当前 GitHub 页面内容进行分析。
- scripting:用于在 GitHub 代码页面注入侧边栏 UI。
- host_permissions (github.com):用于访问 GitHub 页面和 API。
6. 数据安全
- 所有 API 密钥都使用 Chrome 的安全存储 API 存储在本地。
- 没有数据传输到我们的服务器(我们没有任何服务器)。
- 所有 API 通信都使用 HTTPS 加密。
7. 您的权利
您可以:
- 删除所有数据:卸载扩展或在 Chrome 设置中清除扩展数据。
- 查看存储的数据:打开 Chrome 开发者工具 > 应用程序 > 本地存储,查看存储的内容。
- 控制 API 使用:随时在设置中删除或更改您的 API 密钥。
8. 政策变更
我们可能会不时更新此隐私政策。任何变更都会在此页面上反映,并更新"最后更新"日期。