AhmadNasrHosna / honghong.me

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

Home Page:https://honghong.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

honghong.me

View Online · Report Bug · Request New Feature

🌍 honghong.me

👋 Running Locally

  1. Clone the repository
git clone https://github.com/tszhong0411/honghong.me.git
  1. Go to the project directory
cd honghong.me
  1. Install dependencies
yarn
  1. Create a .env.local file and input environment variables based on the .env.example file so that the project can run properly.
# Comment System (Giscus)
# https://giscus.app/
NEXT_PUBLIC_GISCUS_REPO=
NEXT_PUBLIC_GISCUS_REPOSITORY_ID=
NEXT_PUBLIC_GISCUS_CATEGORY=
NEXT_PUBLIC_GISCUS_CATEGORY_ID=

# Spotify Now Playing
# https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track
SPOTIFY_CLIENT_ID=
SPOTIFY_CLIENT_SECRET=
SPOTIFY_REFRESH_TOKEN=

# Google API (YouTube stats)
# https://developers.google.com/youtube/v3/getting-started
GOOGLE_API_KEY=

# Authentication
# https://next-auth.js.org/getting-started/example
NEXTAUTH_SECRET=
NEXTAUTH_URL=http://localhost:3000

# Github OAuth
# https://github.com/settings/applications/new
OAUTH_CLIENT_KEY=
OAUTH_CLIENT_SECRET=

# Github API (Github stats)
# https://github.com/settings/tokens/new
GITHUB_TOKEN=

# Database URL
DATABASE_URL=<DATABASE>://<HOST>:<PORT>/<DB>

# Just some random string (used for hashing)
# You can use https://www.useapassphrase.com/ to generate the string
IP_ADDRESS_SALT=

# WakaTime API Key (Coding hours)
# https://wakatime.com/api-key/
WAKATIME_API_KEY=
  1. Run the development server
yarn dev

🔔 Notice: Please Do Not Use This Source Code as a Template

Hello there! Thank you for checking out my open-source project. I've created this project to share my work and inspire others to create great things. However, I've noticed that some people are using my source code as a template for their websites, which is not what I intended.

While I'm happy to share my code with the community, I would like to request that you do not use this source code as a template for your website. Here are a few reasons why:

  • Lack of Originality: Using someone else's source code as a template can result in a lack of originality in your work. It's important to create something unique and original that reflects your vision.
  • Lack of Learning: Using someone else's source code as a template may prevent you from learning new skills and techniques. It's important to challenge yourself and learn new things to grow as a developer.

I hope you understand my request and appreciate the spirit in which this project was created. If you have any questions or feedback, please don't hesitate to reach out to me.

Thank you for your understanding and happy coding!

❤️ Credits


Made with ❤️ in Hong Kong

About

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

https://honghong.me

License:GNU General Public License v3.0


Languages

Language:TypeScript 71.0%Language:MDX 27.9%Language:JavaScript 0.9%Language:Shell 0.1%Language:CSS 0.1%