A beautiful personal blog built with Hexo and the Cactus theme.
- Clean & Modern Design: Beautiful typography and responsive layout
- Fast Performance: Built with Hexo for optimal speed
- GitHub Pages: Free hosting and automatic deployment
- Mobile Friendly: Responsive design that works on all devices
- SEO Optimized: Built-in SEO features and meta tags
- Tag System: Organize posts with tags and categories
- Framework: Hexo - Fast, simple and powerful blog framework
- Theme: Cactus - Clean and responsive theme
- Hosting: GitHub Pages
- Deployment: GitHub Actions for automatic deployment
- Node.js (v18 or higher)
- npm or yarn
- Git
-
Clone the repository
git clone https://github.com/mineshkumar/blog.git cd blog
-
Install dependencies
npm install
-
Start local server
npm run server
-
Open your browser Navigate to
http://localhost:4000
npm run build
This will generate static files in the public/
directory.
npx hexo new "Post Title"
---
title: Post Title
date: 2025-08-09 15:34:21
tags: [tag1, tag2]
categories: [category1]
---
Edit themes/cactus/_config.yml
to customize:
- Navigation menu
- Social media links
- Color scheme
- Layout options
Edit _config.yml
to customize:
- Site title and description
- URL settings
- Deployment configuration
This blog is automatically deployed to GitHub Pages using GitHub Actions. Every push to the main
branch triggers a new deployment.
npm run deploy
blog/
├── .github/ # GitHub Actions workflows
├── node_modules/ # Dependencies
├── public/ # Generated static files
├── scaffolds/ # Post templates
├── source/ # Source files
│ ├── _posts/ # Blog posts
│ └── about/ # About page
├── themes/ # Theme files
│ └── cactus/ # Cactus theme
├── _config.yml # Site configuration
├── package.json # Dependencies
└── README.md # This file
npm run build
- Build the sitenpm run clean
- Clean generated filesnpm run deploy
- Deploy to GitHub Pagesnpm run server
- Start local development server
Feel free to submit issues and enhancement requests!
This project is open source and available under the MIT License.
Built with ❤️ using Hexo and Cactus theme