Back to browse
AI-clean – strip unwanted formatting from text copied out of AI CLIs

AI-clean – strip unwanted formatting from text copied out of AI CLIs

by TheAndruu·Apr 28, 2026·3 points·0 comments

AI Analysis

●●SolidCozySolve My Problem

Same Go pipeline runs as CLI and in-browser WASM with zero server uploads.

Strengths
  • Compiles the exact same Go logic to WebAssembly for browser demos.
  • Handles markdown tables and code fences without breaking structure.
  • MIT licensed with Homebrew tap and shell completions included.
Weaknesses
  • Solves a minor friction point that manual regex could mostly handle.
  • Niche utility likely to be absorbed by AI CLI native formatting flags.
Target Audience

Developers using Claude Code, Copilot CLI, or Cursor

Similar To

unformat · clipboard managers

Post Description

I kept manually reformatting wrapped paragraphs and trailing whitespace every time I pasted Claude Code or Copilot CLI output into a Slack message or a GitHub issue. So I built a terminal command to run after copying that does the reformatting for me.

Running in a terminal instead of using one of the browser-based formatting tools means less context switching. It handles both regular text, bulleted lists and code formatting all at the same time. Source: https://github.com/TheAndruu/ai-clean

The page above runs the same Go pipeline compiled to WebAssembly — paste your own messy clipboard contents, no install needed. If you want to install it, there is homebrew and one-line install commands.

Similar Projects

Security●●Solid

Trackless Links – clean URLs, no tracking (Safari)

Safari extension stripping trackers and redirecting to privacy alternatives with CRED-1 dataset.

Solve My ProblemCozy
xlth
203mo ago