diff --git a/.github/scripts/accumulate-traffic.py b/.github/scripts/accumulate-traffic.py index 0660bd8..157b7b8 100644 --- a/.github/scripts/accumulate-traffic.py +++ b/.github/scripts/accumulate-traffic.py @@ -25,7 +25,6 @@ def load_json(path): return None def fetch_from_branch(publish_dir, filename): - """Try to fetch a file from the traffic branch via git.""" full = f"{TRAFFIC_DIR}/{filename}" try: raw = subprocess.check_output( @@ -103,81 +102,77 @@ DASHBOARD_TEMPLATE = r""" system_prompts_leaks — Traffic Dashboard - - - + + -

system_prompts_leaks

-

Traffic history — auto-updated daily from the traffic branch

-
-
Daily Views
-
Daily Clones
-
Top Pages & Referrers (latest 14-day window)
-
-
Top Pages
-
Top Referrers (current window)
+
+

system_prompts_leaks

-
All Referrers (union across all snapshots — peak 14-day count per source)
-
-
Referrer Trends (14-day rolling windows)
-
Top Referrer Counts Over Time
-
Top Pages Over Time
+

Traffic dashboard — auto-updated daily from the traffic branch

+
+
Daily Views

Drag to zoom — click Reset to restore

+
Daily Clones
+
+
Top Pages (14-day window)
+
Top Referrers (14-day window)
+
+

All Referrers — peak 14-day count per source across all snapshots

+
+

Referrer Trends

+
+

Page Trends

+
+

Day Detail

+
Click a day on the views chart to see that day's breakdown
+ """