Back to browse
GitHub Repository

Interactive comment stripper that cannot eat your code. acorn for JS, tree-sitter for the rest. 9 languages, one tool. Strips AI comments, dead comments, TODOs, and Co-Authored-By spam from JS, TS, TSX, Python, Java, Kotlin, Rust, C, C++.

0 starsJavaScript

Nuking the crap Claude left in the codebase – CCN

by jonhardwickspec·Aug 2, 2026·2 points·0 comments

AI Analysis

●●SolidCozyShip It

Token-verified edits guarantee comments die without touching a single line of code.

Strengths
  • Write-gate reparsing ensures zero accidental code deletion, solving the regex fear.
  • Uses Acorn for JS and tree-sitter for others, guaranteeing AST-level accuracy over regex.
  • Interactive TUI with Y/N prompts per block offers granular control for messy legacy files.
Weaknesses
  • Niche utility that existing formatters (Prettier) or IDE plugins already handle partially.
  • Personality-heavy README and branding may distract from the tool's actual technical merit.
Target Audience

Developers cleaning AI-generated code or legacy repositories

Similar To

prettier · sed · clang-format

Post Description

CCN Strips comments out of codebases, and comments ONLY, this isn't a regex parse that could potentially eat your code, no this actually makes a list and checks it twice.

I, as a real developer, often leave bytes of comments in my own codebases then forget about them, AI models leave MEGABYTES and has NO memory, sometimes literally using comments as a FORM OF IT.

Use this tool to clean your codebases of literal trash, or use it to review, very useful, end to end tested and verified against 2,700 iterations (not that you care or anything, it works, even on debian trixie with xfce desktop, and that's what matters, not the thousands of tests I ripped from the codebase before publishing it that end users dgaf about)

As Stallman infamously says...

Happy hacking ;)

Similar Projects

Developer Tools●●Solid

Noodles – Turn any codebase into a diagram with Claude and Tree-sitter

Tree-sitter + agentic flow ~50x faster than raw LLM calls, but codebase visualization is crowded category.

Solve My ProblemShip It
unslop
605mo ago