From dc868f2a8a2853962d1bade6b7db5f93a1679e24 Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Tue, 24 Mar 2026 16:14:10 -0500 Subject: [PATCH] add custom landing page for analytics.python.org Adds a branded landing page with links to public dashboards (python.org, docs, devguide, peps, packaging) so visitors aren't confused by the login screen. Uses busybox httpd as a separate web-landing process for Cabotage path-based routing. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 2 + Procfile | 1 + landing/index.html | 255 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 258 insertions(+) create mode 100644 landing/index.html diff --git a/Dockerfile b/Dockerfile index a726d05aecac..19145a3e045a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,6 +76,8 @@ COPY --chmod=755 ./rel/docker-entrypoint.sh /entrypoint.sh # docker container can be started with arbitrary uid RUN mkdir -p /var/lib/plausible && chmod ugo+rw -R /var/lib/plausible +COPY --chmod=444 ./landing/index.html /app/landing/index.html + USER 999 WORKDIR /app ENV LISTEN_IP=0.0.0.0 diff --git a/Procfile b/Procfile index 4ea9be6ed4c0..a01c29d4d3cb 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,3 @@ web: /app/bin/plausible start +web-landing: /bin/busybox httpd -f -c /dev/null -p 8000 -h /app/landing release: /app/bin/plausible eval Plausible.Release.interweave_migrate diff --git a/landing/index.html b/landing/index.html new file mode 100644 index 000000000000..70bbd7162b2e --- /dev/null +++ b/landing/index.html @@ -0,0 +1,255 @@ + + + + + + Python Infra Analytics — PSF + + + + +
+
+ Python +
+

Python Infra Analytics

+

+ Public web analytics for Python Software Foundation infrastructure. +

+
+ +
+ + +
+ + + + +