Install
openclaw skills install research-paper-portal为研究人员创建个性化学术论文导航网站。根据用户的研究领域,自动收集最新论文、生成AI背景图、发布到网站。触发词:创建论文导航网站、学术门户、研究论文网站、论文聚合站、论文导航页。
openclaw skills install research-paper-portal为研究人员快速构建个性化的学术论文导航网站。
在开始部署前,询问用户以下信息:
请提供以下配置信息:
1. 研究领域(关键词)
- 例如:thermoelectric, heat pipe, geothermal
- 或:machine learning, computer vision
- 或:cancer research, immunotherapy
2. 网站名称
- 例如:Thermoelectric.Tech
3. 大语言模型(LLM)资源
- 推荐:Gemini CLI(免费)或 Claude API
- 用途:论文摘要翻译、标题生成
4. 绘图模型资源
- 推荐:ComfyUI + Flux2
- 服务器地址:例如 http://192.168.1.100:8188
5. Web 服务器
- 推荐:Caddy(自动 HTTPS)
- 或:Nginx、Apache
创建配置文件 config.json:
{
"siteName": "YourResearch.Tech",
"keywords": ["keyword1", "keyword2"],
"paperSources": {
"openalex": true,
"arxiv": true,
"rss": []
},
"llm": {
"provider": "gemini",
"command": "gemini -p"
},
"imageGeneration": {
"comfyui_url": "http://YOUR_SERVER:8188",
"workflow": "flux2_text_to_image"
},
"publishSchedule": {
"updatePapers": "05:00",
"publishSite": "08:00"
}
}
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ 论文收集脚本 │ ──▶ │ 发布队列 │ ──▶ │ 定时发布 │
│ (每日凌晨运行) │ │ (待发布论文+图片) │ │ (每日早晨) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│ │
▼ ▼
┌───────────┐ ┌───────────┐
│ LLM 翻译 │ │ AI 生成图 │
│ 标题+摘要 │ │ 背景图片 │
└───────────┘ └───────────┘
index.html - 网站主页面模板admin.html - 管理后台模板update-papers.py - 论文收集脚本generate-bg.py - AI 背景图生成convert-images.py - 图片格式转换daily-publish.py - 每日发布脚本CONFIG.md - 详细配置说明API.md - OpenAlex/arXiv API 使用说明COMFYUI.md - ComfyUI Flux2 工作流说明使用 OpenClaw cron 或系统 crontab:
# OpenClaw cron
openclaw cron add --name "论文更新" --schedule "0 5 * * *" --script "update-papers.py"
openclaw cron add --name "网站发布" --schedule "0 8 * * *" --script "daily-publish.py"
# 或系统 crontab
0 5 * * * python /path/to/update-papers.py
0 8 * * * python /path/to/daily-publish.py
paper-index.json 和 pending-papers.json| 问题 | 解决方案 |
|---|---|
| 论文数据为空 | 检查关键词拼写,确认 API 可访问 |
| 图片生成失败 | 检查 ComfyUI 服务状态,确认模型已加载 |
| 网站无法访问 | 检查 Web 服务器配置,确认端口开放 |
| 中文显示乱码 | 确认文件 UTF-8 编码,检查 Content-Type |