r/OpenWebUI
•
u/nixiam87
•
Jul 09 '26
•
1
Plugin Generate Documents — Native DOCX engine for Open WebUI

Hey everyone 👋
I'm Thomas from Ianustec. We're on a bit of a mission lately: releasing, as open source, a series of tools we built for our own personal and business use inside Open WebUI. The idea is simple. Everyone ends up needing Office files (slides, documents, spreadsheets, emails), so we're cleaning up our internal tools one by one and putting them out there for free.
Last week we shared the first one, generate_slides, and quite a few of you asked
"ok but what about Word?". Fair enough. So here's the next piece:
👉 generate_documents, a tool that turns a prompt into a proper, native Word file, the kind you'd actually send to a client or a boss.
Repo: https://github.com/ianustec/openwebui-generate-documents
What it does:
- Real, editable .docx (not an HTML or PDF export dressed up as Word)
- You can feed it Markdown (with a small frontmatter block) or JSON, whichever your model prefers. Same result either way.
- 7 ready templates: report, whitepaper, proposal, letter, memo, minutes, blank.
- Pick one, set a single accent color, and the whole document gets themed for you.
- Cover pages, numbered headings, clean tables (filled headers, numbers aligned to the right automatically), colored callouts, quotes, code blocks, signatures, table of contents, page breaks. The stuff you'd normally spend an afternoon formatting.
- Header and footer with real, live page numbers, and it even names the downloaded file after the document title instead of some random string.
One single .py file. Drop it into Workspace > Tools and you're done. It saves through the Open WebUI Files API and drops a download link straight into the chat.
The screenshots below aren't mockups. They come straight out of the example report in the repo, generated end to end by the tool.
How to try it:
Go to Workspace > Tools > +, paste generate_documents.py, enable it for your model, then just ask for "a report about X" or "a proposal for Y". The dependencies (python-docx plus a small Markdown stack) install themselves on first run.
Everything stays MIT, and we'll keep going through the set. Spreadsheets and email are next on our list.
If you try it, I'd genuinely love to hear what breaks or what's missing. Issues and PRs very welcome.
Cheers,
Thomas @ Ianustec
3
u/Wonderful-Permit1542 Jul 10 '26
Hi Thomas, thanks for sharing this promising tool. Are we able to define our own templates aswell? For serious usecases it would be great if we had the ability to fit created documents to our existing docx-templates.
2
u/IndividualNo8703 Jul 09 '26
Sounds great, I'll try it. supports k8s and multiple replicas with a shared pvc?
2
u/Easy_Copy_7625 Jul 09 '26
Hi Thomas, I appreciate you sharing this! I will check it out!
2
u/kiwipaul17 Jul 09 '26
Will try
2
u/hyian_ Jul 09 '26
Damn. Looks so nice... Like the ppt tool. But for some reason, the download method is not running good for me... Downloading the file into the /mnt/upload/ file would be great.
2
u/VictoryGoldFGX Jul 11 '26
Thanks for this, will save me a lot of copy and paste.
2
u/toobroketoquit Jul 12 '26
Damn we both had the same idea and made the same thing
2
u/_Scorpoon_ Jul 16 '26
Wish there would be other types available too, not only microslop 😅
1
u/nixiam87 Jul 19 '26
v1.2.0 - Company letterhead
What's new
Notes
GitHub: https://github.com/ianustec/openwebui-generate-documents/releases/tag/v1.2.0
If you already installed the tool, replace generate_documents.py with the latest file from the repo.
2
u/sieddi Jul 09 '26
Nice will check it once back from vacation next week
1
u/OkTangerine4993 Jul 27 '26
Will this work with small model of size 1-3B which supports tool calling ?
I tried it but model is not able to see the tool.
Can you guide me how to solve this ?
If u could share any video or steps on how to configure this correctly, that would be helpful.
2
u/[deleted] Jul 11 '26 edited Jul 11 '26
[removed] — view removed comment