You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
API
基于 Node.js 标准库实现的 SimpRead 稍后读查询接口,读取
simpread_config.json中的unrdist字段,支持多维度筛选与响应裁剪。如何开启
请访问 稍后读外部访问
快速开始
curl "http://localhost:7026/api/unrdist?date=last30&tags=科技史话/AI战争"接口说明
所有参数均为可选,通过 URL query string 传递,参数之间为 AND 关系(同时满足)。
无参数时返回全部 unrdist 条目。
查询参数
date— 日期筛选按
create字段匹配,支持预设模式与精确日期两种写法。todayyesterdaydailyweeklast7last302026年05月27日2026-05-27tags— 标签筛选按
tags数组匹配,支持多个标签(逗号分隔),标签之间为 AND 关系,标签值为 子串包含 匹配。AI/LLMAI/LLMAI/LLM,AI/RAGAI/LLM和AI/RAGLLMLLM(子串匹配,可命中AI/LLM)url— URL 筛选对
url字段进行子串包含匹配。title— 标题筛选对
title字段进行子串包含匹配。desc/note— 描述筛选两个参数均指向
desc字段,行为一致,子串包含匹配。descdescnotedescidx— 索引精确匹配对
idx字段进行完全匹配,不支持模糊。annotations.text— 标注文本筛选对
annotations数组中每个元素的text字段进行子串包含匹配,任一命中即通过。curl "...?annotations.text=向量数据库"annotations.tags— 标注标签筛选规则与
tags一致,但作用于annotations数组中每个元素的tags字段。all— 查询本地快照查询内容
titledesc以及本地快照中命中的关键词,返回格式包含了snippets数组结构,每个元素都是一段命中的 HTML。curl "...?all=AI"响应控制参数
include— 响应深度控制返回数据的完整度,默认
full。fullannote、items等所有字段)unreadannotations字段lightannotations,但移除每个标注中的annote和items字段fields— 字段裁剪仅返回指定字段,逗号分隔。设置
fields时会覆盖include的效果。返回格式
{ "total": 3, "query": { "date": "last30", "tags": "AI/LLM" }, "data": [ { "annotations": [...], "create": "2026年05月29日 10:00:00", "desc": "深入解析大语言模型...", "favicon": "https://example.com/favicon.ico", "idx": 100, "img": "https://example.com/llm.png", "note": "", "tags": ["AI/LLM", "深度学习"], "title": "大语言模型深度解析", "url": "https://example.com/articles/llm-deep-dive", "snippets": [ "<mark>OpenAI</mark> 和 Google 正在加速追赶", "促使 <mark>OpenAI</mark> 放弃机器人方向的重要因素之一。" ] }, } ] }totalquerydatasnippetsall:参数时会返回包含命中结果的 HTML,检索内容来自你的本地快照组合查询示例
配置文件
默认读取与
server.js同目录下的simpread_config.json。unrdist为空或不存在时返回空数组其他接口
GET /api/health无依赖
仅使用 Node.js 内置模块:
http、fs、path、url,无需npm install。All reactions