My portfolio built with Next.js, Tailwind, Giscus, Umami, Upstash, MDX, Content Collections, Bun, and Vercel.
- Framework: Next.js
- Styling: Tailwind CSS
- Content: MDX + Content Collections
- Analytics: Umami
- Comment: Giscus
- Database: Redis + Upstash
- Deployment: Vercel
- Manager: Bun
components/*- The components defined as functions provide more features for all pages.data/*- All private information (matadata, headers, articles, etc.) about the pages.lib/*- A collection of helpful utilities or functions for external services.app/api/*- API Routes and Serverless KV with Redis API powered by Upstash for post views.app/blog/*- Static pre-rendered posts usingnext-mdx-remote.content/*- All the MDX files for blog posts.public/*- Static public assets including fonts and images.
This application requires:
- Bun v1.0+ (compatibility with Node.js v20).
- Create a
.envfile similar to.env.example.
git clone git@github.com:shenlu89/shenlu.me.git
cd shenlu.me
// create .env file similar to .env.example
// development mode
bun install
bun dev
// production mode
// bun run buildThis repository is licensed under MIT, and the content of all pages is licensed under CC BY-NC-SA 4.0.