From 835ae41e882fa7ff734ea5e0f16e2cd41fe909d6 Mon Sep 17 00:00:00 2001 From: kert Date: Wed, 11 Nov 2026 12:57:06 -0500 Subject: [PATCH] feat(gitea): homelab landing as the Gitea home and dashboard The home page, signed-in dashboard and navbar render the homelab landing template (service panels with health badges) instead of Gitea's stock home. --- .../custom/templates/base/head_navbar.tmpl | 182 +++++++ .../custom/templates/custom/extra_links.tmpl | 1 + infra/gitea/custom/templates/home.tmpl | 422 +-------------- .../custom/templates/homelab/landing.tmpl | 509 ++++++++++++++++++ .../templates/user/dashboard/dashboard.tmpl | 3 + 5 files changed, 696 insertions(+), 421 deletions(-) create mode 100644 infra/gitea/custom/templates/base/head_navbar.tmpl create mode 100644 infra/gitea/custom/templates/custom/extra_links.tmpl create mode 100644 infra/gitea/custom/templates/homelab/landing.tmpl create mode 100644 infra/gitea/custom/templates/user/dashboard/dashboard.tmpl diff --git a/infra/gitea/custom/templates/base/head_navbar.tmpl b/infra/gitea/custom/templates/base/head_navbar.tmpl new file mode 100644 index 0000000..0c46797 --- /dev/null +++ b/infra/gitea/custom/templates/base/head_navbar.tmpl @@ -0,0 +1,182 @@ +{{/* fhirworx copy of Gitea 1.25.4 templates/base/head_navbar.tmpl. + Home (custom/extra_links) is the first link, before Explore. + Re-diff against the new version whenever the Gitea image changes. */}} + diff --git a/infra/gitea/custom/templates/custom/extra_links.tmpl b/infra/gitea/custom/templates/custom/extra_links.tmpl new file mode 100644 index 0000000..5decb89 --- /dev/null +++ b/infra/gitea/custom/templates/custom/extra_links.tmpl @@ -0,0 +1 @@ +Home diff --git a/infra/gitea/custom/templates/home.tmpl b/infra/gitea/custom/templates/home.tmpl index dbaf89c..6166fcf 100644 --- a/infra/gitea/custom/templates/home.tmpl +++ b/infra/gitea/custom/templates/home.tmpl @@ -1,423 +1,3 @@ {{template "base/head" .}} - -
-
-
-
-
- -

Homelab

-
- git.fhirworx.io -
-

- Self-hosted infrastructure for FHIR data engineering — version control, CI/CD, - notebooks, and the full lakehouse stack. -

-
-
- -
- Services -

Infrastructure

-
- - - -
- fhirworx.io — self-hosted data lakehouse — © 2025 -
-
- +{{template "homelab/landing" .}} {{template "base/footer" .}} diff --git a/infra/gitea/custom/templates/homelab/landing.tmpl b/infra/gitea/custom/templates/homelab/landing.tmpl new file mode 100644 index 0000000..731e4f4 --- /dev/null +++ b/infra/gitea/custom/templates/homelab/landing.tmpl @@ -0,0 +1,509 @@ + +
+
+
+
+
+ +

Homelab

+
+ git.fhirworx.io +
+

+ Self-hosted infrastructure for FHIR data engineering — version control, CI/CD, + notebooks, and the full lakehouse stack. +

+
+
+ +
+ Services +

Infrastructure

+
+ +
+ + GPU + 💬 +
Chat
+
Comment Chat
+

RAG chat over indexed CMS rulemaking comments, with cited sources

+ healthchecking + +
+
+ + + 📄 +
Claims
+
BCDA Manager
+

Beneficiary Claims Data API v3 — exports, store, load, crosswalk

+ healthchecking + +
+
+ + + 📈 +
LEAD
+
Public mirror
+

Read-only explorer over the public-data DuckDB mirror

+ healthchecking + +
+
+ + + 📊 +
REACH
+
Public mirror
+

Read-only explorer over the public-data DuckDB mirror

+ healthchecking + +
+
+ + + New + 🔗 +
Networking
+
Traefik
+

Cloud-native reverse proxy and load balancer

+ healthchecking + +
+
+ + + 💾 +
Storage
+
RustFS
+

S3-compatible object storage for all your data needs

+ healthchecking + +
+
+ + + 🐙 +
Version Control
+
Gitea
+

Self-hosted Git service with packages and CI

+ healthchecking + +
+
+ + + GPU + 📑 +
Analysis
+
Notebooks
+

Marimo reactive notebooks with CUDA acceleration

+ healthchecking + +
+
+ + + GPU + 📚 +
Research
+
Zotero
+

Research reference manager in the cloud

+ healthchecking + +
+
+ + + New + 📖 +
Documentation
+
Docs
+

API reference and CMS bibliography browser

+ healthchecking + +
+
+ + + Data + 🌳 +
Catalog
+
Nessie
+

Git-like versioned data catalog for Apache Iceberg

+ healthchecking + +
+
+ + + Data + 🔍 +
Query
+
Trino
+

Distributed SQL query engine for the lakehouse

+ healthchecking + +
+
+ + + New + ⭐ +
Catalog
+
Polaris
+

Apache Iceberg catalog with governance and Unity-style access

+ healthchecking + +
+
+ + + 📊 +
Observability
+
Grafana
+

Observability dashboards for metrics, logs, and traces

+ healthchecking + +
+
+ + + 👁 +
Tracing
+
Tempo
+

Distributed tracing for microservices

+ healthchecking + +
+
+ + + 📈 +
Metrics
+
Prometheus
+

Metrics collection and alerting

+ healthchecking + +
+
+ + + 📋 +
Logs
+
Loki
+

Log aggregation system by Grafana

+ healthchecking + +
+
+ + + ⚙ +
API
+
Platform API
+

FastAPI platform backend

+ healthchecking + +
+
+
+ +
+ fhirworx.io — self-hosted data lakehouse — © 2025 +
+
+ diff --git a/infra/gitea/custom/templates/user/dashboard/dashboard.tmpl b/infra/gitea/custom/templates/user/dashboard/dashboard.tmpl new file mode 100644 index 0000000..6166fcf --- /dev/null +++ b/infra/gitea/custom/templates/user/dashboard/dashboard.tmpl @@ -0,0 +1,3 @@ +{{template "base/head" .}} +{{template "homelab/landing" .}} +{{template "base/footer" .}}