My personal blog built with Astro — terminal/cyberpunk aesthetic, image galleries, global search, and more.
Requirements: Node.js 20+ and pnpm.
pnpm install
pnpm run dev
# → http://localhost:4321To test the Pagefind search index locally:
pnpm run build && pnpm run previewdocker build -t lilhuy-blog .
docker run -p 4321:80 lilhuy-blog| Command | Action |
|---|---|
pnpm install |
Install dependencies |
pnpm run dev |
Local dev server at localhost:4321 |
pnpm run build |
Production build (astro check + build + Pagefind) |
pnpm run preview |
Preview the production build |
pnpm run format |
Format with Prettier |
pnpm run lint |
Lint with ESLint |
Edit src/config.ts to update site metadata, timezone, galleries toggle, and audio player settings.
Social links and share links are defined in src/constants.ts.
Template based on astro-devosfera by 0xdres, which itself is based on AstroPaper by Sat Naing. Both licensed under MIT.