This is the source code repository for Sunway's personal blog, where I share insights and experiences across three main areas: Life, Development, and Operations.
Sunway Blog is a personal space where I document my journey in technology and life. The content is organized around three core themes:
- Life: Personal experiences, reflections, and life lessons
- Dev: Software development, programming techniques, and technical insights
- Ops: DevOps practices, infrastructure management, cloud native technologies, and SRE
The blog covers topics such as:
- Web development and modern frameworks
- DevOps and SRE practices
- Cloud native technologies
- Infrastructure as Code
- System design and architecture
- Programming languages and tools
- Personal growth and professional development
This blog is built using:
- Next.js - React framework for production
- Tailwind CSS - Utility-first CSS framework
- Contentlayer - Content management
- TypeScript - Type-safe JavaScript
- MDX - JSX in Markdown
- Tailwind Nextjs Starter Blog - Base template
- Modern Next.js 15 with App Router and React Server Components
- Responsive design with Tailwind CSS
- Light and dark theme support
- SEO optimized with sitemaps and RSS feeds
- Syntax highlighting for code blocks
- Math display support with KaTeX
- MDX support for rich content
- Comment system integration
- Search functionality
- Analytics integration
- Newsletter subscription support
First, install the dependencies:
yarnPlease note, that if you are using Windows, you may need to run:
$env:PWD = $(Get-Location).PathThen, run the development server:
yarn devOpen http://localhost:3000 with your browser to see the result.
This blog is designed to be easily deployed on various platforms:
- Vercel: The easiest option for Next.js applications
- Netlify: With Next.js runtime enabled
- GitHub Pages: Using static export
- Self-hosting: With Node.js or Docker
Blog posts are stored in the data/blog directory as MDX files with the following frontmatter:
---
title: 'Post Title'
date: '2025-01-01'
tags: ['devops', 'kubernetes', 'cloud']
draft: false
summary: 'Brief summary of the post'
images: ['/static/images/post-image.jpg']
authors: ['default']
---
I'm Sunway, a software engineer and SRE passionate about cloud native technologies, DevOps practices, and modern web development. You can find me on:
This project is licensed under the MIT License - see the LICENSE file for details.
While this is primarily a personal blog, if you find issues with the code or have suggestions for improvements, feel free to open an issue or submit a pull request.
This blog is built on the excellent Tailwind Nextjs Starter Blog template. Special thanks to the original authors for creating such a solid foundation.