← 返回
内容创作 Key

BookStack

BookStack Wiki & Documentation API integration. Manage your knowledge base programmatically: create, read, update, and delete books, chapters, pages, and shelves. Full-text search across all content. Use when you need to: (1) Create or edit wiki pages and documentation, (2) Organize content in books and chapters, (3) Search your knowledge base, (4) Automate documentation workflows, (5) Sync content between systems. Supports both HTML and Markdown content.
BookStack Wiki与文档API集成。支持通过编程方式管理知识库,包括创建、读取、更新和删除书籍、章节、页面及书架,并提供全局全文搜索功能。适用于以下场景:(1) 创建或编辑Wiki页面和文档;(2) 以书籍和章节形式组织内容;(3) 搜索知识库;(4) 自动化文档工作流;(5) 系统间内容同步。支持HTML和Markdown格式内容。
xenofex7
内容创作 clawhub v1.0.3 1 版本 99454.2 Key: 需要
★ 3
Stars
📥 3,220
下载
💾 403
安装
1
版本
#latest

概述

BookStack Skill

BookStack is an open-source wiki and documentation platform. This skill lets you manage your entire knowledge base via API – perfect for automation and integration.

Features

  • 📚 Books – create, edit, delete
  • 📑 Chapters – organize content within books
  • 📄 Pages – create/edit with HTML or Markdown
  • 🔍 Full-text search – search across all content
  • 📁 Shelves – organize books into collections

Quick Start

# List all books
python3 scripts/bookstack.py list_books

# Search the knowledge base
python3 scripts/bookstack.py search "Home Assistant"

# Get a page
python3 scripts/bookstack.py get_page 123

# Create a new page (Markdown)
python3 scripts/bookstack.py create_page --book-id 1 --name "My Page" --markdown "# Title\n\nContent here..."

All Commands

Books

python3 scripts/bookstack.py list_books                    # List all books
python3 scripts/bookstack.py get_book <id>                 # Book details
python3 scripts/bookstack.py create_book "Name" ["Desc"]   # New book
python3 scripts/bookstack.py update_book <id> [--name] [--description]
python3 scripts/bookstack.py delete_book <id>

Chapters

python3 scripts/bookstack.py list_chapters                 # List all chapters
python3 scripts/bookstack.py get_chapter <id>              # Chapter details
python3 scripts/bookstack.py create_chapter --book-id <id> --name "Name"
python3 scripts/bookstack.py update_chapter <id> [--name] [--description]
python3 scripts/bookstack.py delete_chapter <id>

Pages

python3 scripts/bookstack.py list_pages                    # List all pages
python3 scripts/bookstack.py get_page <id>                 # Page preview
python3 scripts/bookstack.py get_page <id> --content       # With HTML content
python3 scripts/bookstack.py get_page <id> --markdown      # As Markdown

# Create page (in book or chapter)
python3 scripts/bookstack.py create_page --book-id <id> --name "Name" --markdown "# Content"
python3 scripts/bookstack.py create_page --chapter-id <id> --name "Name" --html "<p>HTML</p>"

# Edit page
python3 scripts/bookstack.py update_page <id> [--name] [--content] [--markdown]
python3 scripts/bookstack.py delete_page <id>

Search

python3 scripts/bookstack.py search "query"                # Search everything
python3 scripts/bookstack.py search "query" --type page    # Pages only
python3 scripts/bookstack.py search "query" --type book    # Books only

Shelves

python3 scripts/bookstack.py list_shelves                  # List all shelves
python3 scripts/bookstack.py get_shelf <id>                # Shelf details
python3 scripts/bookstack.py create_shelf "Name" ["Desc"]  # New shelf

Configuration

Set the following environment variables:

export BOOKSTACK_URL="https://your-bookstack.example.com"
export BOOKSTACK_TOKEN_ID="your-token-id"
export BOOKSTACK_TOKEN_SECRET="your-token-secret"

Or configure via your gateway config file under skills.entries.bookstack.env.

Create an API Token

  1. Log in to your BookStack instance
  2. Go to Edit ProfileAPI Tokens
  3. Click Create Token
  4. Copy the Token ID and Secret

⚠️ The user needs a role with "Access System API" permission!

API Reference

  • Base URL: {BOOKSTACK_URL}/api
  • Auth Header: Authorization: Token {ID}:{SECRET}
  • Official Docs: https://demo.bookstackapp.com/api/docs

Author: xenofex7 | Version: 1.0.2

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-28 12:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

A simple Flight Tracker

xenofex7
航班追踪与调度。通过OpenSky网络实时追踪地区、呼号或机场的航班。查询机场间航班时刻表。适用于“哪些航班正在瑞士上空?”、“汉堡至苏黎世航班何时到达?”或“追踪SWR123航班”等查询。
★ 5 📥 5,269
content-creation

Humanizer

biostartechnology
消除AI写作痕迹,使文本更自然真实。基于维基百科"AI写作特征"指南,识别并修正夸张象征、宣传用语、肤浅-ing分析、模糊归因、破折号滥用、三项排比、AI词汇、负面平行结构及冗长连接词等模式。
★ 857 📥 199,251
content-creation

AdMapix

fly0pants
广告情报与应用数据分析助手,支持搜索广告素材、分析应用排名、下载量、收入及市场洞察,用于广告素材和竞品分析。
★ 294 📥 136,399