diff --git a/HISTORY.md b/HISTORY.md index 48122dc..fa7e1bb 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,11 @@ +## 2026-07-27 - The Trendshift daily-Kotlin award on the README and landing hero + +- Trigger: Trendshift ranked the repository #1 Kotlin repository of the day on 23 Jul 2026, and the maintainer asked whether the badge it hands out belonged on the README. It did, and the landing pages were added in the same pass. +- Analysis: the snippet Trendshift generates embeds their live badge URL, and the two public surfaces fetch images very differently. GitHub proxies README images through camo, so a reader never contacts Trendshift and a live badge stays accurate on its own. GitHub Pages proxies nothing — the same URL there would have every visitor's browser hit a third party, on the page whose whole argument is that Markleaf does not phone home. The snippet also carries `target="_blank" rel="noopener noreferrer"`, which GitHub strips and replaces with `rel="nofollow"`, and a URL-encoded `alt` (`jeiel85%2Fmarkleaf-android | Trendshift`). +- Contract/scope: live URL in the six READMEs, a checked-in copy of the SVG (3.7 KB, self-contained — no external refs or scripts, internal gradient ids only) on the six landing pages. README block sits between the tagline and the shields row, because a 250x55 badge beside 20px shields reads badly; landing markup is one `a.hero-award` under the release line, with a three-line CSS rule since the global `img` rule already caps width. Alt text translated per language, the way the demo clips already are. `docs/assets/README.md` records why the file is checked in and how to refresh it. +- Verification: `check-landing-overflow.mjs` passes 12 pages x 6 widths; `verify-landing-versions.ps1` still passes. A headless render of all six landing pages at 320px and 1280px confirms the SVG loads (natural 250x55), renders at 250x55, sits 24px below the release line, stays inside the viewport and the hero block, and carries non-empty alt everywhere. `gh api -X POST markdown` on the README header confirms the embed survives GitHub's sanitiser with its link (utm parameters intact), dimensions and alt. +- No CHANGELOG entry, against the Codex review's P1: that file is strictly version-sectioned and is the literal source the release job's awk parser cuts release notes from, it has no Unreleased section, and this change carries no version bump — recording it would mean inventing a version or editing v2.32.1's already-published notes. Nothing about the app changed. PR #282, the nearest analogue, logged HISTORY only for the same reason. + ## 2026-07-27 - The editor caret takes the theme's colour, and v2.32.1 (#283) - Trigger: an F-Droid user on 2.28.3 wrote in with two screenshots — a dark page, a themed drag handle, and a black caret they had to hunt for, in both Markleaf Green and Material You (#283). diff --git a/README.de.md b/README.de.md index 68ca128..a9a723a 100644 --- a/README.de.md +++ b/README.de.md @@ -9,6 +9,10 @@ Eine local-first, minimalistische Markdown-Notiz-App für Android
+ +
diff --git a/README.es.md b/README.es.md
index 3698dc3..a2b3918 100644
--- a/README.es.md
+++ b/README.es.md
@@ -9,6 +9,10 @@
Una app de notas Markdown minimalista y local-first para Android
diff --git a/README.fr.md b/README.fr.md
index f8d32a4..94a91cf 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -9,6 +9,10 @@
Une application de notes Markdown minimaliste et local-first pour Android
diff --git a/README.ja.md b/README.ja.md
index 4f11554..2fc4f5d 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -9,6 +9,10 @@
Android 向けのローカルファースト・ミニマルな Markdown メモアプリ
diff --git a/README.ko.md b/README.ko.md
index 696aba4..0539f8f 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -9,6 +9,10 @@
Android용 로컬 우선(Local-first) 미니멀 Markdown 메모 앱
diff --git a/README.md b/README.md
index 4bfa111..c6c07ac 100644
--- a/README.md
+++ b/README.md
@@ -9,6 +9,10 @@
A local-first, minimal Markdown note app for Android
diff --git a/docs/assets/README.md b/docs/assets/README.md
index 04dba72..efa4d28 100644
--- a/docs/assets/README.md
+++ b/docs/assets/README.md
@@ -50,3 +50,27 @@ URLs regardless.
| `markleaf-feature-graphic-1024x500.png` | Play Console feature graphic |
| `markleaf-playstore-icon-512.png` | Play Console app icon |
| `logo.svg` | Landing header |
+
+## Badges
+
+| File | Use |
+|---|---|
+| `trendshift-daily-kotlin.svg` | Landing hero award badge, all six languages |
+
+### Why a local copy and not Trendshift's live badge URL
+
+Trendshift serves this badge from `trendshift.io/api/badge/…`, and that is what
+the six READMEs embed: GitHub proxies README images through camo, so a reader
+never contacts Trendshift. GitHub Pages proxies nothing. Embedding the live URL
+here would have every visitor's browser hit a third party, on the page whose
+whole argument is that Markleaf does not phone home — so the landing pages serve
+this checked-in copy instead.
+
+The cost is that the file no longer follows the live badge. That is acceptable
+because it records a dated achievement — #1 Kotlin repository of the day, first
+reached 23 Jul 2026 — and not a current standing. Re-download it only if the
+award itself changes:
+
+```
+curl -L "https://trendshift.io/api/badge/trendshift/repositories/58116/daily?language=Kotlin" -o docs/assets/trendshift-daily-kotlin.svg
+```
diff --git a/docs/assets/trendshift-daily-kotlin.svg b/docs/assets/trendshift-daily-kotlin.svg
new file mode 100644
index 0000000..a041243
--- /dev/null
+++ b/docs/assets/trendshift-daily-kotlin.svg
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/docs/index.de.html b/docs/index.de.html
index 718211d..079c2e5 100644
--- a/docs/index.de.html
+++ b/docs/index.de.html
@@ -92,6 +92,9 @@
Jetzt v2.32.1 · Kostenlos · Apache-2.0
+ +Ahora v2.32.1 · Gratis · Apache-2.0
+ +Maintenant v2.32.1 · Gratuit · Apache-2.0
+ +Now v2.32.1 · Free · Apache-2.0
+ +現在 v2.32.1 · 無料 · Apache-2.0
+ +현재 v2.32.1 · 무료 · Apache-2.0
+ +