https://github.com/homeylab/bookstack-file-exporter
10K+
Note
This documentation reflects the branch, tag, or commit you are currently viewing; the default branch (`main`) may describe unreleased changes. For docs matching your installed version, use the branch/tag dropdown to switch to your release tag. See [Releases](https://github.com/homeylab/bookstack-file-exporter/releases) for the list of published versions.
Table of Contents
If you encounter any issues, want to request an additional feature, or provide assistance, feel free to open a Github issue.
This self-admittedly, overly complicated tool provides a way to export Bookstack pages and their content (text, images, attachments, metadata, etc.) into a relational parent-child layout locally with an option to push to remote object storage locations. See Backup Behavior section for more details on how pages are organized. Image and attachment links can also be modified in markdown and html exports to point to local exported paths.
This small project was mainly created to run as a cron job in k8s but works anywhere. This tool allows me to export my docs in markdown, or other formats like pdf. I use Bookstack's markdown editor as default instead of WYSIWYG editor and this makes my notes portable anywhere even if offline.
What it does:
Shelves/Books/Chapters/Pages to create a relational parent-child layout.tgz archivekeep_last) to keep a tidy archive destinationrun_interval (interval-based) or run_schedule (cron-based) properties. Used for scheduling backups.Supported backup targets are:
type field; a target is treated as a custom store or AWS S3 based on whether an endpoint is set. See Remote Storage.Supported backup formats are based on Bookstack API and shown here and below:
The main use case is to backup all docs in a relational directory-tree format to cover the scenarios:
Detailed docs live under docs/:
config.yml reference, all options, environment variables, export level, parallel exportBelow are versions that have major changes to the way configuration or exporter runs.
| Start Version | Target Version | Description |
|---|---|---|
< 3.0.0 | 3.0.0 | For more details on exact changes see v3.0.0. Highlights below:- modify_markdown key removed, use modify_links instead. - The top-level minio: config block is removed. Replace it with an object_storage:, see Migrating from v2.- http_config.verify_ssl now defaults to true (was false).- The legacy assets.modify_markdown key is removed, used assets.modify_links instead (HTML also supported). |
< 1.4.X | 1.5.0 | assets.verify_ssl has been moved to http_config.verify_ssl and the default value has been updated to false. additional_headers has been moved to http_config.additional_headers |
drawioContent type
Image
Digest
sha256:98717f87f…
Size
118.7 MB
Last updated
3 months ago
docker pull homeylab/bookstack-file-exporter