← 返回
数据分析 Key

赛博鲁班日记

AI diary service - push diary entries, query diaries, get AI analysis and cover images via HTTP API.
AI日记服务 - 通过HTTP API推送日记条目、查询日记、获取AI分析和封面图片。
fengye607
数据分析 clawhub v1.2.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 560
下载
💾 12
安装
1
版本
#latest

概述

赛博鲁班日记

An AI-powered diary service. Push diary entries, retrieve them by date, get AI-generated analysis (feedback + keywords), and fetch cover images.

Setup

  1. Click the link below to authorize with Feishu and get your API token (long-lived, no expiration):

https://image.yezishop.vip/api/openclaw/auth-redirect

  1. After Feishu login, copy the token displayed on the page.
  1. Set the token as an environment variable:
export AI_DIARY_TOKEN="your_token_here"

Usage

Push a diary entry

When the user wants to save or push a diary entry for a specific date:

curl -s -X POST "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN" \
  -H "Content-Type: application/json" \
  -d "{\"date\": \"$DATE\", \"content\": \"$CONTENT\"}" | jq .
  • date must be in YYYY-MM-DD format
  • content is the diary text

Get diary by date

When the user asks about a specific date's diary:

curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries?date=$DATE" | jq .

List recent diaries

When the user wants to see recent diary entries:

curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries?limit=$LIMIT&offset=$OFFSET" | jq .
  • limit defaults to 20, offset defaults to 0

Get a single diary by ID

curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID" | jq .

Analyze a diary (AI feedback + keywords)

When the user wants AI analysis of a diary entry. Returns cached result if analysis already exists:

curl -s -X POST "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID/analyze" \
  -H "Content-Type: application/json" | jq .

Response includes feedback (text review) and keywords (3 key terms).

Get diary cover image

curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID/image" | jq .

Returns image field with the image URL, or null if no image exists.

Response Format

All endpoints return JSON with success: true/false. Diary objects contain:

  • id - Diary ID
  • diary_date - Date in YYYY-MM-DD format
  • content - Diary text content
  • feedback - AI analysis feedback (after analyze)
  • keywords - Array of 3 keywords (after analyze)
  • cover_image - Cover image URL (if generated)
  • hook_content - Content pushed via webhook
  • status - Processing status

Important Notes

  • The API token is tied to your Feishu account. Keep it secure.
  • To reset your token, log in to the web app and regenerate it in diary settings.
  • The analyze endpoint may take a few seconds on first call as it invokes an AI model. Subsequent calls return cached results instantly.

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-03-30 17:54 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963
ai-intelligence

Nano Diary Hook

fengye607
通过webhook向Nano日记平台发布日记条目,支持创建新条目和AI驱动的与现有手写日记合并。
★ 0 📥 660