Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Next.js App Router starter for a documentation site powered by the Newt headless CMS, with search and ready-made content models.
Newt Starter Nextjs Docs is a boilerplate for building a documentation website with Next.js App Router and the Newt headless CMS.
Newt Starter Nextjs Docs is an open-source starter template created by Newt Inc. that combines the Next.js App Router with the Newt headless CMS to produce a documentation site. The template takes a Newt space, an app with Article and Category models, and a CDN API token as input, and outputs a server-rendered docs site with a search page and article detail pages. It runs on Node.js with Next.js and can be deployed to any platform that supports Next.js, including Vercel via the included deploy button.
Developers who want to create documentation sites for their products or open-source projects will find the starter useful because it preconfigures the content models and routing. Next.js learners can study how the App Router, dynamic route segments, and search parameters work in a real project. Teams using Newt as their CMS can get a ready-made front end that matches Newt's content structure.
Set up a Newt space, create an App from the Docs template, and generate a CDN API token. Then clone the repository, copy .env.local.example to .env.local, fill in the space UID, app UID, API token, and model UIDs, install dependencies, and run yarn dev or npm run dev. The site starts on localhost:3000.
Yes, the template is released under the MIT License, so you can use and modify it freely for personal or commercial projects.
Newt Inc. will stop the service on 2026-11-24, and both the admin panel and API will no longer be accessible. Any site using this template will need to migrate its content and backend before that date.
Copy the .env.local.example file to .env.local and set NEXT_PUBLIC_NEWT_SPACE_UID, NEXT_PUBLIC_NEWT_APP_UID, NEXT_PUBLIC_NEWT_API_TOKEN, NEXT_PUBLIC_NEWT_API_TYPE, NEXT_PUBLIC_NEWT_ARTICLE_MODEL_UID, and NEXT_PUBLIC_NEWT_CATEGORY_MODEL_UID to the values from your Newt space settings.
Yes, the Article model's body field can be either Markdown or rich text, and the Next.js pages render it accordingly.
The template is a standard Next.js app, so it can run on any Node.js hosting environment that supports Next.js, such as Netlify, AWS, or a custom server.
