Back to projects
GitHub

home

šŸ–– A personal homepage powered by Nuxt

  • šŸ“¦ Built with Nuxt for a modern development experience
  • šŸŽØ Integrated with TailwindCSS for building beautiful interfaces
  • šŸ™ Display GitHub profile and recent repositories
  • šŸ–¼ļø Bing daily wallpaper as background
  • šŸŒ“ Built-in dark / light theme switching
  • šŸ“± Responsive design for all devices
  • šŸš€ One-click deployment to Vercel / Netlify / Docker

Install

bash
git clone https://github.com/tlyboy/home.git

Usage

Prerequisites

DependencyRequirementDescription
Node.js24.xRecommended to use fnm or another Node.js version manager
corepackenableEnable corepack with the corepack enable command

Local Development

Copy .env.example to .env and configure:

sh
# GitHub Token (required)NUXT_GITHUB_TOKEN="your_github_token"
# ICP filing info (optional)NUXT_PUBLIC_ICP_NUMBER="your_icp_number"NUXT_PUBLIC_ICP_LINK="https://beian.miit.gov.cn/"NUXT_PUBLIC_POLICE_NUMBER="your_police_number"NUXT_PUBLIC_POLICE_LINK="your_police_link"

Note: ICP filing info is optional. If configured, filing links will be displayed at the bottom of the page; otherwise, MIT license and copyright information will be shown.

bash
pnpm installpnpm devpnpm build

Deployment

Vercel Deployment

  1. Click the "Deploy with Vercel" button at the top
  2. Sign in or sign up for a Vercel account
  3. Configure environment variables:
Environment VariableValueRequiredDescription
ENABLE_EXPERIMENTAL_COREPACK1āœ…Enable corepack
NUXT_GITHUB_TOKENGitHub access tokenāœ…For API access
NUXT_PUBLIC_ICP_NUMBERICP filing number⬜ICP filing info
NUXT_PUBLIC_ICP_LINKICP filing link⬜ICP filing URL
NUXT_PUBLIC_POLICE_NUMBERPolice filing number⬜Police filing info
NUXT_PUBLIC_POLICE_LINKPolice filing link⬜Police filing URL

Netlify Deployment

  1. Click the "Deploy to Netlify" button at the top
  2. Sign in or sign up for a Netlify account
  3. Configure environment variables:
Environment VariableValueRequiredDescription
NUXT_GITHUB_TOKENGitHub access tokenāœ…For API access
NUXT_PUBLIC_ICP_NUMBERICP filing number⬜ICP filing info
NUXT_PUBLIC_ICP_LINKICP filing link⬜ICP filing URL
NUXT_PUBLIC_POLICE_NUMBERPolice filing number⬜Police filing info
NUXT_PUBLIC_POLICE_LINKPolice filing link⬜Police filing URL

Docker Deployment

sh
docker compose up -d

License