Ross ROSS = Recommend OSS · open-source software intelligence for agents

thlorenz/doctoc

📜 Generates table of contents for markdown files inside local git repository. Links are compatible with anchors generated by github or other sites. observed · 2026-08-28

github.com/thlorenz/doctoc · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

90/100

  • Activity 96
  • Release rhythm 76
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 45
  • age_days: 5212
  • days_rel: 82
  • days_push: 29
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

4462 stars · 486 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

DocToc is a Node.js command-line tool that generates and maintains table of contents sections in Markdown files within a local git repository. The generated links are compatible with anchor formats used by GitHub, GitLab, Bitbucket, and other sites.

Use cases

  • add a table of contents to my README
  • generate TOC for all markdown files in a repo
  • check that docs table of contents is up to date in CI
  • update existing doctoc TOCs automatically
  • use a git hook to keep markdown TOCs current
  • generate GitHub-compatible anchor links for headings

When to choose

  • you maintain markdown documentation in a git repository and want navigable TOCs
  • you need TOC links that work on GitHub/GitLab/Bitbucket
  • you want to enforce up-to-date TOCs in CI via dry-run exit codes

When to avoid

  • you need TOCs for non-markdown formats like reStructuredText or AsciiDoc
  • you want a GUI or in-editor TOC tool rather than a CLI
  • you need fully custom TOC rendering beyond the provided renderers

Facets

cli-tool · maturity active

markdown documentation parser cli documentation developer-tools cli cross-platform table-of-contents markdown-toc github-anchors git-hook npm-package command-line nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
thlorenz/doctocmain90

For agents

markdown · JSON · MCP: product_card(name="thlorenz/doctoc")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem