Skip to content

Commit 1c52844

Browse files
committed
Auto-update traffic analytics - 2025-07-15 23:58:35
Updated traffic statistics and interactive chart with latest GitHub data
1 parent 1e5058b commit 1c52844

3 files changed

Lines changed: 51 additions & 10 deletions

File tree

traffic_slope_history.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,46 @@
3939
"days": null
4040
}
4141
}
42+
},
43+
{
44+
"date": "2025-07-15",
45+
"timestamp": "2025-07-15T23:58:35.650924",
46+
"slopes": {
47+
"views": {
48+
"slope": 0.1107142857142857,
49+
"r_squared": 0.02838045361474247,
50+
"days": 15
51+
},
52+
"unique_views": {
53+
"slope": 0.007142857142857147,
54+
"r_squared": 0.00036075036075036124,
55+
"days": 15
56+
},
57+
"clones": {
58+
"slope": -2.192857142857143,
59+
"r_squared": 0.010512017845524678,
60+
"days": 15
61+
},
62+
"unique_clones": {
63+
"slope": -2.828571428571428,
64+
"r_squared": 0.024469537493867616,
65+
"days": 15
66+
},
67+
"stars": {
68+
"slope": 1.0071428571428571,
69+
"r_squared": 0.13775510204081629,
70+
"days": 15
71+
},
72+
"forks": {
73+
"slope": null,
74+
"r_squared": null,
75+
"days": null
76+
},
77+
"active_forks": {
78+
"slope": null,
79+
"r_squared": null,
80+
"days": null
81+
}
82+
}
4283
}
4384
]

traffic_stats_chart.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,23 @@
116116
<body>
117117
<div class="container">
118118
<h1>GitHub Traffic Analytics</h1>
119-
<p class="update-time">Last updated: July 15, 2025 05:24</p>
119+
<p class="update-time">Last updated: July 15, 2025 23:58</p>
120120

121121
<div class="stats">
122122
<div class="stat">
123-
<div class="stat-value">42</div>
123+
<div class="stat-value">49</div>
124124
<div class="stat-label">Total Views</div>
125125
</div>
126126
<div class="stat">
127-
<div class="stat-value">29</div>
127+
<div class="stat-value">32</div>
128128
<div class="stat-label">Unique Views</div>
129129
</div>
130130
<div class="stat">
131-
<div class="stat-value">2789</div>
131+
<div class="stat-value">2726</div>
132132
<div class="stat-label">Total Clones</div>
133133
</div>
134134
<div class="stat">
135-
<div class="stat-value">1939</div>
135+
<div class="stat-value">1893</div>
136136
<div class="stat-label">Unique Clones</div>
137137
</div>
138138
<div class="stat">
@@ -154,9 +154,9 @@ <h1>GitHub Traffic Analytics</h1>
154154
</div>
155155

156156
<div class="chart-controls">
157-
<h3>Growth Trends (18 days of data)</h3>
157+
<h3>Growth Trends (15 days of data)</h3>
158158
<div style="text-align: left; background: white; padding: 15px; border-radius: 8px; margin: 10px 0;">
159-
<p>📉 <strong>Views</strong>: -0.09 per day (R²=0.003)</p><p>📈 <strong>Unique Views</strong>: 0.00 per day (R²=0.000)</p><p>📈 <strong>Clones</strong>: 7.87 per day (R²=0.010)</p><p>📈 <strong>Unique Clones</strong>: 3.39 per day (R²=0.003)</p><p>📈 <strong>Stars</strong>: 2.72 per day (R²=0.520)</p>
159+
<p>📈 <strong>Views</strong>: 0.11 per day (R²=0.028)</p><p>📈 <strong>Unique Views</strong>: 0.01 per day (R²=0.000)</p><p>📉 <strong>Clones</strong>: -2.19 per day (R²=0.011)</p><p>📉 <strong>Unique Clones</strong>: -2.83 per day (R²=0.024)</p><p>📈 <strong>Stars</strong>: 1.01 per day (R²=0.138)</p>
160160
</div>
161161
</div>
162162

@@ -192,7 +192,7 @@ <h2>Traffic Trends Over Time</h2>
192192

