Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Astro Fox is a fast, lightweight Astro template generator for blogs and portfolios, with CLI tools and built-in SEO, search, and RSS.
Astro Fox is a fast, lightweight Astro template for building blogs and portfolios, shipped with a CLI generator that scaffolds a complete project and creates content entries from the terminal. It runs on the Astro static site generator, uses TailwindCSS for styling, and renders interactive components with SolidJS.
Astro Fox is an open-source template generator based on Astro's SSG model. Running astro-fox init my-blog produces a project with source folders for blog, log, and project content, plus pages for the home page, blog list and detail, log list and detail, project list and detail, and an about page. The output is a static website that deploys to Vercel, Netlify, or Cloudflare Pages. The project is maintained by LimChaeJune and released under the MIT license.
astro-fox init for scaffolding, astro-fox blog for posts, astro-fox log for log entries, and astro-fox projects for project pages, each accepting flags for description, tags, company, and dates.src/content with a frontmatter schema defined in src/content/config.ts via Astro's Content Collections API.astro-fox init, then customize the Tailwind config and content collections.astro-fox blog "My New Post" -d "A short description" -t "tag1,tag2" and publish with RSS and search enabled.astro-fox projects "Project Alpha" -c "MyCompany" -s "2024-01-01" -e "2024-12-31" to create dated project entries with detail pages.astro-fox log "Daily Log" -d "What I did today" -t "work,learning" and view them on a dedicated log page.There are two setup paths. You can install the CLI globally with npm install -g @cj.lim/astro-fox and run astro-fox init project-name, or you can clone the GitHub repository and install dependencies with pnpm. Both lead to a local dev server via pnpm run dev, production builds with pnpm run build, and static deployment to Vercel, Netlify, or Cloudflare Pages. Additional scripts handle preview, ESLint, and Prettier.
Yes, Astro Fox is open source under the MIT license, so it is free to use, modify, and distribute. The source is public on GitHub and accepts pull requests.
Posts in src/content/blog need title, summary, date, tags, and categories. Optional fields are image and draft. The schema is enforced by Astro's Content Collections in src/content/config.ts.
The template defaults to pnpm but supports npm and yarn. The available scripts for dev, build, and preview are the same no matter which manager you choose.
Because it is a static site generator, output can be deployed to Vercel, Netlify, or Cloudflare Pages by connecting a Git repo or uploading the build folder.
Edit tailwind.config.mjs to adjust colors, fonts, and design tokens, and replace public/favicon.svg for the favicon. The astro.config.mjs file controls the site URL and build format, including format: "file" and inlineStylesheets: "auto".
