A personal blog built with Next.js, where I write about things that interest me, musings and other topics that I find interesting.
- Modern Stack: Built with Next.js 14 and TypeScript
- Markdown Support: Write blog posts in Markdown with frontmatter
- Clean Design: Minimalist and responsive design focused on readability
- Code Highlighting: Syntax highlighting for code snippets
- Fast Performance: Optimized for quick loading and smooth navigation
- Next.js - React framework for production
- TypeScript - Type safety and better developer experience
- React Markdown - Markdown rendering
- Gray Matter - Frontmatter parsing
- Custom styling with modern CSS
- Clone the repository
git clone <your-repo-url>
cd compiler-blog
- Install dependencies
npm install
# or
yarn install
- Run the development server
npm run dev
# or
yarn dev
- Open http://localhost:3000 with your browser
Blog posts are stored in src/posts
as Markdown files. Each post should include frontmatter with the following format:
---
title: "Your Post Title"
date: "YYYY-MM-DD"
subtitle: "A brief description of your post"
---
Your content here...
npm run dev
- Start development servernpm run build
- Build for productionnpm run start
- Start production servernpm run lint
- Run ESLint
MIT © [Your Name]