How tsutoringo/blog works
This is an EmDash-powered Cloudflare blog template. Visitors browse and search published posts, follow category/tag archives, read static pages, and receive an RSS feed; site editors manage content through EmDash. The graph preserves the README’s listed capabilities, while the sampled files chiefly verify the Worker entry, CMS configuration, and RSS implementation. Most page internals were not sampled, so route and feature relationships rely on README documentation rather than inferred calls.
Main entry points: astro.config.mjs EmDash CMS · index.astro Homepage · [slug].astro Post detail · rss.xml.ts RSS feed
Components 22
Runtime and CMS
- Worker entry
src/worker.ts - EmDash CMS
astro.config.mjs - D1 database
- R2 media
- Forms plugin
astro.config.mjs - Webhook notifier
astro.config.mjs
Blog browsing
- Homepage
src/pages/index.astro - Post archive
src/pages/posts/index.astro - Post detail
src/pages/posts/[slug].astro - Category archive
src/pages/category/[slug].astro - Tag archive
src/pages/tag/[slug].astro - Full-text search
src/pages/search.astro - Static pages
src/pages/pages/[slug].astro - RSS feed
src/pages/rss.xml.ts - Not found
src/pages/404.astro
Shared presentation
- Site identity
src/utils/site-identity.ts - Reading time
src/utils/reading-time.ts - Post cards
src/components/PostCard.astro - Tag list
src/components/TagList.astro - Base layout
src/layouts/Base.astro - Theme styles
src/styles/theme.css
Other components
- Visitor
Connections 25
- Visitor → Worker entry: requests
README.md - Worker entry → Homepage: serves routes
src/worker.ts - Visitor → Post archive: opens archive
README.md - Visitor → Post detail: opens post
README.md - Visitor → Category archive: browses category
README.md - Visitor → Tag archive: browses tag
README.md - Visitor → Full-text search: searches posts
README.md - Visitor → Static pages: opens page
README.md - Visitor → RSS feed: requests feed
README.md - Visitor → Not found: requests unknown route
README.md - EmDash CMS → D1 database: configures database
astro.config.mjs - EmDash CMS → R2 media: configures storage
astro.config.mjs - EmDash CMS → Forms plugin: registers plugin
astro.config.mjs - EmDash CMS → Webhook notifier: sandboxes plugin
astro.config.mjs - RSS feed → Site identity: resolves identity
src/pages/rss.xml.ts - Post detail → Reading time: estimates duration
README.md - Homepage → Post cards: features posts
README.md - Post archive → Post cards: lists posts
README.md - Homepage → Base layout: renders through
README.md - Full-text search → EmDash CMS: queries content
- Post detail → EmDash CMS: loads post
- Category archive → EmDash CMS: loads archive
- Tag archive → EmDash CMS: loads archive
- Static pages → EmDash CMS: loads page
- RSS feed → EmDash CMS: reads posts
src/pages/rss.xml.ts