git404hub

what is nextdoctor fr?

jasswhiteleaf/nextdoctor — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · developerComplexity · 2/5Setup · easy

tl;dr

A command line tool that diagnoses, auto-fixes, and shows a live dashboard of memory usage for Next.js development servers.

vibe map

mindmap
  root((repo))
    What it does
      Diagnoses memory issues
      Applies safe fixes
      Live memory dashboard
    Tech stack
      TypeScript
      Next.js
      Node.js
    Use cases
      Debug memory leaks
      Auto tune config
      Monitor dev servers
    Audience
      Next.js developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Diagnose why a Next.js dev server keeps using more and more memory as you work.

VIBE 2

Automatically apply safe configuration fixes to reduce memory usage, with a backup made first.

VIBE 3

Watch a live dashboard of memory usage for one or several Next.js dev servers at once, including monorepo setups.

what's the stack?

TypeScriptNext.jsNode.jsnpm

how it stacks up fr

jasswhiteleaf/nextdoctor0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Runs instantly via npx with no installation needed for a first try.

No license information is included in the material provided.

in plain english

nextdoctor is a command line tool that watches, diagnoses, and fixes memory problems in Next.js development servers. Next.js dev servers can hold onto a growing amount of memory as a developer visits more routes and pages while working, and how bad this gets depends on the Next.js version, the bundler in use, and the project's configuration. This tool gives visibility into what is actually happening and offers one command tuning to help. A person can try it on a single project without installing anything, by running it directly through npx inside their Next.js project folder. Once someone decides they like it, it can be installed globally so the command is available across every project, or installed as a per project development dependency. The tool has three main commands. Diagnose runs a static scan of the current project, checking the Next.js version, whether Turbopack's memory eviction feature is being used, and whether the project is part of a monorepo setup. Fix applies the safe changes that diagnose suggests, such as tuning entry settings or removing a setting that accidentally disabled memory eviction, and it always makes a backup of the configuration file first and shows what it plans to change before writing anything. Dev wraps a project's actual development command and shows a live dashboard of memory usage across the whole process tree, including any worker processes Next.js spawns, with the option to automatically restart the server if memory crosses a set limit. It can also watch several apps at once, which is useful for monorepos with multiple dev servers running side by side. The project runs entirely on the developer's own machine, with no telemetry and no network calls, and only touches the project files it is pointed at. The author describes it as an early version, where the fix command intentionally makes small, easy to review text changes to configuration files rather than a full automated rewrite.

prompts (copy fr)

prompt 1
Run npx @gowhiteleaf/nextdoctor diagnose on my project and explain what the results mean.
prompt 2
Walk me through installing nextdoctor globally and setting up a nextdoctor.config.json file.
prompt 3
Explain what the nextdoctor fix command changes in my next.config file before I run it.
prompt 4
Help me set up nextdoctor dev to watch multiple apps in my monorepo at once.

Frequently asked questions

what is nextdoctor fr?

A command line tool that diagnoses, auto-fixes, and shows a live dashboard of memory usage for Next.js development servers.

What language is nextdoctor written in?

Mainly TypeScript. The stack also includes TypeScript, Next.js, Node.js.

What license does nextdoctor use?

No license information is included in the material provided.

How hard is nextdoctor to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is nextdoctor for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.