Skip to content

sunway910/SunwayBlog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunway Blog - Life / Dev / Ops

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.

About This Blog

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

Technology Stack

This blog is built using:

Features

  • 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

Development

First, install the dependencies:

yarn

Please note, that if you are using Windows, you may need to run:

$env:PWD = $(Get-Location).Path

Then, run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

Deployment

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

Content Structure

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']
---

About the Author

I'm Sunway, a software engineer and SRE passionate about cloud native technologies, DevOps practices, and modern web development. You can find me on:

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

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.

Acknowledgments

This blog is built on the excellent Tailwind Nextjs Starter Blog template. Special thanks to the original authors for creating such a solid foundation.

About

Sunway Blog

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • MDX 71.2%
  • TypeScript 15.0%
  • HTML 11.6%
  • JavaScript 1.3%
  • Other 0.9%