Build Your Own Blog with Blog Kit
Blog Kit is a modern, TypeScript-first toolkit designed to help you build your own blog with markdown in minutes. Whether you're creating a personal blog, documentation site, or content platform, Blog Kit provides all the essential tools you need to build a professional blog with minimal configuration.
Perfect for developers, writers, and content creators who want full control over their blog without the complexity of traditional CMS platforms.
Key Features
Core Package
- ✅ Parse markdown files with frontmatter (using gray-matter)
- ✅ Extract blog metadata (title, description, date, category)
- ✅ Calculate reading time automatically (using reading-time)
- ✅ Sort blogs by date (newest first)
- ✅ TypeScript support with full type definitions
- ✅ Zero dependencies on React or UI frameworks
React Package
- ✅ Beautiful, customizable markdown rendering (using react-markdown)
- ✅ Syntax highlighting for code blocks (using rehype-prism-plus)
- ✅ GitHub Flavored Markdown (GFM) support (using remark-gfm)
- ✅ Raw HTML rendering support (using rehype-raw)
- ✅ Automatic heading IDs for anchor links (using rehype-slug-custom-id)
- ✅ Responsive blog card components
- ✅ Search and filter functionality via
useBlogshook - ✅ Loading placeholders
- ✅ Customizable styling with Tailwind CSS classes
- ✅ TypeScript support with full type definitions
- ✅ Works with any routing library (Next.js, Remix, etc.)
Use Cases
Blog Kit is perfect for:
- Personal Blogs - Share your thoughts, tutorials, and experiences
- Documentation Sites - Create beautiful docs with markdown
- Portfolio Projects - Showcase your writing and technical skills
- Content Platforms - Build content-driven applications
- Technical Blogs - Write about code with syntax highlighting
- Company Blogs - Professional blog systems with minimal setup
Packages
- @haroonwaves/blog-kit-core - Core utilities for parsing markdown blog files with frontmatter
- @haroonwaves/blog-kit-react - React components and hooks for rendering blogs
Live Demo
haroonwaves.github.io/blog - A full blog built using Blog Kit.
Getting Started
Ready to build your blog? Get started in minutes:
- Install - Add Blog Kit to your project
- Quick Start - Follow our step-by-step guide
- API Reference - Explore all available features
Or jump straight to the Quick Start Guide to see Blog Kit in action.