Marketing site for memtrace — persistent, searchable memory for AI coding agents.
Live: memtrace.sh
- Astro 6 — static site generator
- Tailwind CSS v4 — styling via
@tailwindcss/vite - Vanilla JS — theme toggle, copy buttons, typewriter animation
- GitHub Releases API — latest release version fetched at build time
npm install
npm run dev # http://localhost:4321
npm run build # output to ./dist
npm run preview # preview the build locallyRequires Node ≥ 22.12.0.
src/
├── components/
│ ├── Nav.astro # Navigation + theme toggle
│ ├── HeroTerminal.astro # Install command with copy button
│ ├── TerminalWindow.astro # Reusable terminal shell
│ └── CodeBlock.astro # Code snippet with copy button
├── layouts/
│ └── Layout.astro # Base layout, SEO meta, JSON-LD
├── pages/
│ └── index.astro # Landing page
└── styles/
└── global.css # Tailwind + design tokens (light/dark)
Download links in the install section are fetched from the GitHub Releases API at build time — no manual updates needed when a new version ships, just redeploy.
Any static host works (Netlify, Vercel, Cloudflare Pages). Build output is in ./dist.
Set up automatic deploys from main so release links stay current whenever a new GitHub release triggers a redeploy.