0x 0xlabs Space
Infrastructure

MesaHub

Self-hosted SQLite storage with a managed SaaS control plane — deploy anywhere, manage everything.

Overview

MesaHub is a self-hosted SQLite storage infrastructure paired with a managed SaaS control plane. Deploy the storage service to Railway, manage all your databases from the Vercel-hosted control panel, and integrate via the @sqlite-hub/client SDK or drop-in UI components. It is structured as a git submodule monorepo with three independently deployable parts.

Architecture

  • Template — self-hosted SQLite service, deployable to Railway
  • Control — multi-tenant SaaS control plane (Next.js, Vercel)
  • Packages@sqlite-hub/client SDK and @sqlite-hub/ui component library

Features

  • Self-hosted SQLite storage you own and deploy
  • Multi-tenant control plane for managing multiple databases
  • Bootstrap API for DB schema initialization post-deploy
  • Client SDK for programmatic access from any Node.js app
  • UI component library for embedding database views
  • Docker Compose support for local development
  • Justfile task automation

Tech Stack

  • Node.js ≥ 18, pnpm, TypeScript
  • Next.js (control plane), Railway (template hosting)
  • Docker Compose, git submodules

Status

Alpha — v0.1.0, active development. Not yet publicly published.