# iamvishnusankar/next-sitemap

Sitemap generator for next.js. Generate sitemap(s) and robots.txt for all static/pre-rendered/dynamic/server-side pages.

Repository: https://github.com/iamvishnusankar/next-sitemap
Canonical: https://ross.abutalabs.com/products/next-sitemap
Homepage: https://github.com/iamvishnusankar/next-sitemap/blob/master/README.md
Language: TypeScript
License: MIT
License Family: permissive
Topics: nextjs, react, typescript, seo, sitemap, sitemap-generator, next-sitemap
Last push: 2026-05-13T14:13:39+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 8, longevity 100
- inputs: {"age_days": 2222, "days_push": 112, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3744, forks 141 (observed 2026-08-28T04:08:16.062419+00:00)

## What it is
A sitemap generator for Next.js that produces sitemap(s) and robots.txt for all static, pre-rendered, dynamic, and server-side pages. It runs as a postbuild CLI step with a simple config file and supports index sitemaps and splitting large sitemaps into multiple files.

## Use cases
- generate a sitemap.xml for a next.js site
- create robots.txt automatically after build
- split a large sitemap into multiple files
- generate index sitemaps for large sites
- include dynamic and server-side pages in sitemap
- customize sitemap entries with a transformation function

## When to choose
- you have a Next.js project and need sitemaps and robots.txt generated after each build
- your site has many pages requiring index sitemaps or split sitemap files
- you want a simple config-driven postbuild step

## When to avoid
- your project is not built with Next.js
- you need runtime sitemap generation outside the build pipeline for non-Next frameworks

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools, static-site-generator
- domain: web-development, developer-tools
- platform: cli, cross-platform
- tags: nextjs, sitemap, robots-txt, seo, postbuild, nodejs

## Member repositories
- iamvishnusankar/next-sitemap (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:16.062419+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:04.838501+00:00, confidence not recorded.
  - readme: https://github.com/iamvishnusankar/next-sitemap (fetched 2026-08-28T04:08:16.062419+00:00, sha e47bbf235150)
  - homepage: https://github.com/iamvishnusankar/next-sitemap/blob/master/README.md (fetched 2026-08-29T09:23:42.435499+00:00, sha 5f22d720eb0f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
