← 返回
未分类 Key 中文

Runa

Save, search, list, update, and delete bookmarks and text notes in Runa. Use when the user wants to bookmark a URL, save text/thoughts/snippets, find a saved...
在 Runa 中保存、搜索、列出、更新和删除书签及文本笔记。用户想要收藏网址、保存文字/想法/片段或查找已保存内容时使用。
imprakharshukla imprakharshukla 来源
未分类 clawhub v0.3.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 379
下载
💾 0
安装
1
版本
#latest

概述

Instructions

Interact with the Runa bookmarking API at https://api.onruna.com.

Read the API key from ~/.openclaw/secrets/runa.json (field: api_key) or fall back to the RUNA_API_KEY environment variable. Authenticate all requests with:

Authorization: Bearer <api_key>

Available Operations

Save a bookmark

curl -s -X POST https://api.onruna.com/v1/links \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<URL>"}'

Optionally pass "source": "manual" | "x-bookmark" | "email" | "feed".

Save text

curl -s -X POST https://api.onruna.com/v1/links \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Some text content to save"}'

All embedded URLs are automatically enriched (metadata, OG images, page content extracted). Use for thoughts, snippets, quotes, or any text with or without links.

List bookmarks (browse by status)

curl -s -X POST https://api.onruna.com/v1/links/search \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"filter": "status = \"inbox\"", "sort": ["createdAt:desc"], "limit": 20}'

Status: inbox (default), archived, trash.

Search bookmarks

curl -s -X POST https://api.onruna.com/v1/links/search \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "<query>", "limit": 20}'

The search endpoint (POST /v1/links/search) supports full Meilisearch query capabilities:

  • q (string, optional): Search query. Empty for filter/sort-only browse.
  • filter (string, optional): Meilisearch filter expression. Operators: =, !=, >, >=, <, <=, TO, IN, EXISTS, NOT EXISTS, AND, OR, NOT, parentheses.
  • sort (array, optional): e.g. ["createdAt:desc"]
  • limit (number, optional): 1-100, default 20
  • offset (number, optional): for pagination, default 0

Filterable attributes: status, itemType (article|tweet|reddit|youtube|github|pdf|image|text), isNsfw, source (manual|x-bookmark|email|feed|browser-import), createdAt (unix ms), tags.

Filter examples:

  • status = "inbox" — inbox only
  • itemType = "tweet" AND status != "trash" — tweets not in trash
  • tags = "typescript" — tagged with typescript
  • createdAt > 1711900800000 — after a specific date
  • status IN ["inbox", "archived"] — inbox or archived

Get a single bookmark

curl -s "https://api.onruna.com/v1/links/<id>" \
  -H "Authorization: Bearer $RUNA_API_KEY"

Update a bookmark

curl -s -X PATCH "https://api.onruna.com/v1/links/<id>" \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status": "archived"}'

Updatable fields: title, description, status, isNsfw.

Delete a bookmark

curl -s -X DELETE "https://api.onruna.com/v1/links/<id>" \
  -H "Authorization: Bearer $RUNA_API_KEY"

Enrich a URL (preview without saving)

curl -s -X POST https://api.onruna.com/v1/enrich \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<URL>"}'

Upload a file (PDF or image)

curl -s -X POST https://api.onruna.com/v1/files \
  -H "Authorization: Bearer $RUNA_API_KEY" \
  -F "file=@/path/to/file.pdf"

Accepted types: PDF, JPEG, PNG, WebP, GIF, HEIC. Max 50MB.

Rules

  • Always confirm before deleting bookmarks.
  • When saving a link, report back the title and ID from the response.
  • When listing or searching, format results as a readable list with title, URL, and status.
  • For full API schema details see references/api.md.

版本历史

共 1 个版本

  • v0.3.0 当前
    2026-05-03 11:03 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

web-tools-guide

user_ec205dbb
MANDATORY before calling web_search, web_fetch, browser, or opencli. Contains required error-handling procedures (web_se
★ 66 📥 159,828
knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 957 📥 518,526
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 444 📥 104,896