π₯οΈ
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
.envfiles, 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 β
βββββββββββ βββββββββββββββββββ
| Service | Purpose | Port |
|---|---|---|
| Web | SvelteKit frontend with glass UI | 3000 |
| API | FastAPI backend, MCP server | 8000 |
| Bridge | Go WebSocket server, Claude CLI wrapper | 8080 |
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:
- Discovered in local
.envfiles or Infisical - Associated with services
- Tested for validity
- Synced bidirectionally
MCP Server
The API exposes an MCP-compatible interface at /mcp:
Tools:
list_services- List all discovered servicesget_service- Get service detailsrefresh_service- Check service statusstart_discovery- Begin network scansync_secrets- Sync with Infisical
Resources:
nexus://services- All servicesnexus://discovery- Discovery jobsnexus://credentials- Credential metadata
Summary
| Benefit | Description |
|---|---|
| Visibility | Single pane of glass for all homelab services |
| Control | Manage services without SSH hopping |
| Integration | Claude Code access from anywhere |
| Security | Centralized credential management |