Giter Site home page Giter Site logo

bb81a / honghong.me Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tszhong0411/honghong.me

0.0 0.0 0.0 134.58 MB

⚡ A monorepo of my personal website and blog built with TypeScript, Next.js, and Tailwind CSS

Home Page: https://honghong.me

License: GNU General Public License v3.0

JavaScript 2.42% TypeScript 86.47% CSS 0.73% MDX 10.37%

honghong.me's Introduction

honghong.me

Welcome to the monorepo of my personal blog! 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 14 with App Router (Turbo)
  • 📝 MDX
  • 🎨 Tailwind CSS - for styling
  • 🌈 Radix UI - accessible UI components
  • 🛡 Strict TypeScript and ESLint configuration
  • 📱 Responsive design
  • 🌗 Light / 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 - using Shiki
  • 🎨 Animation - using Framer Motion
  • 🤖 GitHub Actions for CI/CD
  • 🏠 LightHouse score of nearly 100
  • 🔨 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
  • 〰️ Drizzle - 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
pnpm install

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

OR you can skip this by modifying apps/web/src/env.ts:

export const env = createEnv({
  skipValidation: true,

  server: {
    // ...
  }
})

It will skip the validation of environment variables. And you may notice that some functionalities will not work properly. But it's okay for learning.

Then build the necessary packages:

pnpm build:packages

To run the app in development mode:

pnpm dev

The app will be available at localhost:3000.

The react email will be available at localhost:3001.

✈️ TODO

❤️ Credits

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

✍🏻 Author

✨ Contributors

Thanks goes to these wonderful people (emoji key):

Hong
Hong

💻 📖 🎨 🤔 🚧 ⚠️ 🐛 💬 👀

This project follows the all-contributors specification. Contributions of any kind welcome!

🪪 License

This project is open source and available under the GPL3 License.


Made with ❤️ in Hong Kong

honghong.me's People

Contributors

tszhong0411 avatar dependabot[bot] avatar renovate-bot avatar github-actions[bot] avatar depfu[bot] avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.