Add custom homelab dashboard stack

This commit is contained in:
2026-04-05 13:43:03 +02:00
parent 450a04a7d3
commit 89b9173c25
38 changed files with 3539 additions and 0 deletions
@@ -0,0 +1,16 @@
from __future__ import annotations
from fastapi import APIRouter, Depends
from app.models.system import SystemResponse
from app.services.aggregator import AggregatorService, get_aggregator_service
router = APIRouter(prefix="/api", tags=["system"])
@router.get("/system", response_model=SystemResponse)
async def get_system(
aggregator: AggregatorService = Depends(get_aggregator_service),
) -> SystemResponse:
return await aggregator.get_system()