Skip to content
cDoc

OPEN-SOURCE DEVELOPER DIAGNOSTICS

Your codebase has a story. Know what it's telling you.

Understand your project. Catch hidden problems. Know exactly what needs attention.

Local-first · Open source · Developer-first

Interactive product preview

A scan that explains itself.

Fictional project: northstar-web · no live scan · no files read

~/projects/northstar-weblocal

Findings / 03

cdoc-northstar-web-0427

Report waiting

Start the illustrative scan to see how cDoc groups checks, findings and next steps.

Interactive product preview using fictional data. This is not a live scan of your codebase and does not represent a performance claim.

The problem

Your project can look healthy and still have problems.

A passing test suite tells you the code runs right now. It does not tell you what is undocumented, misconfigured or quietly risky.

Those issues rarely announce themselves. They surface during setup, in review, or at the worst possible moment.

  • 01

    Hidden risks

    A clean build can hide a committed secret.

    Tests and linters answer useful questions. They do not tell you whether a credential-shaped string slipped into a tracked file.

  • 02

    Configuration gaps

    The setup works until one variable is missing.

    Environment files, scripts and manifests drift apart. cDoc checks the boring details that are easy to miss in review.

  • 03

    Dependency problems

    A familiar dependency can still be a weak signal.

    Missing lockfiles, unpinned ranges and duplicated packages are small clues that add up to fragile installs.

The shift

One diagnostic pass. A clearer picture of your project.

cDoc reads the files that describe how your project is configured, then returns a structured set of findings with severity, location and a recommended next step.

No score to chase. No dashboard to maintain. Just a read-only diagnosis you can act on, in the terminal you already use.

Capabilities

Everything important, under one inspection.

Six areas of attention, clearly separated into what cDoc does today and what is still being built.
  • 01

    Understand the project

    Available now

    Detects languages, frameworks, runtime and package manager from dependency and script evidence, then reports conflicting lockfiles instead of guessing.

  • 02

    Check configuration

    Available now

    Confirms the manifest parses, declares the basics, pins a Node engine, defines scripts and includes a TypeScript config when TypeScript sources are present.

  • 03

    Protect the local setup

    Available now

    Looks at ignore rules, tracked build output and environment-file status. It checks presence and ignore status without ever reading .env contents.

  • 04

    Surface dependency signals

    Foundational

    Requires a lockfile, flags dependency ranges that pin nothing and catches packages declared in both dependencies and devDependencies.

  • 05

    Go deeper over time

    Planned

    Richer dependency analysis, framework-specific checks and more detailed security signals are on the roadmap, not shipped in this milestone.

  • 06

    Fit the workflow

    Planned

    JSON output and --strict already support automation. HTML reports, scan comparisons and CI recipes are planned for a later release.

cDoc is deterministic and read-only by default. It is not an AI service, a vulnerability scanner or a fix tool in this milestone.

Inside a finding

A finding should feel like a next step, not a riddle.

Every finding carries a severity, a category, a location and a recommendation. You get the context needed to judge it, not just a red flag.

Illustrative finding from fictional project northstar-web. Not a live result.

warning / environment files

confidence: high

Local .env file is not git-ignored

.gitignore

Why it matters

A local .env file can hold credentials and other values that should never be committed. cDoc checks ignore and track status without reading the file contents.

Recommended next step

Add .env to .gitignore, then run git rm --cached .env if the file is already tracked. Keep a committable .env.example with placeholder values instead.

Evidence collected

Evidence
.env present: yes
Evidence
ignored by git: no
Evidence
tracked by git: no
Evidence
contents read: no

cDoc reports. You decide what changes.

How it works

From unfamiliar codebase to informed decisions.

Three steps, one local command, and a report you can read without a dashboard.
  1. 01

    Start from the checkout

    Clone the repository, install workspace dependencies and build the CLI. There is no npm install claim or account to create.

    git clone https://github.com/Oluwatosin1808/DevDoctor.git && cd DevDoctor && npm install && npm run build

    Run once from a directory of your choice.

  2. 02

    Point it at a project

    Run the binary against any JavaScript or TypeScript project. Add a path to scan a different directory.

    node packages/cli/bin/cdoc.js scan

    Read-only by default. No source code is uploaded.

  3. 03

    Read the ledger

    Review checks, findings and recommended next steps. Decide what deserves attention; cDoc never rewrites your files.

    Findings, not prescriptions.

Privacy and control

Your code stays yours.

Local-first is not a slogan here. The default path keeps the scan, the findings and the decisions on your machine.
  • 01

    Local by default

    Diagnostics run on your machine against files you choose. No account, dashboard or AI key is needed for a local scan.

  • 02

    Read-only by design

    cDoc reports findings and recommended next steps. It does not rewrite your source files or apply fixes for you.

  • 03

    No source-code uploads

    Source code, file paths and findings are not uploaded. Credential-shaped text is redacted before it reaches a report.

  • 04

    Opt-in connections only

    Optional, network-dependent checks may query public package or vulnerability data. They will be explicit and opt-in; none are required for a local scan.

Anonymous usage counters exist but are strictly opt-in and require an endpoint you control. No collector is shipped with cDoc.

Open source

Built in the open. Improved together.

Read the implementation, report what feels wrong, or add a diagnostic check with a clear test and a focused change.

The repository includes the CLI source, its tests and the site you are reading. The diagnostic registry is modular, so a new check can be added without changing the runner.

MIT licensedNode 20+Zero CLI runtime dependencies

From source

Run cDoc from this checkout.

The CLI is private and is not advertised as an npm package. These commands work after cloning the repository. Requires Node.js 20 or newer.
git clone https://github.com/Oluwatosin1808/DevDoctor.git

Get the repository.

npm run build

Build the CLI and site from the checkout root.

node packages/cli/bin/cdoc.js scan

Run a local diagnostic pass.

Questions

Before you run your first diagnostic pass.

The practical answers, without the marketing gloss.
  • cDoc is a local-first, open-source command-line tool that reads JavaScript and TypeScript projects and reports configuration, dependency, environment, Git and basic security signals.

Start with a read

Know your codebase before it surprises you.

Run a local diagnostic pass. Read what it found. Decide what to fix next.