Automating Open WebUI Prompts

Yes, there are a few ways to automate it, depending on how hands-off you want it. Push via the Open WebUI REST API. Open WebUI has an API (create an API key under Settings → Account). Models and prompts can be created and updated through it, so a small script can read prompt.md, strip the front-matter or README part, and update the model’s system prompt. Run it by hand, from a git hook, or from a GitHub Actions workflow on every push to main. The exact endpoints and payload shape vary between versions, so check your instance’s own API docs (the Swagger UI at /docs, if enabled) or inspect what the web UI sends in the browser dev tools when you save a model. Note that updating a model usually requires sending the full model object, not just the system prompt field, so the script should fetch the model first, change params.system, and send it back. If your instance isn’t reachable from GitHub’s runners, use a self-hosted runner or run the script locally. Have a Filter Function fetch the prompt at request time. Instead of storing the prompt in Open WebUI at all, write a filter whose inlet() downloads the file from your repo (for example the raw URL) and injects it as the system message, ideally with a short cache so you don’t hit GitHub on every message. Then the repo is the single source of truth and there is nothing to sync. The trade-offs are an external dependency on every request (or cache refresh), a token if the repo is private, and the prompt no longer being visible in the model’s settings page. Import/export JSON. Open WebUI can export and import models and prompts as JSON files. This is still a manual step, but it’s less error-prone than copy-pasting text, and it works fine as a one-off bulk transfer. ...

November 1, 2026 · 2 min · Markus Greiner

10 macOS Terminal Tricks You Never Knew Existed

I Ignored These Mac Terminal Commands for Years What most Mac developers never learn Original appeared in Medium Tushar Kanjariya Jun 29, 2026 ...

October 24, 2026 · 9 min · Markus Greiner

Rails Engines

Rails engines An engine is a miniature Rails application that you plug into a host app. It can have its own models, controllers, views, routes, migrations, assets, and tests. In fact, a Rails app is an engine: Rails::Application inherits from Rails::Engine. That’s why everything you know about Rails carries over. ...

October 20, 2026 · 9 min · Markus Greiner

Finding Your IP Address

🤖 How can I find my IP address? On your Mac Mini, open Terminal and run: ipconfig getifaddr en0 en0 = Ethernet (wired — recommended for a server) en1 = Wi-Fi (if you’re using wireless instead) Not sure which one you’re on? Run this to see all active interfaces: ...

October 17, 2026 · 1 min · Markus Greiner

Microsoft Entra ID Authentication with Rails 8

Exactly. If you’re using Rails 8’s built-in**bin/rails generate authentication**, you don’t need Devise. I would keep Rails’ generated authentication/session layer and make Entra ID another way of establishing a Rails session. ...

October 17, 2026 · 5 min · Markus Greiner

RAG System with Open-WebUI and SharePoint

🤖 Rag System for Open-WebUI and Sharepoint Build a system with Open-WebUI and a RAG with documents in SharePoint Excellent use case — and very doable. ...

October 17, 2026 · 37 min · Markus Greiner

RAG Systems - Pipelines vs MCP

🤖 RAG Systems - Pipelines vs MCP Short answer: use pipelines for control, MCP for interoperability, and combine both if you’re building something serious. The “best” setup depends on whether you care more about tight integration and performance or flexibility and tool reuse. ...

October 17, 2026 · 13 min · Markus Greiner

Reset Open-WebUI Password

🤖 Problem: reset local Open-WebUI password There is a sql database here: ~/Library/Application Support/open-webui/data. Reset it: Let’s do this carefully — the tricky part is that Open-WebUI doesn’t store plain text passwords, so we need to generate a properly-hashed password and drop it into the right table. ...

October 17, 2026 · 2 min · Markus Greiner

🤖 YARD Documentation in Ruby on Rails

🤖 YARD Documentation in Ruby on Rails YARD is the standard documentation tool for Ruby projects, including Rails apps. Here’s a quick rundown. ...

October 17, 2026 · 2 min · Markus Greiner

🤖 Integrating Azure Active Directory with Rails 8

Rails 8 ships with Authentication Generator (the new built-in auth scaffold), so the integration is a bit different. Here’s the Rails 8-specific approach: ...

October 16, 2026 · 2 min · Markus Greiner