maple-pwn/paperlab 预览 preview

maple-pwn/paperlab

由DeepSeek Harness插件(dsh-plugin)驱动的Overleaf风格论文修订工作台

Project Overview项目介绍

PaperLab is an Overleaf-style paper editing and revision workbench built natively for DeepSeek Harness, with all AI logic running on DSH’s agent loop. It lets users edit LaTeX source code in a browser, view a correctly rendered PDF preview, and add revision comments by selecting text directly on the PDF. The project includes a full React frontend, FastAPI backend, and DSH bundle plugin, and it never handles user API keys directly because all model calls go through DSH.

It is targeted at researchers and students who write and revise academic LaTeX papers, and it streamlines the entire AI-assisted revision workflow from comment to final export. After you add your revision comments on the PDF, you just click one button to let the DSH agent rewrite the paper section by section according to your comments. The agent automatically compiles the LaTeX to check for errors, commits each change to git, and lets you browse diffs, revert changes, or export the full project when done.

PaperLab is released under the open-source MIT license, and it requires several pre-installed dependencies to run: Node.js 20 or newer, pnpm 10 or newer, Python 3.11 or newer, git, and an existing DeepSeek Harness installation. To get started, you can clone the GitHub repository, run the included start.sh script which automatically handles dependency installation, building, plugin setup, and service startup. Once the script finishes, you just open http://127.0.0.1:8210 in your browser to use PaperLab.

PaperLab 是专为 DeepSeek Harness 打造的原生插件,提供 Overleaf 风格的 LaTeX 论文迭代修改工作台。用户可以在浏览器中编辑 LaTeX 源码,查看真实排版的 PDF 预览,还能直接在 PDF 上选中文字添加批注修改意见。插件自带完整的前后端和 DSH 集成模块,AI 修改流程完全基于 DSH 代理运行,不直接接触用户的 API 密钥。

面向需要撰写和修改 LaTeX 学术论文的科研人员与学生,PaperLab 的典型工作流是先创建项目,编写初步内容后在 PDF 上添加修改批注,随后点击一键修订按钮,让 DSH 代理按照批注逐条改写论文内容。修改完成后会自动编译验证 LaTeX,把每一次修改提交到 git 仓库,方便用户查看 diff、回滚修改或者导出完整项目。

PaperLab 采用 MIT 许可证开源,使用前需要满足多个前置依赖:Node.js ≥ 20、pnpm ≥ 10、Python ≥ 3.11、git 以及已经安装好的 DeepSeek Harness。项目可以通过克隆仓库后运行启动脚本自动完成依赖安装、构建、插件安装和启动,启动后在浏览器访问 http://127.0.0.1:8210 即可使用。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 9 stars - very few users, little community feedback星标只有 9,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile paperlab add dsh-paperlab

把 maple-pwn/paperlab 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

PaperLab logo

PaperLab

Overleaf 式论文迭代修改工作台,AI 引擎是 DeepSeek Harness 插件。

English · 快速开始 · 架构 · 贡献指南

license npm dsh-plugin stars

在浏览器里编辑 LaTeX、看真实排版的 PDF、选中任意文字写批注;点一下按钮,DeepSeek Harness 的 agent 就会按批注逐条改写论文、验证编译、提交 git——所有修改都有 diff、可回滚、可导出。

PaperLab 界面截图

✨ 功能

🖥 界面 📄 批注 🤖 AI 修订
Overleaf 式三栏布局,面板可拖动 在 PDF 上选中任意文字写意见 基于 dsh agent:读批注 → 唯一匹配编辑 → 编译检查 → git 提交
源码编辑即自动保存、自动编译 黄色高亮精确落位(页面坐标) 宽屏轨迹直播思考过程 / 工具调用 / 输出,带计时与 LIVE 状态
真实 PDF 渲染(公式图表排版一致) 「定位」红窗展示修改前原文 工作台内切换模型 / 思考强度 / 编排模式
📜 版本管理 📦 工程能力
每个项目即 git 仓库,AI 修订自动 checkpoint 一键导出:源文件(含批注)/ PDF / git 历史
历史浏览、任意 diff、一键 revert 回滚 自动识别 XeLaTeX / 尊重 latexmkrc,多编译引擎降级链

🔄 工作流

PaperLab 工作流

🏗 架构

PaperLab 的 AI 执行引擎完全运行在 DeepSeek Harness 里,工作台从不直接调用模型 API:

部分 技术 职责
web/ React + Vite + PDF.js 三栏界面、PDF 选中批注、轨迹大视图、历史/导出
server/ FastAPI 项目管理、LaTeX 编译、批注与 git 版本管理、静态托管
plugin/ DeepSeek Harness bundle(TypeScript) 论文修改工具 + HTTP 触发端点 + 模型/预设设置代理
浏览器 ⇄ FastAPI ──(127.0.0.1:3923)──▶ dsh-paperlab 插件 ──▶ dsh agent loop
                                                    │
                                    dsh LLM 适配器(凭据/路由/思考强度)

详见 docs/architecture.md。

🚀 快速开始

前置:Node.js ≥ 20、pnpm ≥ 10、Python ≥ 3.11、git、DeepSeek Harness(dsh)。LaTeX 可选。

git clone https://github.com/maple-pwn/paperlab.git
cd paperlab
./start.sh                # 或 make start

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev deepseek-harness-desktop-Install 下一个 Next dsh-mermaid →