Add DeepSeekAI extension plugin

This commit is contained in:
Liuzx 2025-01-24 17:30:47 +08:00
parent 9a0ef34979
commit 6a1a1cd325
7 changed files with 142 additions and 0 deletions

View file

@ -159,6 +159,11 @@ English/[简体中文](https://github.com/deepseek-ai/awesome-deepseek-integrati
<td> <a href="docs/Lulu Translate/README.md"> Lulu Translate </a> </td>
<td> The plugin provides mouse selection translation, paragraph-by-paragraph comparison translation, and PDF document translation functionalities. It can utilize various translation engines, such as DeepSeek AI, Bing, GPT, Google, etc. </td>
</tr>
<tr>
<td> <img src="https://lh3.googleusercontent.com/566yOxLhUIqUVco_XWJ8kbZ4MQSQtYfnq9ByAXlZPrp66VLNY6BP_gcTho_m2WqVEpt9JSj7aG3clAdFgq9P9ohh=s120" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="docs/DeepSeekAI/README.md"> DeepSeekAI </a> </td>
<td> DeepSeekAI is an unofficial browser extension based on the DeepSeek API, providing users with an intelligent web interaction experience. By simply selecting text or using a shortcut key to pop up a window, you can get AI-driven real-time responses.</td>
</tr>
</table>
### VS Code Extensions

View file

@ -142,6 +142,11 @@
<td> <a href="docs/Lulu Translate/README_cn.md"> 欧路翻译 </a> </td>
<td> 提供鼠标划词搜索、逐段对照翻译、PDF文献翻译功能。可以使用支持 DeepSeek AI, Bing、GPT、Google等多种翻译引擎。 </td>
</tr>
<tr>
<td> <img src="https://lh3.googleusercontent.com/566yOxLhUIqUVco_XWJ8kbZ4MQSQtYfnq9ByAXlZPrp66VLNY6BP_gcTho_m2WqVEpt9JSj7aG3clAdFgq9P9ohh=s120" alt="Icon" width="64" height="auto" /> </td>
<td> <a href="docs/DeepSeekAI/README_cn.md"> DeepSeekAI </a> </td>
<td> DeepSeekAI 是一款非官方的浏览器扩展插件,基于 DeepSeek API为用户提供智能的网页交互体验。通过简单的文本选择或者直接通过快捷键弹出窗口即可获得 AI 驱动的实时响应</td>
</tr>
</table>
### VS Code 插件

66
docs/DeepSeekAI/README.md Normal file
View file

@ -0,0 +1,66 @@
# DeepSeekAI - Intelligent Web Assistant
## 📖 Introduction
DeepSeekAI is an unofficial browser extension powered by the [DeepSeek](https://deepseek.com) API, designed to enhance your web browsing experience with intelligent interactions. Through simple text selection, you can instantly receive AI-driven responses, making your web browsing more efficient and intelligent.
> **Note**: This extension is a third-party development, not an official DeepSeek product. You need your own DeepSeek API Key to use this extension.
## ✨ Core Features
### 🎯 Smart Interaction
- **Intelligent Text Analysis**: Select any text on web pages for instant AI analysis and responses
- **Multi-turn Dialogue**: Support for continuous conversation interactions
- **Quick Access**: Three ways to invoke the chat window - text selection, right-click menu, and keyboard shortcuts
- **Streaming Response**: Real-time streaming display of AI responses
- **Model Selection**: Choose between DeepSeek V3 and DeepSeek R1 models
### 💎 User Experience
- **Draggable Interface**: Freely drag and resize the chat window
- **Window Memory**: Remember chat window size and position
- **One-click Copy**: Easy copying of response content
- **Regenerate**: Support for regenerating AI responses
- **Keyboard Shortcuts**: Built-in shortcut (Ctrl/Command+Shift+D to open/close)
- **Balance Query**: Real-time API balance checking
- **User Guide**: Built-in detailed usage instructions
### 🎨 Content Display
- **Markdown Rendering**: Support for rich Markdown formatting, including code blocks, lists, and mathematical formulas (MathJax)
- **Code Highlighting**: Syntax highlighting for multiple programming languages with copy functionality
- **Multi-language Support**: UI in English/Chinese, AI responses with auto-language detection or specified language
- **Dark Mode**: Automatic dark mode support based on system preferences
## 🚀 Quick Start
### Installation
#### 1. Install from Store (Recommended)
- [Chrome Web Store](https://chromewebstore.google.com/detail/bjjobdlpgglckcmhgmmecijpfobmcpap)
- [Microsoft Edge Add-ons](Coming soon)
#### 2. Manual Installation
```bash
# Clone the repository
git clone https://github.com/DeepLifeStudio/DeepSeekAI.git
# Install dependencies
pnpm install
# Build the project
pnpm run build
```
### Configuration
1. Click the extension icon in your browser toolbar
2. Enter your DeepSeek API Key in the popup window
3. Configure language, model, and other preferences
4. Start using! You can:
- Click the popup icon after selecting text
- Right-click and select "DeepSeek AI" after text selection
- Use the shortcut Ctrl/Command+Shift+D to open the dialog window/close the session window.
![image](assets/1.png)
![image](assets/2.png)

View file

@ -0,0 +1,66 @@
# DeepSeekAI - 智能网页助手
## 📖 简介
DeepSeekAI 是一款非官方的浏览器扩展插件,基于 [DeepSeek](https://deepseek.com) API为用户提供智能的网页交互体验。通过简单的文本选择即可获得 AI 驱动的实时响应,让您的网页浏览体验更加智能和高效。
> **注意**:本扩展插件为第三方开发,非 DeepSeek 官方产品。使用本插件需要您自己的 DeepSeek API Key。
## ✨ 核心特性
### 🎯 智能交互
- **智能文本分析**: 支持网页任意文本选择,即时获取 AI 分析和回复
- **多轮对话**: 支持基础的对话功能,实现连续对话交互
- **快捷操作**: 支持文本选择、右键菜单和快捷键三种方式唤起对话窗口
- **流式响应**: AI 回复实时流式显示,提供即时反馈
- **模型选择**: 支持选择 DeepSeek V3 和 DeepSeek R1 模型
### 💎 用户体验
- **可拖拽界面**: 对话窗口支持自由拖拽和大小调整
- **窗口记忆**: 支持记住对话窗口的大小和位置
- **一键复制**: 便捷的回复内容复制功能
- **重新生成**: 支持重新生成 AI 回复
- **快捷键支持**: 内置快捷键Ctrl/Command+Shift+D 打开/关闭)
- **余额查询**: 支持实时查询 API 余额
- **使用说明**: 内置详细的使用教程
### 🎨 内容展示
- **Markdown 渲染**: 支持丰富的 Markdown 格式包括代码块、列表和数学公式MathJax
- **代码高亮**: 支持多种编程语言的语法高亮,并提供一键复制功能
- **多语言支持**: 支持中英文界面切换AI 回复支持自动语言检测或指定语言
- **暗色模式**: 根据系统偏好自动切换暗色模式
## 🚀 快速开始
### 安装方式
#### 1. 应用商店安装(推荐)
- [Chrome Web Store](https://chromewebstore.google.com/detail/bjjobdlpgglckcmhgmmecijpfobmcpap)
- [Microsoft Edge Add-ons](即将上线)
#### 2. 手动安装
```bash
# 克隆项目
git clone https://github.com/DeepLifeStudio/DeepSeekAI.git
# 安装依赖
pnpm install
# 构建项目
pnpm run build
```
### 配置说明
1. 安装完成后,点击浏览器工具栏中的扩展图标
2. 在弹出窗口中输入您的 DeepSeek API Key
3. 根据个人偏好配置语言、模型和其他选项
4. 开始使用!您可以:
- 选择网页文本后点击弹出的图标
- 选择文本后右键选择 "DeepSeek AI"
- 使用快捷键 Ctrl/Command+Shift+D 打开对话窗口/关闭会话窗口
![image](assets/1.png)
![image](assets/2.png)

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB