Settings

Theme

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

ai-clean.dev

3 points by TheAndruu a month ago · 0 comments · 1 min read

Reader

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.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection