r/BookStack • • 3d ago

Two open-source BookStack modules: DOCX Export and Export Menu

Hi everyone!

I've been using BookStack and wanted to improve two aspects of its export functionality: Microsoft Word support and the usability of the native export menu.

I've developed and released two independent open-source modules.

BookStack DOCX Export

  • Export pages, chapters and books to Microsoft Word (.docx).
  • Integrated into the native export menu.

GitHub: https://github.com/avmaksimov/bookstack-export-docx

BookStack Export Menu

  • Personal export menu preferences for each user.
  • Configurable format visibility and ordering.
  • Drag-and-drop reordering.
  • Configurable closing on mouse leave.
  • Improved menu positioning.
  • Automatic discovery of additional export formats.

All preferences can be configured directly within the export menu while preserving the native BookStack appearance.

GitHub: https://github.com/avmaksimov/bookstack-export-menu

Both modules are MIT-licensed and use the native BookStack Theme System Modules mechanism. No core modifications or database schema changes are required.

They can be used independently or together for a more convenient export experience.

Tested with BookStack v26.09.3.

I'd love to hear your feedback and suggestions!

17 Upvotes

3 comments sorted by

1

u/floralcountertops 2d ago • Bravo

Oh wow looks great I am going to try these on my dev environment

1

u/No-Surprise4896 2d ago

Thank you! Glad you like them. I hope you find them useful!

1

u/Grey_Fury 8h ago

This is great! I have not tried this yet, but wanted to ask if you've tested it with larger book and image exports? I only began to discover problems with timeouts and size limits this way (and even Weasyprint itself) for PDF exporting. I assume it might be relevant to this, so I'll mention some config changes that end up being required for larger PDF exports here for reference, just in case it helps:

php-local.ini

upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M
max_execution_time = 2400

nginx/site-confs/default.conf

fastcgi_read_timeout 300s;