Skip to content

Self-hosted monitoring for homelabs: host and container metrics and uptime checks from all your machines in one dashboard, with an optional AI agent that diagnoses incidents and suggests fixes.

chore(project rename): changed the name of the project and updated all docs

karloks20051b6c8c21d10d
diff --git a/.claude/skills/security-audit/references/threat-model.md b/.claude/skills/security-audit/references/threat-model.md
index e20e4e6..36bf70b 100644
--- a/.claude/skills/security-audit/references/threat-model.md
+++ b/.claude/skills/security-audit/references/threat-model.md
@@ -1,4 +1,4 @@
-# Model prijetnji (Homelab Agent)
+# Model prijetnji (Infradeck)
Sažetak arhitekture i povjerenja, izveden iz `SECURITY.md` i koda. Ako se kod i ovaj dokument
razilaze, **vjeruj kodu** i to prijavi kao nalaz o dokumentaciji.
diff --git a/README.md b/README.md
index 34c6b83..ab17364 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Vexion
+# Infradeck
A self-hosted dashboard for monitoring all your homelab machines in one place.
One machine runs the dashboard; every other machine runs a small collector that
diff --git a/SECURITY.md b/SECURITY.md
index 371bae2..ed3dfe5 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -1,6 +1,6 @@
# Security
-Homelab Agent is meant to be self-hosted by people who care about the machines it watches.
+Infradeck is meant to be self-hosted by people who care about the machines it watches.
This page says what each component can reach, so you can decide what to run.
## Components and what they can touch
diff --git a/SETUP_DATABASES.md b/SETUP_DATABASES.md
index 4364fdd..464a37e 100644
--- a/SETUP_DATABASES.md
+++ b/SETUP_DATABASES.md
@@ -5,7 +5,7 @@ This project includes a simple local PostgreSQL + Redis stack for development.
## Start services
```bash
-cd /media/karlo/data/Documents/programming/homelab-agent
+cd /media/karlo/data/Documents/programming/Infradeck
docker compose up -d
```
diff --git a/TESTS.md b/TESTS.md
index c3daf03..b6962d5 100644
--- a/TESTS.md
+++ b/TESTS.md
@@ -1,6 +1,6 @@
# Tests
-Vexion ships with an automated test suite. This page explains how to run it, what it
+Infradeck ships with an automated test suite. This page explains how to run it, what it
covers (and what it doesn't), and what every single test is for, so you can decide
whether a failure matters before you upgrade or change your setup.
@@ -192,7 +192,7 @@ out of their own install.
| `test_malformed_codes_are_rejected` *(12 inputs)* | Empty, short, long, non-numeric, huge and non-string codes are refused without errors. |
| `test_spaces_and_a_hyphen_in_a_typed_code_are_ignored` | `123 456` and `123-456` are accepted as `123456`. |
| `test_new_secrets_are_random_and_authenticator_friendly` | Every secret is different and uses the base32 letters authenticator apps expect. |
-| `test_the_otpauth_link_names_the_account_and_issuer_safely` | The link you paste into an authenticator carries the account and "Vexion", with odd characters escaped. |
+| `test_the_otpauth_link_names_the_account_and_issuer_safely` | The link you paste into an authenticator carries the account and "Infradeck", with odd characters escaped. |
| `test_recovery_codes_are_random_formatted_and_normalised` | Ten distinct recovery codes in `XXXX-XXXX-XXXX-XXXX` form; typing them in lower case or without hyphens still matches. |
| `test_things_that_are_not_recovery_codes_are_refused` *(7 inputs)* | Wrong length, wrong characters and non-strings are not treated as recovery codes. |
| `test_secrets_are_encrypted_and_round_trip` | A secret is encrypted with `SECRETS_KEY` and decrypts back; the stored text doesn't contain it. |
diff --git a/src/agent/collector.py b/src/agent/collector.py
index 62ea426..4af326d 100644
--- a/src/agent/collector.py
+++ b/src/agent/collector.py
@@ -1,4 +1,4 @@
-"""Read-only host and Docker metrics collector for a registered Homelab server.
+"""Read-only host and Docker metrics collector for a registered Infradeck server.
Only HOMELAB_API_URL is required. On first start the collector asks to join and
appears on the dashboard under "New servers detected"; once someone clicks Add
diff --git a/src/backend/__init__.py b/src/backend/__init__.py
index 9b57c32..523e322 100644
--- a/src/backend/__init__.py
+++ b/src/backend/__init__.py
@@ -1 +1 @@
-"""Backend package for the homelab agent."""
+"""Backend package for Infradeck."""
diff --git a/src/backend/main.py b/src/backend/main.py
index 9c79061..b8c8994 100644
--- a/src/backend/main.py
+++ b/src/backend/main.py
@@ -201,7 +201,7 @@ def agent_error_message(exc: Exception) -> str:
redis_client = redis.Redis.from_url(REDIS_URL, decode_responses=True)
# The interactive API documentation is a map of every endpoint, so it is off unless ENABLE_API_DOCS=true.
-app = FastAPI(title="Homelab Agent API", docs_url="/docs" if ENABLE_API_DOCS else None, redoc_url=None, openapi_url="/openapi.json" if ENABLE_API_DOCS else None)
+app = FastAPI(title="Infradeck API", docs_url="/docs" if ENABLE_API_DOCS else None, redoc_url=None, openapi_url="/openapi.json" if ENABLE_API_DOCS else None)
UNSAFE_METHODS = {"POST", "PUT", "PATCH", "DELETE"}
@@ -2160,4 +2160,4 @@ def agent_chat(payload: AgentChatRequest, session_id: Annotated[str | None, Cook
@app.get("/")
def root():
- return {"message": "Homelab Agent API"}
+ return {"message": "Infradeck API"}
diff --git a/src/backend/totp.py b/src/backend/totp.py
index 3bb0e04..4bd9ded 100644
--- a/src/backend/totp.py
+++ b/src/backend/totp.py
@@ -66,7 +66,7 @@ def verify(secret: str, code, last_step: int | None = None, now: float | None =
return matched
-def otpauth_uri(secret: str, account: str, issuer: str = "Vexion") -> str:
+def otpauth_uri(secret: str, account: str, issuer: str = "Infradeck") -> str:
label = quote(f"{issuer}:{account}", safe="")
return f"otpauth://totp/{label}?secret={secret}&issuer={quote(issuer, safe='')}&algorithm=SHA1&digits={DIGITS}&period={PERIOD_SECONDS}"
diff --git a/tests/accounts/test_account_security.py b/tests/accounts/test_account_security.py
index 79a9f8b..d024441 100644
--- a/tests/accounts/test_account_security.py
+++ b/tests/accounts/test_account_security.py
@@ -69,7 +69,7 @@ def test_new_secrets_are_random_and_authenticator_friendly():
def test_the_otpauth_link_names_the_account_and_issuer_safely():
uri = totp.otpauth_uri("ABCDEFGH", "[email protected]&x=1")
- assert uri.startswith("otpauth://totp/Vexion%3Aa%2Bb%40example.com%26x%3D1?secret=ABCDEFGH&issuer=Vexion") and "&x=1&" not in uri
+ assert uri.startswith("otpauth://totp/Infradeck%3Aa%2Bb%40example.com%26x%3D1?secret=ABCDEFGH&issuer=Infradeck") and "&x=1&" not in uri
def test_recovery_codes_are_random_formatted_and_normalised():