Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It is designed for researchers, engineers, and students who want to quickly unde
## What It Does ✨

- 📄 Analyze academic paper PDFs.
- 🧠 Generate structured paper summaries with DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo.
- 🧠 Generate structured paper summaries with DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi.
- 🧮 Render Markdown, tables, and LaTeX formulas clearly.
- 💻 Decide whether the paper needs core code.
- 🧭 Plan a minimal core-code blueprint before writing files.
Expand All @@ -19,7 +19,7 @@ It is designed for researchers, engineers, and students who want to quickly unde

## Core Workflow 🚀

1. Select a provider (DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo) and enter your API key in the sidebar.
1. Select a provider (DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi) and enter your API key in the sidebar.
2. Choose a model.
3. Select a paper PDF.
4. Start analysis.
Expand Down Expand Up @@ -51,6 +51,7 @@ Paper2CoreCode supports multiple OpenAI-compatible model providers:
- MiniMax: `MiniMax-M2.7`, `MiniMax-M2.7-highspeed`, `MiniMax-M2.5`, `MiniMax-M2.5-highspeed`.
- GLM: `glm-5.1`, `glm-5`, `glm-5-turbo`.
- Xiaomi MiMo: `mimo-v2.5-pro`, `mimo-v2-pro`, `mimo-v2.5`.
- Kimi: `kimi-k2.6`, `kimi-k2.5`.

API keys and model choices are stored separately for each provider in the local app user data directory. Switching providers reloads that provider's own saved key and model.

Expand All @@ -66,7 +67,7 @@ Version tags like `v0.1.3` trigger the release workflow, which builds platform p

- Electron + TypeScript
- React + Vite
- DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo APIs (OpenAI-compatible)
- DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi APIs (OpenAI-compatible)
- `pdf-parse`
- `react-markdown` + KaTeX
- `electron-builder`
Expand Down
7 changes: 4 additions & 3 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Paper2CoreCode 是一款桌面端论文阅读与最小核心代码生成工具
## 它能做什么 ✨

- 📄 分析学术论文 PDF。
- 🧠 使用 DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo 生成结构化论文总结。
- 🧠 使用 DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi 生成结构化论文总结。
- 🧮 清晰渲染 Markdown、表格和 LaTeX 公式。
- 💻 判断论文是否需要生成核心代码。
- 🧭 在写入文件前规划最小核心代码蓝图。
Expand All @@ -19,7 +19,7 @@ Paper2CoreCode 是一款桌面端论文阅读与最小核心代码生成工具

## 核心流程 🚀

1. 在侧边栏选择模型供应商(DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo)并配置 API Key。
1. 在侧边栏选择模型供应商(DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi)并配置 API Key。
2. 选择模型。
3. 选择论文 PDF。
4. 开始分析。
Expand Down Expand Up @@ -51,6 +51,7 @@ Paper2CoreCode 支持多个 OpenAI-compatible 模型供应商:
- MiniMax:`MiniMax-M2.7`、`MiniMax-M2.7-highspeed`、`MiniMax-M2.5`、`MiniMax-M2.5-highspeed`。
- GLM:`glm-5.1`、`glm-5`、`glm-5-turbo`。
- Xiaomi MiMo:`mimo-v2.5-pro`、`mimo-v2-pro`、`mimo-v2.5`。
- Kimi:`kimi-k2.6`、`kimi-k2.5`。

API Key 和模型选择会按供应商分别保存在本机应用用户数据目录中。切换供应商时,应用会重新加载该供应商自己的 API Key 和模型。

Expand All @@ -66,7 +67,7 @@ Pull Request 会通过 GitHub Actions 在 Windows、macOS 和 Linux 上运行 `n

- Electron + TypeScript
- React + Vite
- DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo APIs(OpenAI-compatible)
- DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi APIs(OpenAI-compatible)
- `pdf-parse`
- `react-markdown` + KaTeX
- `electron-builder`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "paper2corecode",
"version": "0.1.3",
"description": "Desktop app to analyze papers and extract core code with DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo",
"description": "Desktop app to analyze papers and extract core code with DeepSeek / Jiekou / MiniMax / GLM / Xiaomi MiMo / Kimi",
"author": {
"name": "lemonmindyes",
"email": "lemonmindyes@users.noreply.github.com"
Expand Down
1 change: 1 addition & 0 deletions src/main/backend/deepseekClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const PROVIDER_CONFIGS: Record<string, ProviderConfig> = {
minimax: { baseURL: 'https://api.minimaxi.com/v1' },
glm: { baseURL: 'https://open.bigmodel.cn/api/paas/v4' },
mimo: { baseURL: 'https://api.xiaomimimo.com/v1' },
kimi: { baseURL: 'https://api.moonshot.cn/v1' },
}

const JIEKOU_MODEL_CONFIGS: Record<string, JiekouModelConfig> = {
Expand Down
4 changes: 4 additions & 0 deletions src/main/backend/settingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export const PROVIDER_SETTINGS: Record<string, { defaultModel: string; models: s
defaultModel: 'mimo-v2.5-pro',
models: ['mimo-v2.5-pro', 'mimo-v2-pro', 'mimo-v2.5'],
},
kimi: {
defaultModel: 'kimi-k2.6',
models: ['kimi-k2.6', 'kimi-k2.5'],
},
}

export interface ActiveSettings {
Expand Down
8 changes: 8 additions & 0 deletions src/renderer/components/SettingsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ const PROVIDERS = [
{ value: 'mimo-v2.5', label: 'MiMo v2.5' },
],
},
{
value: 'kimi',
label: 'Kimi',
models: [
{ value: 'kimi-k2.6', label: 'Kimi K2.6' },
{ value: 'kimi-k2.5', label: 'Kimi K2.5' },
],
},
]

const sectionStyle: React.CSSProperties = {
Expand Down