GitHub - the3ash/astro-chiri: Minimal blog theme built with Astro. · GitHub
Skip to content

the3ash/astro-chiri

Repository files navigation

Chiri 🌸

screenshot-light screenshot-dark

Chiri is a minimal blog theme built with Astro, offering customization options while preserving its clean aesthetic.

Check the demo for more details.

Features

  • Build with Astro
  • Responsive
  • Light / Dark mode
  • MDX
  • KaTeX
  • Sitemap
  • OpenGraph
  • RSS

Getting Started

  1. Fork this repository, or use this template to create a new repository.

  2. Run the following commands:

    git clone <your-repo-url>
    
    cd <your-repo-name>
    
    pnpm install
    
    pnpm dev
  3. Edit src/config.ts and src/content/about/about.md to your liking.

  4. Use pnpm new <title> to create new posts, or add your posts to src/content/posts.

  5. Build with pnpm build and deploy the generated dist/ directory to any static hosting platform. Link Card metadata is fetched automatically during pnpm dev and pnpm build and stored in src/data/link-card-metadata.json so cards render as static HTML.

Deploy to Netlify Deploy to Vercel

Commands

  • pnpm new <title> - Create a new post (use _title for drafts)
  • pnpm update-link-metadata - Refresh metadata for ::link cards (use --force to re-fetch existing entries)
  • pnpm update-theme - Update the theme to the latest version

References

License

MIT