Full-Stack Self-Hosted Ecosystem

MonoPiFull-Stack

A private, self-hosted infrastructure suite combining a containerized backend and a native Tauri desktop client. Designed to centralize secure accounts, private CCTV, data tracking, and Git hosting under a single server dashboard.

View Repository

Core Stack

DockerNode.jsMongoDBReactViteTailwindcssTypeScriptTauriGit

Architecture

Monorepo (Client / Server / Shared)

Deployment

Docker Engine & Tauri Desktop

The Project

MonoPi was built to reclaim full ownership over personal data and essential digital services. Instead of relying on fragmented cloud providers, it bundles security, video surveillance, telemetry, and source code management into a single unified platform.

The project is structured around two distinct runtime environments—a Dockerized Node.js backend and a native Tauri desktop client—bridged by a shared data module that guarantees strict type safety and schema consistency across the entire stack.

Repository Structure

Two distinct applications, one shared core

01

Frontend Desktop

Native desktop client built with Tauri, providing a unified dashboard for overall server monitoring, CCTV streams, and service management.

/frontend — Tauri Client
02

Backend Server

Containerized Node.js core managing private accounts, real-time data tracking, video feeds, and native Git server operations.

/backend — Node.js & Docker
03

Shared Data Layer

Common schemas, TypeScript interfaces, and validation structures shared between client and server for end-to-end consistency.

/shared — Schemas & Types

Core Services

Private ecosystem & server overview

All hosted services report back to a central dashboard, giving an instant, real-time overview of server health, active streams, storage metrics, and repository activity.

Private Accounts

Security

Isolated, self-hosted authentication and encrypted user sessions with strict access control.

Private CCTV

Surveillance

Low-latency video streaming and local feed monitoring accessible directly from the desktop client.

Data Tracking

Telemetry

Continuous collection and visualization of custom metrics, logs, and personal data points.

Private Git Server

Version Control

Self-hosted Git repositories for complete code ownership without relying on third-party cloud hosts.

Node.js

Backend Runtime

MongoDB

Document Database

Git

Version Control Engine

Tauri

Desktop Client

Installation & Setup

From source to running infrastructure

Deploying MonoPi takes two steps: spinning up the containerized server via the automated build script, and compiling the Tauri desktop client locally.

Server Deployment

Host Machine (Docker)

Clone the repository on your host server and execute the build script to compile the Docker image and expose the backend services.

bash
git clone https://github.com/MonoPi
cd MonoPi
./buildimage

Client Compilation

Local Workstation (Tauri)

Build the native desktop application from the monorepo root using pnpm to bundle the frontend interface.

bash
pnpm install
pnpm run build:frontend

Control Center

Unified Server Dashboard

Once the Docker image is built and the server is open, the Tauri desktop application connects directly to the backend instance. The main dashboard provides a complete overview of the server: active CCTV feeds, Git repository states, MongoDB storage telemetry, and account security logs in one place.

Self-hosted, end-to-end.

Built with Node.js, MongoDB, Git, and Tauri for complete control over personal infrastructure and data.

Explore the source