Sign In
Access to Author tools and Claude Code Assistant requires authentication.
🖥️

Homelab Nexus

More than a dashboard - a comprehensive homelab management interface

Active v0.1.0 MIT
[vm] nexus.homelab :3000

Tech Stack

SvelteKit 5 TypeScript FastAPI Go PostgreSQL Redis Temporal Tailwind CSS

Requirements

  • Node.js 20+
  • Python 3.11+
  • Go 1.22+
  • PostgreSQL 15+
  • Redis
  • Docker (optional)

Features

  • Network discovery and service detection
  • Glass neomorphic dark UI
  • In-browser Claude Code CLI
  • Credential management with Infisical
  • MCP server for external integrations
  • Real-time WebSocket updates
  • SSH and API-based service access

Why Build a Command Center?

A growing homelab accumulates services across multiple hosts - databases, orchestration tools, storage, virtualization. Tracking what’s running where becomes a chore:

  • Services are scattered across Proxmox VMs, TrueNAS, and bare metal
  • Credentials live in .env files, password managers, and Infisical
  • No single view of what’s healthy vs. what’s down
  • Running Claude Code requires terminal access to each machine

Homelab Nexus centralizes discovery, monitoring, and management into one interface with an integrated Claude Code terminal.


Architecture

Three services work together:

┌─────────────────────────────────────────────────────────────┐
│                      SvelteKit Web UI                        │
│           Glass neomorphic dark theme + runes                │
└─────────────────────────────────────────────────────────────┘
                            │
              ┌─────────────┼─────────────┐
              ▼             ▼             ▼
        ┌─────────┐   ┌─────────┐   ┌─────────┐
        │ FastAPI │   │   Go    │   │  Redis  │
        │   API   │   │ Bridge  │   │  Cache  │
        └─────────┘   └─────────┘   └─────────┘
              │             │
              ▼             ▼
        ┌─────────┐   ┌─────────────────┐
        │PostgreSQL│   │ Network Scanner │
        │ + pgvec │   │ + Claude CLI    │
        └─────────┘   └─────────────────┘
ServicePurposePort
WebSvelteKit frontend with glass UI3000
APIFastAPI backend, MCP server8000
BridgeGo WebSocket server, Claude CLI wrapper8080

Key Features

Network Discovery

The Go bridge scans configured subnets for known ports and identifies services:

  • Port scanning with configurable ranges
  • Banner grabbing for service identification
  • Automatic database population
  • Health check scheduling

In-Browser Claude Code

The chat panel connects via WebSocket to the bridge, which wraps the local Claude CLI:

  • Run skills (/discover, /health-check)
  • Execute agent tasks with full context
  • Interactive conversations
  • No terminal hopping required

Credential Management

Credentials flow through Infisical:

  1. Discovered in local .env files or Infisical
  2. Associated with services
  3. Tested for validity
  4. Synced bidirectionally

MCP Server

The API exposes an MCP-compatible interface at /mcp:

Tools:

  • list_services - List all discovered services
  • get_service - Get service details
  • refresh_service - Check service status
  • start_discovery - Begin network scan
  • sync_secrets - Sync with Infisical

Resources:

  • nexus://services - All services
  • nexus://discovery - Discovery jobs
  • nexus://credentials - Credential metadata

Summary

BenefitDescription
VisibilitySingle pane of glass for all homelab services
ControlManage services without SSH hopping
IntegrationClaude Code access from anywhere
SecurityCentralized credential management