# This portfolio: Angular 21 SSR with a Markdown content engine

> 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.

URL: https://thuyavan.netlify.app/projects/portfolio-website
Updated: 2026-10-12

- Period: 2026-10
- Technologies: Angular, TypeScript, SEO / SSR, Node.js / Express

## 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

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}.

## Scripts showcased (link to script docs)

bulk-test-document-generator (→ S09), code-consolidator (HTML tool), directory-file-lister (→ S04), har-to-api-docs-formatter (→ S06 / P26), terabox-link-automation (→ S10 / S11), website-link-crawler (→ S08), logo-color-previewer (→ P28), markdown-file-splitter (→ S05), project-folder-scaffolder (→ S02 / S03), repository-tree-generator (→ S04), stitch-to-pdf-storyboard (no source yet).

## Open items (from the build report)

R2 + Worker upload pending (Cloudflare MCP auth), real source for 5 scripts, Netlify deploy + site URL, analytics token.
