Skip to content

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app

License

Notifications You must be signed in to change notification settings

contentlayerdev/contentlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

27bfc5a · Nov 7, 2024
Dec 8, 2021
Jun 29, 2023
Aug 6, 2022
Jun 28, 2023
Sep 9, 2022
Jun 29, 2023
Nov 7, 2024
Jan 14, 2022
Feb 17, 2023
Jan 14, 2022
Mar 9, 2022
Oct 30, 2021
Sep 6, 2022
Sep 9, 2022
Jul 5, 2022
Feb 1, 2022
Jun 28, 2021
Jun 29, 2023
Jun 29, 2023
Jun 29, 2023
Jul 2, 2021
Aug 2, 2022
Sep 17, 2021
Apr 12, 2021
Jun 29, 2023

Repository files navigation

⚠️ Unfortunately Contentlayer is no longer maintained due to lack of funding. You can find a fork of the project here.

  Contentlayer Discord

Contentlayer is a content SDK that validates and transforms your content into type-safe JSON data you can easily import into your application's pages.

Video Thumbnail

⚠️ Contentlayer is currently in beta. There might still be breaking changes before the upcoming 1.0 release.

Getting Started

The video above is a brief look at Contentlayer. Explore further with our example projects, which you can clone to try out locally or in via Gitpod or Stackblitz in your browser.

StackBlitz

Contentlayer Playground

Tutorial & Documentation

Follow the tutorial to get started building your own project. Or explore the full documentation.

Features

  • Live reload on content changes
  • Fast and incremental builds
  • Simple but powerful schema DSL to design your content model (validates your content and generates types)
  • Auto-generated TypeScript types based on your content model (e.g. frontmatter or CMS schema)

Supported Content Sources

Supported Environments

Roadmap

See our docs for more information on our roadmap.

Community

Join our Discord community to get help, suggest new features, and stay up to date on all things Contentlayer.

Who is using Contentlayer?

Are you using Contentlayer? Please add your page (and repo) to the end of the list via a PR. 🙏

About

Contentlayer turns your content into data - making it super easy to import MD(X) and CMS content in your app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages