Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
An Astro theme for building your personal bookshelf — organize books by chapter with a clean, wiki-style layout.
ChapterLog is a minimal Astro theme for building a personal bookshelf, organizing books by chapter with a clean, wiki-style layout. The open-source theme, published under an MIT license, generates a fully static site from YAML and Markdown files, so you can deploy it to any static hosting service.
ChapterLog is an Astro content-collection theme created by GitHub user IMMINJU. It takes book metadata in a book.yaml file and chapter content in Markdown files as inputs, and outputs a bookshelf home page, per-book overview pages, and a chapter reader with sidebar navigation. The theme uses Astro's content collections, marked for Markdown parsing, and js-yaml for YAML parsing, and it ships with search, RSS, sitemap, and Open Graph support built in.
category field in book.yaml and displays cover images; up to 5 color palettes are assigned automatically per category.WikiLayout.astro layout.api/search-index.json.ts, lets visitors filter books and chapters as they type.styles/global.css.rss.xml.ts for RSS, a sitemap, Open Graph metadata, and canonical URLs.src/data/labels.ts, so you can edit or translate them without touching component code.npm create astro.book.yaml plus Markdown chapter files, and ChapterLog generates the home page grouped by category.sections frontmatter in each chapter to generate a clickable table of contents in the sidebar.After scaffolding a project with the template, you add books as folders under src/content/books, each containing a book.yaml file that defines parts and chapter slugs, plus Markdown files for each chapter. The data loader in src/data/books.ts parses these with js-yaml and marked, and the Astro pages under src/pages/[book]/ render the index and chapter views. The build outputs static HTML you can host anywhere.
Yes. ChapterLog is open source and released under the MIT license, so you can use, modify, and redistribute it freely.
Inside src/content/books, create a folder with a book.yaml file (title, author, publisher, category, cover, parts) and one Markdown file per chapter. The home page and chapter pages are generated automatically.
Because ChapterLog generates a fully static site, it works on Vercel, Netlify, Cloudflare Pages, GitHub Pages, or any other static file host.
Colors are applied automatically, cycling through up to 5 distinct palettes based on the category. There is no built-in override documented in the theme README.
