contentlayer
Next.js
contentlayer | Next.js | |
---|---|---|
30 | 2,381 | |
3,504 | 134,062 | |
0.5% | 0.4% | |
3.4 | 10.0 | |
10 months ago | 3 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
contentlayer
-
This Next.js blog template is awesome.
Contentlayer to manage content logic
-
Show HN: Pages CMS – A CMS for GitHub
This looks and sounds great...
I'm currently using [contentlayer.dev](https://github.com/contentlayerdev/contentlayer) to manage docs and blog content, mostly .mdx files on urlbox.com.
It works well with next.js but unfortunately is abandonware now.
I also have a few custom remark/rehype plugins.
You're right it is a pain to update articles buried in your repo especially with less technical team members. I already tried out TinaCMS to try and solve the editing issues, but their editor wasn't so nice, and it seemed to implicitly make a commit on every tiny change to any content, so I'm really hoping I could use something like this to edit my already existing content...
- How to handle the marketing/landingpage/articles area of your app?
-
Upgrade my blog to Next.js 13.4 with MDX, Prisma, Tailwindcss, Planetscale, Giscus and Contentlayer
Content Management: Contentlayer
-
What is your tech stack for blog websites? (not wordpress)
For my personal website, I use Next and Contentlayer since I prefer to write my content as markdown files. I then host it using vercel's free tier.
-
Show HN: File Based Documentation Site – Next.js
I've seen https://www.contentlayer.dev/ used for similar stuff on open source codebases like taxonomy from shadcn
-
Rebuilding my Portfolio with Next, MDX, and Contentlayer
Contentlayer makes it super easy to grab our mdx blog posts in a type-safe way.
- How to manage copies in Next/React
-
Jumpstart a content-driven NextJS site with Flowershow
Flowershow uses Contentlayer to turn your Markdown content into data stored in JSON files. By defining document schemas, Contentlayer can generate data that is validated (making it type-safe) and can be imported from anywhere in your Next.js app.
-
Contentlayer with next/image
My first reaction was to use MDX and use next/image just as in the example. But that means that we can't use normal markdown images and it turns out that this won't work with contentlayer. This wont work, because Next.js does some magic on the import of the static image. The object which gets returned by the import, contains not only a path to the image, it contains also the width and height, plus a very small version of the image for the blurred placeholder. This magic does not work if the MDX file is loaded with contentlayer, because contentlayer uses its own bundler, which does not know about the import magic for images.
Next.js
-
Stop Building, Start Shipping: The Minimal Startup Toolkit
6. Next.js + Vercel: The Full-Stack Framework That Actually Ships
-
How to Securely Connect to Medusa.js Production Database on AWS?
You're minding your own business, managing AWS infrastructure for a client with a pretty standard e-commerce setup: a Medusa.js backend, a Next.js storefront, and most importantly for this story, a PostgreSQL RDS instance safely stashed away in a private subnet where nothing from the outside world can touch it. Exactly how the AWS gods intended.
-
Next.js 16: The real dirt behind the hype
Turbopack is now powering vercel.com, nextjs.org, and a growing number of real-world apps. It’s clearly the future written in Rust, blazing through cold builds, and supposedly replacing Webpack altogether.
-
WP-Next: A Headless WordPress Admin Built with Next.js and TypeScript
next — Next.js framework providing SSR, routing, and server functions.
-
10 AI Tools That Took My SaaS Website from Zero to Launch!
3. Next.js and React (Frontend framework)
-
Why did I build a transparent, account-free, open-source URL shortener?
My primary passion is backend development, but I wanted to build a user-friendly frontend to complete this project. Given my experience with React, Next.js was the obvious choice due to its excellent documentation and ease of use.
-
Vertalk — Real-Time AI Call Agent Powered by Redis 8
This is a Next.js project bootstrapped with create-next-app.
-
Optimize Next.js Performance with Smart Code Splitting: What to Load, When, and Why
Official Example: Dynamic Imports
-
Next.js VS react-starter-kit - a user suggested alternative
2 projects | 8 Aug 20252 projects | 6 Aug 2025
What are some alternatives?
content - The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
vite - Next generation frontend tooling. It's fast!
pages-cms - The No-Hassle CMS for Static Sites Generators
fastify - Fast and low overhead web framework, for Node.js
nextjs-contentlayer-guide - Demo application for my guide https://imadatyat.me/guides/how-to-setup-contentlayer-in-nextjs
Koa - Expressive middleware for node.js using ES2017 async functions