返回顶部
n

neodbNeoDB书影音助手

NeoDB 书影音标注助手 — 通过 API 替代网页/客户端完成所有 NeoDB 操作。支持搜索条目、标记(想看/在看/看过/放弃)、评分、短评、长评、笔记、收藏单、标签管理。触发场景:(1) 用户提到 NeoDB、书影音、标记、想看、看过、在读、读完、评分、评论 (2) 用户要搜索/标注书籍、电影、剧集、音乐、游戏、播客、演出 (3) 用户要管理书架、收藏单、标签 (4) 用户提到豆瓣链接需要导入 NeoDB

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
76
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

neodb

NeoDB 书影音标注助手

通过 NeoDB API 替代网页/客户端完成搜索、标注、评论等全部操作。

前置条件

需要环境变量(~/.claude/settings.json → env):

  • - NEODBTOKEN — OAuth Access Token(必须)
  • NEODBINSTANCE — 实例域名(可选,默认 neodb.social)

首次使用运行鉴权:bash scripts/setup-auth.sh [instance]

API 调用模板

bash

GET


curl -s -H Authorization: Bearer $NEODB_TOKEN \
https://${NEODB_INSTANCE:-neodb.social}/api/{endpoint}

POST (JSON)

curl -s -X POST -H Authorization: Bearer $NEODB_TOKEN \ -H Content-Type: application/json -d {...} \ https://${NEODB_INSTANCE:-neodb.social}/api/{endpoint}

所有写入操作执行前必须向用户确认。

核心工作流

搜索 → 标记(最常用)

bash

1. 搜索


curl -s https://${NEODB_INSTANCE:-neodb.social}/api/catalog/search?query={关键词}&category={类型}

category: book, movie, tv, movie,tv, music, game, podcast, performance

2. 标记

curl -s -X POST -H Authorization: Bearer $NEODB_TOKEN \ -H Content-Type: application/json \ -d {shelftype:complete,visibility:0,ratinggrade:8,commenttext:短评,tags:[标签],postto_fediverse:false} \ https://${NEODB_INSTANCE:-neodb.social}/api/me/shelf/item/{uuid}

shelf_type: wishlist=想看, progress=在看, complete=看过, dropped=放弃
visibility: 0=公开, 1=仅关注者, 2=私密
rating_grade: 1-10(五星对应: 2/4/6/8/10),0=不评分

从外部链接导入

bash
curl -s https://${NEODB_INSTANCE:-neodb.social}/api/catalog/fetch?url={豆瓣/IMDB/Goodreads链接}

302=已存在(提取URL中UUID), 202=抓取中(等15秒重试), 422=不支持

浏览书架

bash
curl -s -H Authorization: Bearer $NEODB_TOKEN \
https://${NEODB_INSTANCE:-neodb.social}/api/me/shelf/{type}?category={category}&page=1

type: wishlist, progress, complete, dropped


category: book, movie, tv, music, game, podcast, performance

写长评

bash
curl -s -X POST -H Authorization: Bearer $NEODB_TOKEN \
-H Content-Type: application/json \
-d {title:标题,body:正文(Markdown),visibility:0,posttofediverse:false} \
https://${NEODB_INSTANCE:-neodb.social}/api/me/review/item/{uuid}

写笔记

bash
curl -s -X POST -H Authorization: Bearer $NEODB_TOKEN \
-H Content-Type: application/json \
-d {title:标题,content:内容,visibility:0,progresstype:page,progressvalue:120} \
https://${NEODB_INSTANCE:-neodb.social}/api/me/note/item/{uuid}/

progress_type: page, chapter, timestamp, percentage, null

完整 API 参考

按需查阅,不必全部加载:

输出格式

搜索结果:

📖 书名 — 作者
⭐ 8.5/10 (120人) | UUID: xxx

标记成功:

✅ 已标记「书名」为 读过 ⭐⭐⭐⭐ (8/10)
短评:评论内容 | 标签:标签1, 标签2

错误处理

状态码含义处理
401未授权检查 NEODB_TOKEN
404
未找到 | 条目不存在 | | 202 | 抓取中 | 等 15 秒重试 fetch | | 429 | 频率限制 | 等待重试 |

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 neodb-1775964422 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 neodb-1775964422 技能

通过命令行安装

skillhub install neodb-1775964422

下载

⬇ 下载 neodb v1.0.0(免费)

文件大小: 19.19 KB | 发布时间: 2026-4-13 11:11

v1.0.0 最新 2026-4-13 11:11
Initial release: search, mark, rate, review books, movies, music, games on NeoDB via API

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部