fix: nostrText format — short teaser, URL as the star

Kind 1 notes render differently on every client (Damus, Primal, Amethyst,
Snort, etc). The fix: keep the kind 1 as a 5-line teaser that works as
plain text on any client, with the full formatted issue at the URL.

Issue #001 nostrText trimmed from 14 lines to 4.
Added template comment with rules for all future issues:
- Max 5 content lines before the URL
- No bullet lists
- URL always on its own line
- 3 hashtags max

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-06-18 15:00:26 +07:00
parent 4f7b741d77
commit b5edb0ab52

View file

@ -62,7 +62,26 @@ export interface NewsletterIssue {
spotOfTheWeek?: SpotOfTheWeek;
/** Free-text community section — 2-3 sentences max */
communityNote: string;
/** Plain-text version used for the kind 1 Nostr note */
/**
* Plain-text teaser posted as a kind 1 Nostr note.
*
* TEMPLATE (copy this for every new issue):
*
* 🛹 SkateSpots Weekly #00X
*
* [One punchy sentence summing up the week — what was the theme?]
* [One sentence on the most important thing that shipped.]
*
* Full issue: https://skate-spots.org/newsletter
*
* #skateboarding #nostr #skatespots
*
* Rules:
* - Max 5 lines of content before the URL
* - No bullet lists — clients render them differently
* - URL always on its own line, always last before hashtags
* - 3 hashtags max — more looks spammy
*/
nostrText: string;
}
@ -127,20 +146,11 @@ export const NEWSLETTER_ISSUES: NewsletterIssue[] = [
spotOfTheWeek: undefined,
communityNote:
"The relay at wss://goskatespots.nostr1.com is live and growing. Spots, shops, events, coaches, filmers, editors and tours are all flowing through it. Add it to your Nostr client to follow the scene directly.",
nostrText: `🛹 SkateSpots Weekly — Issue #001
nostrText: `🛹 SkateSpots Weekly #001
Security week. Eight improvements shipped:
Security week. Fake spot protection, URL sanitization, map clustering, phishing warnings and more — eight improvements shipped to keep the community clean and the map usable.
🔐 Fake spot protection (geohash validation, null island blocked)
🔐 URL sanitization on shops & profiles
👑 Official badge for verified founder content
🗺 Map marker clustering (cities are navigable again)
🚫 Content length limits across all parsers
📊 Trusted count on community stats
🛡 DM phishing warning banner
⚡ Smart WoT trust filter defaults
Full breakdown: https://skate-spots.org/newsletter
Full issue: https://skate-spots.org/newsletter
#skateboarding #nostr #skatespots`,
},