1 comment

[ 2.8 ms ] story [ 10.1 ms ] thread
I’ve been building this in my spare time over the past few days. mod_muse-ai is an Apache module written in C that lets you serve HTML pages generated by an AI model (local or remote). It reads `.ai` files, merges in a system prompt and a layout prompt, and sends the request to either a local Ollama instance or any OpenAI API-compatible endpoint (like LM Studio, Mistral, etc.), then streams the HTML response back to the browser.

The goal is to eliminate the need for a separate backend for AI-generated content. All feedback welcome—especially on the architecture and config design.