This is a clean, fast, and lightweight site built with Next.js, Vercel, and Tailwind CSS. It features dynamic Open Graph image generation and MDX support for blog posts with rss/atom feeds. This site is inspired from Leerob and Guillermo Rauch.
- Dynamic Open Graph image generation with random pixel icons
- MDX support for blog posts or any other pages
- RSS/Atom feeds
- SEO optimizations
- Google Analytics integration if in case you dont need vercel analytics
- Super fast and lightweight
To set up the project locally, follow these steps: (btw, I just use pnpm.)
-
Install Dependencies
Run the following command to install the necessary packages:# use pnpm pnpm i # or use Bun bun install # or use npm npm install
-
Run the Development Server
Start the development server with:# use pnpm pnpm dev # or use Bun bun dev # or use npm npm run dev
-
Configuration
Update the configuration in the following files according to your requirements:/app/config.ts
: Modify the metadata such asbaseUrl
,title
,description
, and social links/app/b/*
: Update the content of your blog posts or pages as needed/app/page.mdx
: Make changes to the main page content to reflect your personal information and projects/app/components/ui/name-transition.tsx
: Update the name with your own name/app/globals.css
: Update the name in.transition-element
,::view-transition-old
,::view-transition-new
- Remove
@vercel/analytics/react
and@vercel/speed-insights/next
fromapp/layout.tsx
if you don't need analytics or speed insights from vercel - Change the Google Analytics ID in
app/layout.tsx
to your own - Change the birthday in
app/components/ui/age-counter.tsx
to your birthday - Create your .env.local with .env.example
Once you are satisfied with your changes, you can deploy your site using Vercel or any other hosting service of your choice. This is NextJS guys, so we need servers, it requires time to deploy and manage on our own. So just go with Vercel and you're good to go.
You are free to use this code.