Own products & experimentsOwnerOct 2026

This portfolio: Angular 21 SSR with a Markdown content engine

TL;DR

Markdown pages become prerendered routes with JSON-LD, a sitemap and llms.txt, plus a hide/show switchboard, a live code viewer and script downloads.

Period
Oct 2026
Technologies
4
Diagrams
1
Reading time
2 min

AngularTypeScriptSEO / SSRNode.js / Express

2 chapter(s) collapsed in quick read

Summary

A content-driven personal site:

  • a home page built from 7 independent sections (hero with CV download, services, work, about / experience, skills and certificates, academic and hardware projects, contact)
  • a Markdown content engine (content/ → build step → typed content and routes): scripts/*/index.md (12 automation-tool pages with screenshots, TL;DR, FAQ and code), tutorials/, blog/
  • a visibility switchboard (content/visibility.yaml: hide subtrees or pages, show overrides, scheduled release; hidden content is removed from routes, nav, sitemap, llms.txt, search, prerendered HTML and storage publishing)
  • an SEO layer: per-page title / description / canonical / OpenGraph / Twitter / JSON-LD, sitemap.xml, robots.txt, llms.txt / llms-full.txt (AI-crawler friendly; ai.allowTraining: true), a Markdown copy of every page, prerendered HTML (13 pages)
  • script source distribution: storage/scripts/<slug>/{source, dist/*.zip, manifest.json} mirrors a Cloudflare R2 layout; a dev files API in web/src/server.ts (Express 5) has the same contract as a future Cloudflare Worker (path-traversal protection, hidden-script 404s); a live code viewer and download button
  • UI kit: image gallery with stacked reveal and lightbox (zoom, next), code viewer, download button, theme service (dark default, light toggle), analytics service (Cloudflare Web Analytics token slot)

Stack

Angular 21 (core, common, router, forms, platform-browser, platform-server, @angular/ssr 21.0.3), Express 5.1 (SSR server + dev files API), highlight.js 11.12 (code highlighting), RxJS 7.8; Node build scripts (build-content.mjs); planned deploy on Netlify + Cloudflare R2 / Worker. Legacy: Angular 16, Bootstrap 5.

Architecture

Architecture
Diagram as text
flowchart LR
 MD[(content/*.md + site.yaml + visibility.yaml)] --> BUILD[tools/build-content.mjs]
 ST[(storage/scripts/*: source, zip, manifest)] --> BUILD
 BUILD --> DATA[typed content + routes + sitemap + robots + llms.txt]
 DATA --> APP[Angular 21 SSR app: home sections, section/doc pages]
 APP --> PRE[prerendered HTML]
 APP <-->|files API dev / Worker prod| ST
 APP --> SEO[SeoService + JSON-LD]

web/src/app/{core (analytics, config, content model / service, files-api service, jsonld, seo, theme), features/content (content, doc, section, not-found pages), features/portfolio (home, sections, portfolio.data), shared/ui (code-viewer, download-button, image-gallery, lightbox, basics), layout}.

Related projects

Want to discuss this project?

Happy to walk through the architecture, trade-offs or the code.

Email me about it

© 2026 Thuyavan Sivarasa. Script code is MIT licensed.