Skip to content

dionysuzx/clean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clean

Strip formatting junk from LLM terminal output.

Install

cargo install --path .

Usage

Copy messy text, then:

clean

Clipboard is cleaned. Paste.

Also works with pipes:

cat dirty.txt | clean

Raycast

Add clean-clipboard.sh as a Raycast script command:

  1. Open Raycast Settings > Extensions > Script Commands
  2. Add the script directory (this repo)
  3. Bind a keyboard shortcut

Then just copy messy text and hit your shortcut. Clipboard is cleaned.

What it does

  • Removes box-drawing characters (│┃╏╎▌)
  • Strips leading > and border pipes
  • Merges broken lines while preserving lists and structure
  • Normalizes whitespace
  • Copies result to clipboard

About

Clean mangled LLM text on your clipboard.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published