Skip to content

Conversation

@typelets
Copy link
Owner

Summary

  • Add Cloudflare Worker for server-side rendering of /p/* routes
  • Google and social media crawlers now see full HTML content instead of empty <div id="root"></div>
  • Includes SEO meta tags, Open Graph, Twitter Cards, and JSON-LD Article schema
  • Edge caching: 1hr browser, 24hr CDN

Test plan

  • Deploy worker to Cloudflare
  • Verify curl https://app.typelets.com/p/{slug} returns full HTML
  • Check "View Page Source" shows note content
  • Test with Google Rich Results Test
  • Test social previews (Twitter Card Validator, Facebook Debugger)

Fixes #47

@typelets typelets self-assigned this Nov 28, 2025
@typelets typelets added the enhancement New feature or request label Nov 28, 2025
@rui-typelets rui-typelets force-pushed the feature/ssr-public-notes branch from af6210c to d52a175 Compare November 28, 2025 21:19
Fixes #47

- Add Cloudflare Worker for server-side rendering of /p/* routes
- Generate full HTML with content for search engine indexing
- Include SEO meta tags, Open Graph, Twitter Cards, JSON-LD schema
- Strip sensitive data attributes (note IDs) from rendered content
- Edge caching: 1hr browser, 24hr CDN
- Update main README with SSR documentation reference
@rui-typelets rui-typelets force-pushed the feature/ssr-public-notes branch from d52a175 to 68e2581 Compare November 28, 2025 21:23
@typelets typelets merged commit 984958f into main Nov 28, 2025
3 checks passed
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.43.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request released

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add SSR for Public Notes (SEO + Performance)

3 participants