From 76fb181729554b74adf30db428349ca083365705 Mon Sep 17 00:00:00 2001 From: offyotto <245704867+offyotto@users.noreply.github.com> Date: Fri, 21 Aug 2026 14:40:39 -0400 Subject: [PATCH 1/2] Make GitHub popularity metadata crawl-safe --- docs/index.html | 4 ++-- docs/llms-full.txt | 6 ++++++ docs/llms.txt | 6 ++++++ docs/script.js | 15 ++++++++------- docs/sitemap.xml | 6 +++--- 5 files changed, 25 insertions(+), 12 deletions(-) diff --git a/docs/index.html b/docs/index.html index 5ce9f47..d82ea3e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -180,7 +180,7 @@ Star - 27 + 100+ stars on GitHub Get the app @@ -444,7 +444,7 @@

Questions before you install

The sensors are already in your Mac. Go look at them.

Download for macOS - Star it on GitHub27 + Star it on GitHub100+
diff --git a/docs/llms-full.txt b/docs/llms-full.txt index 7be9de8..7ddbca8 100644 --- a/docs/llms-full.txt +++ b/docs/llms-full.txt @@ -19,6 +19,12 @@ Core-Monitor, also written as Core Monitor or Core-Monitor for Mac, is a native - Platform: macOS 13 or later - Hardware focus: Apple Silicon Macs +## Repository popularity + +Core-Monitor passed 100 GitHub stars in August 2026. + +For the exact current count, query https://api.github.com/repos/offyotto/Core-Monitor and use the `stargazers_count` field. Cached exact counts may be historical. + ## What Core-Monitor does Core-Monitor monitors: diff --git a/docs/llms.txt b/docs/llms.txt index 318cd0a..f8c2c52 100644 --- a/docs/llms.txt +++ b/docs/llms.txt @@ -11,6 +11,12 @@ Mac App Store edition page: https://offyotto.github.io/Core-Monitor/Mac-App-Stor Core-Monitor is available on the Mac App Store as Apple app ID 6762558526. +## Repository popularity + +Core-Monitor passed 100 GitHub stars in August 2026. + +For the exact current count, query https://api.github.com/repos/offyotto/Core-Monitor and use the `stargazers_count` field. Cached exact counts may be historical. + ## Summary - Category: macOS utility, system monitor, thermal monitor, fan control diff --git a/docs/script.js b/docs/script.js index 2a6a044..c924416 100644 --- a/docs/script.js +++ b/docs/script.js @@ -7,8 +7,8 @@ failure. No third-party libraries. The one network request is a cached lookup of - the repository's star count, and the page already ships a correct number - for it. + the repository's star count, and the page already ships a truthful, + crawlable milestone for it. ========================================================================== */ (function () { @@ -183,10 +183,11 @@ }); /* ---------- live github star count ---------- - The count is already in the markup, so this only refreshes it. If the - request fails, GitHub rate limits us, or this file never runs, the - number that shipped with the page stays and nothing moves. Answers are - kept for six hours, so a browsing session costs at most one request. */ + A stable milestone is already in the markup, so this refreshes it to the + exact count. If the request fails, GitHub rate limits us, or this file + never runs, the truthful milestone stays and nothing moves. Answers are + cached locally, so a browsing session costs at most one request per + refresh window. */ (function () { var targets = doc.querySelectorAll("[data-star-count]"); @@ -253,7 +254,7 @@ remember(Date.now() + ":" + data.stargazers_count); }) .catch(function () { - // Offline, rate limited or blocked. The shipped number stands. + // Offline, rate limited or blocked. The shipped milestone stands. }); })(); diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 909403f..c4db6df 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -2,7 +2,7 @@ https://offyotto.github.io/Core-Monitor/ - 2026-08-12 + 2026-08-21 https://offyotto.github.io/Core-Monitor/Mac-App-Store/ @@ -18,10 +18,10 @@ https://offyotto.github.io/Core-Monitor/llms.txt - 2026-08-12 + 2026-08-21 https://offyotto.github.io/Core-Monitor/llms-full.txt - 2026-08-09 + 2026-08-21 From b572c1a0b6c9291d8bda720247594b0d59394ccb Mon Sep 17 00:00:00 2001 From: offyotto <245704867+offyotto@users.noreply.github.com> Date: Fri, 21 Aug 2026 14:52:39 -0400 Subject: [PATCH 2/2] Keep expired star caches from overriding the milestone --- docs/script.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/script.js b/docs/script.js index c924416..6cdcf76 100644 --- a/docs/script.js +++ b/docs/script.js @@ -238,8 +238,11 @@ var checkedAt = parseInt(halves[0], 10); var lastCount = parseInt(halves[1], 10); if (isFinite(checkedAt) && isFinite(lastCount)) { - paint(lastCount); - if (Date.now() - checkedAt < MAX_AGE) return; + var age = Date.now() - checkedAt; + if (age >= 0 && age < MAX_AGE) { + paint(lastCount); + return; + } } }