Install
openclaw skills install learning-assistant-appClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
一个集成多个免费API的学习助手应用
openclaw skills install learning-assistant-app一个完全免费的学习助手应用,集成多个免费API,无需任何认证。
| API | 用途 | 认证 |
|---|---|---|
| DictionaryAPI | 词典查询 | ❌ |
| LibreTranslate | 文本翻译 | ❌ |
| Useless Facts | 有趣事实 | ❌ |
| MathJS | 数学计算 | ❌ (本地) |
| History API | 历史事件 | ❌ |
npm install
cp .env.example .env
# 编辑 .env 文件配置API地址
npm start
GET /api/dictionary/:word - 查询单词POST /api/translate - 翻译文本GET /api/fact - 获取有趣事实POST /api/calculate - 数学计算GET /api/history - 获取历史事件GET /api/data/preferences - 获取用户偏好POST /api/data/preferences - 保存用户偏好learning-assistant-app/
├── server.js # Express服务器主文件
├── dataManager.js # 数据管理类
├── api/ # API路由
│ └── data.js # 数据管理API
├── public/ # 静态资源
│ ├── index.html # 前端页面
│ ├── script.js # 前端脚本
│ └── style.css # 前端样式
├── data/ # 数据存储目录
├── package.json # 项目配置
├── .env # 环境变量
└── .gitignore # Git忽略文件
MIT License