Introduction
MiniWork is a next-generation SSR web framework built on Bun with real-time database-to-UI synchronization via HTMX and Server-Sent Events.
Why MiniWork?
Modern web development has become increasingly complex. MiniWork takes a different approach: instead of shipping megabytes of JavaScript to the client, we leverage the power of server-side rendering with real-time updates.
Zero Client JS
Server-rendered HTML with HTMX for interactivity
Real-time Updates
Database changes sync to clients via SSE
Built-in Database
SQLite with WAL mode and change tracking
Security First
Argon2id, sessions, RBAC, rate limiting
How It Works
- Changes are made to the SQLite database
- The change tracker detects which tables were modified
- The SSE manager broadcasts updates to subscribed clients
- HTMX performs out-of-band DOM swaps without page reload
Bun Required
MiniWork requires Bun 1.0 or higher. It does not work with Node.js.