3 Commits
Author SHA1 Message Date
bbeandClaude Opus 5.5 f0a59c33a3 feat: server-render public pages for crawlers
Event and blog detail pages, the homepage and the community and contact
pages now ship their real content in the server HTML instead of loading
it in the browser, so crawlers see events, posts and deep links.

- Event detail renders fully on the server (ISR, 5 minutes); missing
  events return 404. Only the upcoming-events carousel stays client side.
- Blog posts render title, author, date, image and the markdown body on
  the server. The backend fills the body of indexed posts from the Nostr
  event cache. Likes, replies and the profile avatar stay client islands,
  and unresolved slugs keep the in-browser relay fallback. Markdown
  headings shift down one level so the title is the only h1.
- Homepage is a server component with real links to upcoming meetups
  and a new "Latest from the blog" section.
- Social links come from server-fetched settings, with SOCIAL_LINKS as a
  fallback, so no card links to "#" and sameAs lists every profile.
- One pageMetadata helper sets title, canonical, og and twitter tags.
  Section layouts keep the site-name title template alive for nested
  pages, and toMetaDescription cleans event and post descriptions.
- Sitemap: static pages drop lastModified, /board is added, only
  published meetups are listed, and it revalidates hourly.
- Server-side API calls go to the backend on loopback, and the deploy
  script points build-time prerendering at it.
- scripts/seo-check.mjs (npm run seo-check) verifies all of the above.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 01:05:29 +02:00
bbeandClaude Opus 5.5 14d44f1dea feat: improve crawlability of public pages
- Fill indexed blog post bodies from the Nostr event cache (4s cap) so
  posts render on the server instead of only in the browser
- Mark the footer disclaimer data-nosnippet
- Server-side API calls prefer the backend over loopback (BACKEND_PORT)
  before falling back to the public API hostname
- Collapse whitespace in imported post excerpts
- Add lib/text.ts plain-text cleanup helpers for meta tags
- Add scripts/seo-check.mjs crawler-view check

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 00:31:21 +02:00
bbeandCursor ede8817583 fix: harden deploys and close top security holes after /events outage
Isolate next dev from production .next, add build-guard/atomic deploy/health
watchdog, error boundaries, and fix JWT startup, meetup leaks, media path
traversal, SVG/memory uploads, and JSON-LD escaping.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 19:14:57 +02:00