How zt3xdv/zt3xdv.github.io works
This is a personal webpage that fetches the author's GitHub profile and repository README, then presents both as a profile sidebar and rendered Markdown. The browser entry mounts the viewer; the viewer checks local cache first, otherwise fetches both resources, caches the results, and manages loading and error states. README images receive special handling for relative paths. The README describes this as forwarding the profile repository's README; sampled source supports the fetch, rendering, and cache flow. Details of styling and the unsampled HTML shell are not expanded.
Main entry points: ReadmeViewer.tsx README viewer · index.ts Browser page · main.tsx React mount · ReadmeContent.tsx Markdown renderer
Components 13
Web runtime
- Browser page
src/index.ts - React mount
src/main.tsx - README viewer
src/ReadmeViewer.tsx
README presentation
- Markdown renderer
src/components/ReadmeContent.tsx - README image renderer
src/components/Image.tsx - Profile sidebar
src/components/ProfileSidebar.tsx - Loading indicator
src/components/Spinner.tsx - Page footer
src/components/Footer.tsx
Fetch and cache
- Local cache
src/constants.ts
Other components
- Visitor
- Repository README
- GitHub profile API
- GitHub raw assets
Connections 12
- Visitor → Browser page: opens page
README.md - Browser page → React mount: serves app
src/index.ts - React mount → README viewer: renders
src/main.tsx - README viewer → Local cache: checks and writes
src/ReadmeViewer.tsx - README viewer → Repository README: fetches README
src/ReadmeViewer.tsx - README viewer → GitHub profile API: fetches profile
src/ReadmeViewer.tsx - README viewer → Markdown renderer: passes content
src/ReadmeViewer.tsx - README viewer → Profile sidebar: passes profile
src/ReadmeViewer.tsx - README viewer → Loading indicator: shows while loading
src/ReadmeViewer.tsx - README viewer → Page footer: renders
src/ReadmeViewer.tsx - Markdown renderer → README image renderer: renders images
src/components/ReadmeContent.tsx - README image renderer → GitHub raw assets: resolves relative paths
src/components/Image.tsx