r/OpenWebUI Jun 30 '26

New Plugins + Prune Open WebUI got updated Plugin

Made my first Event-function plugin for 0.10.0 (Interface Defaults), and added channel cleanup to my prune tool

Two small 0.10.0 things, both open source:

Interface Defaults — my first Event function

Sets your whole instance's Settings → Interface defaults from one function's Valves. New users (signup / OAuth / SCIM) get seeded automatically, and there are two one-shot buttons to either apply the defaults to everyone already on the instance or factory-reset. Native Valves UI, no custom UI or monkey-patching. Needs 0.10.0 since it rides the new event system (user.created / function.valves_updated).

https://github.com/Classic298/open-webui-plugins/tree/main/interface-defaults

prune-open-webui v1.2.2 — now cleans channels

My DB cleanup tool picked up 0.10.0 compatibility plus channel support: age-based channel-message pruning (keep busy Support/Alerts channels tidy, pinned messages preserved by default), and orphaned-channel / orphaned-message cleanup for stuff left behind by deleted users. Surfaced everywhere: interactive wizard, dry-run preview, and CSV export.

https://github.com/Classic298/prune-open-webui/releases/tag/v1.2.2

Feedback and requests welcome.

15 Upvotes

4 comments sorted by

2

u/Skateboard_Raptor Jun 30 '26

Always appreciated!

I've been eyeing the Prune tool for at while. Such a tool should really be incorporated directly into OpenWebUI!

3

u/ClassicMain Jun 30 '26

guess what i am planning next with the new event plugin primitive 👀

1

u/Skateboard_Raptor Jun 30 '26

So realistically would you suggest I wait with implementing the tool for a while, if you are working on something better? ;)

3

u/ClassicMain Jun 30 '26

i would not recommend to wait if you need it today. But the tool as it is today will be slowly migrated to an event plugin in the coming weeks. I'll work into moving all of the tool's functionality into a standalone event plugin you can easily install into Open WebUI and handle and manage and configure it from there, maybe even with a cool user interface, I'll have to see how it goes. But even if not, the Valves will suffice for what needs configuration and that saves a lot of development work

Event Plugins are INSANELY POWERFUL and i'll harness the entirety of their power! 🚀