Timlrx.com
My portfolio built with Tailwind CSS, Nextjs and MDX. A collection of musings, learnings and projects touching data science, analytics, web development and more 🔥
Install / Use
/learn @timlrx/Timlrx.comREADME

Tailwind Nextjs Starter Blog
This is a Next.js, Tailwind CSS blogging starter template. Version 2 is based on Next App directory with React Server Component and uses Contentlayer to manage markdown content.
Probably the most feature-rich Next.js markdown blogging template out there. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
Check out the documentation below to get started.
Facing issues? Check the FAQ page and do a search on past issues. Feel free to open a new issue if none has been posted previously.
Feature request? Check the past discussions to see if it has been brought up previously. Otherwise, feel free to start a new discussion thread. All ideas are welcomed!
Examples V2
- Demo Blog - this repo
Using the template? Feel free to create a PR and add your blog to this list.
Examples V1
Thanks to the community of users and contributers to the template! We are no longer accepting new blog listings over here. If you have updated from version 1 to version 2, feel free to remove your blog from this list and add it to the one above.
- My personal blog - modified to auto-generate blog posts with dates
- Aloisdg's cookbook - with pictures and recipes!
- GautierArcin's demo with next translate - includes translation of mdx posts, source code
- David Levai's digital garden - customized design and added email subscriptions
- Leo's Blog - Tuan Anh Huynh's personal site. Add Snippets Page, Author Profile Card, Image Lightbox, ...
- thvu.dev - Added
mdx-embed, view count, reading minutes and more. - irvin.dev - Irvin Lin's personal site. Added YouTube embedding.
- KirillSo.com - Personal blog & website.
- slightlysharpe.com - Tincre's main company blog
- blog.b00st.com - b00st.com's main music promotion blog
- astrosaurus.me - Ephraim Atta-Duncan's Personal Blog
- dhanrajsp.me - Dhanraj's personal site and blog.
- blog.r00ks.io - Austin Rooks's personal blog (source code).
- honghong.me - Tszhong's personal website (source code)
- marceloformentao.dev - Marcelo Formentão personal website (source code).
- abiraja.com - with a runnable JS code snippet component!
- bpiggin.com - Ben Piggin's personal blog
- maqib.cn - A blog of Chinese front-end developers 狂奔小马的博客 (源码)
- ambilena.com - Electronic Music Blog & imprint for upcoming musicians.
- dalelarroder.com - Dale Larroder's personal website and blog (source code)
- 0xchai.io - Chai's personal blog
- techipedia - Simple blogging progressive web app with custom installation button and top progress bar
- reubence.com - Reuben Rapose's Digital Garden
- axolo.co/blog - Engineering management news & axolo.co updates (with image preview for article in the home page)
- musing.vercel.app - Parth Desai's personal blog (source code)
- onyourmental.com - Curtis Warcup's website for the On Your Mental Podcast (source code)
- cwarcup.com - Curtis Warcup's personal website and blog (source code).
- ondiek-elijah.me - Ondiek Elijah's website and blog (source code).
- jmalvarez.dev - José Miguel Álvarez's personal blog (source code)
- justingosses.com - Justin Gosses's personal website and blog (source code)
- https://bitoflearning-9a57.fly.dev/ - Sangeet Agarwal's personal blog, replatformed to remix using the indie stack (source code)
- raphaelchelly.com - Raphaël Chelly's personal website and blog (source code)
Motivation
I wanted to port my existing blog to Nextjs and Tailwind CSS but there was no easy out of the box template to use so I decided to create one. Design is adapted from Tailwindlabs blog.
I wanted it to be nearly as feature-rich as popular blogging templates like beautiful-jekyll and Hugo Academic but with the best of React's ecosystem and current web development's best practices.
Features
- Next.js with Typescript
- Contentlayer to manage content logic
- Easy styling customization with Tailwind 3.0 and primary color attribute
- MDX - write JSX in markdown documents!
- Near perfect lighthouse score - Lighthouse report
- Lightweight, 85kB first load JS
- Mobile-friendly view
- Light and dark theme
- Font optimization with next/font
- Integration with pliny that provides:
- Multiple analytics options including Umami, Plausible, Simple Analytics, Posthog and Google Analytics
- Comments via Giscus, Utterances or Disqus
- Newsletter API and component with support for Mailchimp, Buttondown, Convertkit, Klaviyo, Revue, and Emailoctopus
- Command palette search with Kbar or Algolia
- Server-side syntax highlighting with line numbers and line highlighting via rehype-prism-plus
- Math display supported via KaTeX
- Citation and bibliography support via rehype-citation
- Automatic image optimization via next/image
- Support for tags - each unique tag will be its own page
- Support for multiple authors
- 3 different blog layouts
- 2 different blog listing layouts
- Support for nested routing of blog posts
- Projects page
- Preconfigured security headers
- SEO friendly with RSS feed, sitemaps and more!
Sample posts
- A markdown guide
- Learn more about images in Next.js
- A tour of math typesetting
- Simple MDX image grid
- Example of long prose
- Example of Nested Route Post
Quick Start Guide
- Clone the repo
npx degit 'timlrx/tailwind-nextjs-starter-blog'
- Personalize
siteMetadata.js(site related information) - Modify the content security policy in
next.config.jsif you want to use other analytics provider or a commenting solution other than giscus. - Personalize
authors/default.md(main author) - Modify
projectsData.js
