Skip to content

⚡ My personal website and blog built with TypeScript, Next.js, and Tailwind CSS

License

Notifications You must be signed in to change notification settings

Devzjta/honghong.me

 
 

Repository files navigation

GitHub codecov CodeFactor Quality Gate Status CI PRs Welcome GitHub top language GitHub repo size

Welcome to my personal blog repository! This repository houses the code for my blog, where I share my thoughts, projects, and insights. Feel free to explore and get inspired.

✨ Features

  • ⚡️ Next.js 13.5.2 with App Router
  • 📝 MDX + Contentlayer
  • 🎨 Tailwind CSS - for styling
  • 🌈 Radix UI - accessible UI components
  • 🛡 Strict TypeScript and ESLint configuration
  • 📚 JSDoc comments for all functions
  • 📱 Responsive design
  • 🌗 Dark mode
  • 📈 SEO optimized with meta tags and JSON-LD
  • 📰 RSS feed
  • 🗺 Sitemap
  • 📊 Umami Analytics
  • 📝 Blog with comments, likes, and post views
  • 🔎 Blog post search
  • 📖 Table of contents for blog posts
  • 📷 Image zoom - zoom in on images in blog posts
  • 📝 Code syntax highlighting - for code blocks in blog posts
  • 🎨 Animation - using Framer Motion
  • 🤖 GitHub Actions for CI/CD
  • 🏠 LightHouse score of nearly 100
  • 🧪 Vitest - unit and integration tests
  • 🎭 Playwright - end-to-end tests
  • ☂️ Codecov - code coverage
  • 🔨 Husky & Lint Staged - lint and format code before committing
  • ✅ Conventional commit lint - make sure commit messages follow the conventional commit format
  • 🔒 NextAuth.js - authentication
  • 💄 Prettier - code formatting
  • ◮ Prisma - ORM
  • 👷🏻‍♂️ t3-env - validate environment variables before building

🔨 Requirements

👋 Getting Started

Follow these steps to run the project locally on your machine:

git clone https://github.com/tszhong0411/honghong.me.git
cd honghong.me
corepack enable
yarn install

Create a .env.local file based on the provided .env.example file and fill in the necessary variables.

yarn dev

The app will become available at http://localhost:3000.

✈️ TODO

🔔 Important Note

Hello there! While I'm glad to see you're interested in my open-source project, I kindly request that you refrain from using this source code as a template for your website. Instead, I encourage you to use it as a learning resource and as inspiration to create something unique.

  • Originality: Building something from scratch allows you to showcase your originality and creativity.
  • Learning: Creating your own project helps you learn and improve your skills.

If you have questions or feedback, please reach out to me. Thank you for understanding!

❤️ Credits

This project has been possible thanks to the wonderful open-source community. Special thanks to Timothy for the Tailwind nextjs starter blog template.


Made with ❤️ in Hong Kong

About

⚡ My personal website and blog built with TypeScript, Next.js, and Tailwind CSS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.2%
  • MDX 12.2%
  • Other 1.6%