Skip to content

我的个人博客,由 Next.js、TypeScript、MDX 和 TailwindCSS 构建。My blog built with Next.js, TypeScript, MDX, and TailwindCSS.

License

Notifications You must be signed in to change notification settings

xiaojundebug/xiaojun.im

Repository files navigation

Deploy with Vercel

xiaojun.im

English中文

My personal blog, built with Next.js, TypeScript, MDX, and TailwindCSS.

👀 Live Demo

Features

  • 🎨 Simple, smooth, and fast
  • ✨ Supports dark mode, responsive design, and theme color customization
  • 🧩 Built-in some markdown extensions, powered by MDX, supports embedding JSX components in posts
  • 🎮 Built-in CodePlayground (beta) to run code blocks directly within posts
  • 🔫 Fun like button, hit counter, and sound feedback

Getting Started

  1. Fork this repository

  2. Run npm i to install dependencies

  3. Customize the configuration in site.config.js

  4. To use the like button and hit counter, register for Upstash Redis service, create a .env file in the root directory and fill in the following information:

    UPSTASH_REDIS_REST_URL = xxx
    UPSTASH_REDIS_REST_TOKEN = xxx
  5. Run npm run new:post filename title [tag1] [tag2] ... to create a post in posts folder, for more syntax reference, see example posts

  6. Run npm run dev to preview

  7. Deploy it on Vercel

  8. If you like it, please give this project a star ✨, it’s a great encouragement for me 🙏

Thanks

Sound Effects

https://zapsplat.com

Reference Sites

About

我的个人博客,由 Next.js、TypeScript、MDX 和 TailwindCSS 构建。My blog built with Next.js, TypeScript, MDX, and TailwindCSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published