193193
<script>
194194
const ctx = document.getElementById('trafficChart').getContext('2d');
195-
const chartData = {"labels": ["2025-06-28", "2025-06-29", "2025-06-30", "2025-07-01", "2025-07-02", "2025-07-03", "2025-07-04", "2025-07-05", "2025-07-06", "2025-07-07", "2025-07-08", "2025-07-09", "2025-07-10", "2025-07-11", "2025-07-12", "2025-07-13", "2025-07-14", "2025-07-15"], "datasets": [{"label": "Total Views", "data": [1, 1, 14, 18, 12, 8, 24, 4, 12, 4, 16, 8, 20, 28, 8, 0, 2, 2], "borderColor": "rgb(75, 192, 192)", "backgroundColor": "rgba(75, 192, 192, 0.1)", "tension": 0.1, "order": 2}, {"label": "Unique Views", "data": [1, 1, 8, 14, 4, 8, 20, 4, 12, 4, 16, 8, 12, 20, 8, 0, 2, 2], "borderColor": "rgb(255, 99, 132)", "backgroundColor": "rgba(255, 99, 132, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Clones", "data": [29, 158, 492, 800, 436, 420, 748, 1348, 1240, 868, 496, 564, 1384, 1048, 696, 338, 216, 117], "borderColor": "rgb(54, 162, 235)", "backgroundColor": "rgba(54, 162, 235, 0.1)", "tension": 0.1, "order": 2}, {"label": "Unique Clones", "data": [28, 138, 454, 730, 428, 400, 680, 1192, 964, 792, 444, 516, 1140, 936, 551, 245, 158, 96], "borderColor": "rgb(255, 206, 86)", "backgroundColor": "rgba(255, 206, 86, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Stars", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 47, 47, 47], "borderColor": "rgb(153, 102, 255)", "backgroundColor": "rgba(153, 102, 255, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Forks", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "borderColor": "rgb(255, 159, 64)", "backgroundColor": "rgba(255, 159, 64, 0.1)", "tension": 0.1, "order": 2}, {"label": "Active Forks", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "borderColor": "rgb(199, 199, 199)", "backgroundColor": "rgba(199, 199, 199, 0.1)", "tension": 0.1, "order": 2}]};
195+
const chartData = {"labels": ["2025-07-02", "2025-07-03", "2025-07-04", "2025-07-05", "2025-07-06", "2025-07-07", "2025-07-08", "2025-07-09", "2025-07-10", "2025-07-11", "2025-07-12", "2025-07-13", "2025-07-14", "2025-07-15", "2025-07-16"], "datasets": [{"label": "Total Views", "data": [3, 2, 6, 1, 3, 1, 4, 2, 5, 7, 2, 0, 1, 1, 11], "borderColor": "rgb(75, 192, 192)", "backgroundColor": "rgba(75, 192, 192, 0.1)", "tension": 0.1, "order": 2}, {"label": "Unique Views", "data": [1, 2, 5, 1, 3, 1, 4, 2, 3, 5, 2, 0, 1, 1, 5], "borderColor": "rgb(255, 99, 132)", "backgroundColor": "rgba(255, 99, 132, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Clones", "data": [28, 105, 187, 337, 310, 217, 124, 141, 346, 262, 198, 140, 108, 100, 117], "borderColor": "rgb(54, 162, 235)", "backgroundColor": "rgba(54, 162, 235, 0.1)", "tension": 0.1, "order": 2}, {"label": "Unique Clones", "data": [27, 100, 170, 298, 241, 198, 111, 129, 285, 234, 156, 99, 79, 80, 111], "borderColor": "rgb(255, 206, 86)", "backgroundColor": "rgba(255, 206, 86, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Stars", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47, 0], "borderColor": "rgb(153, 102, 255)", "backgroundColor": "rgba(153, 102, 255, 0.1)", "tension": 0.1, "order": 2}, {"label": "Total Forks", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "borderColor": "rgb(255, 159, 64)", "backgroundColor": "rgba(255, 159, 64, 0.1)", "tension": 0.1, "order": 2}, {"label": "Active Forks", "data": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "borderColor": "rgb(199, 199, 199)", "backgroundColor": "rgba(199, 199, 199, 0.1)", "tension": 0.1, "order": 2}]};
196196

197197
// Calculate trend lines for each dataset
198198
function calculateTrendline(data) {
@@ -246,7 +246,7 @@ <h2>Traffic Trends Over Time</h2>
246246
plugins: {
247247
title: {
248248
display: true,
249-
text: 'Repository Traffic Analytics (18-Day Historical Trend)',
249+
text: 'Repository Traffic Analytics (15-Day Historical Trend)',
250250
font: { size: 18, weight: 'bold' }
251251
},
252252
legend: {

traffic_stats_history.ndjson

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)