mirror of
https://github.com/open-webui/oikb.git
synced 2026-11-05 01:27:25 +00:00
[PR #82] [CLOSED] feat(bookstack): use native markdown export for pages #102
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/oikb#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/oikb/pull/82
Author: @hexsm
Created: 7/15/2026
Status: ❌ Closed
Base:
main← Head:feature/bookstack-markdown-export📝 Commits (1)
0f7d4c4feat: use markdown export for BookStack pages📊 Changes
2 files changed (+11 additions, -7 deletions)
View changed files
📝
CHANGELOG.md(+6 -0)📝
src/oikb/connectors/bookstack.py(+5 -7)📄 Description
Summary
Switches the BookStack connector from plain text output to BookStack's native Markdown page export.
BookStack synced pages now use
.mdfiles backed by:GET /api/pages/{id}/export/markdownWhy
The connector previously fetched page HTML and stripped tags with a simple regex before uploading
.txtfiles. This lost useful document structure such as headings, lists, links, code blocks, and tables.BookStack provides a native Markdown export endpoint for pages, which preserves more structure and is better suited for Knowledge Base ingestion.
Changes
.mdfilenames for BookStack synced pages.CHANGELOG.md.Validation
python3 -m compileall src/oikb/connectors/bookstack.pyNotes
Existing BookStack
.txtentries may be replaced by.mdentries on the next sync because the exported file extension changes.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.