| name | bookstack |
| description | 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 Skill
BookStack ist eine Open-Source Wiki- und Dokumentationsplattform. Mit diesem Skill kannst du deine gesamte Wissensdatenbank über die API verwalten – perfekt für Automatisierung und Integration.
Was kann dieser Skill?
- 📚 Bücher erstellen, bearbeiten, löschen
- 📑 Kapitel innerhalb von Büchern verwalten
- 📄 Seiten mit HTML oder Markdown erstellen/bearbeiten
- 🔍 Volltextsuche über alle Inhalte
- 📁 Regale (Shelves) zum Organisieren von Büchern
Quick Start
python3 scripts/bookstack.py list_books
python3 scripts/bookstack.py search "Home Assistant"
python3 scripts/bookstack.py get_page 123
python3 scripts/bookstack.py create_page --book-id 1 --name "Meine Seite" --markdown "# Titel\n\nInhalt hier..."
Alle Befehle
Books (Bücher)
python3 scripts/bookstack.py list_books
python3 scripts/bookstack.py get_book <id>
python3 scripts/bookstack.py create_book "Name" ["Desc"]
python3 scripts/bookstack.py update_book <id> [--name] [--description]
python3 scripts/bookstack.py delete_book <id>
Chapters (Kapitel)
python3 scripts/bookstack.py list_chapters
python3 scripts/bookstack.py get_chapter <id>
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 (Seiten)
python3 scripts/bookstack.py list_pages
python3 scripts/bookstack.py get_page <id>
python3 scripts/bookstack.py get_page <id> --content
python3 scripts/bookstack.py get_page <id> --markdown
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>"
python3 scripts/bookstack.py update_page <id> [--name] [--content] [--markdown]
python3 scripts/bookstack.py delete_page <id>
Search (Suche)
python3 scripts/bookstack.py search "query"
python3 scripts/bookstack.py search "query" --type page
python3 scripts/bookstack.py search "query" --type book
Shelves (Regale)
python3 scripts/bookstack.py list_shelves
python3 scripts/bookstack.py get_shelf <id>
python3 scripts/bookstack.py create_shelf "Name" ["Desc"]
Konfiguration
Setze die Umgebungsvariablen in ~/.clawdbot/clawdbot.json:
{
"skills": {
"entries": {
"bookstack": {
"env": {
"BOOKSTACK_URL": "https://your-bookstack.example.com",
"BOOKSTACK_TOKEN_ID": "dein-token-id",
"BOOKSTACK_TOKEN_SECRET": "dein-token-secret"
}
}
}
}
}
Token erstellen
- In BookStack einloggen
- Profil bearbeiten → API Tokens
- Create Token klicken
- Token ID und Secret kopieren
⚠️ Der User braucht die Rolle mit "Access System API" Permission!
API Referenz
Author: Seal 🦭 | Version: 1.0.1