📋 tiny utility that simplifies copy/paste-heavy workflows
Find a file
JMARyA 0e44384e80
refactor
linux support + transform
2025-04-05 23:54:04 +02:00
src refactor 2025-04-05 23:54:04 +02:00
.gitignore init 2021-05-14 10:59:35 +02:00
Cargo.lock refactor 2025-04-05 23:54:04 +02:00
Cargo.toml refactor 2025-04-05 23:54:04 +02:00
README.md refactor 2025-04-05 23:54:04 +02:00

📋 ClipWatch

ClipWatch is a tiny utility that simplifies copy/paste-heavy workflows.
It watches your clipboard and prints new entries to stdout as you copy them.

Use it to quickly build scripts, batch commands, or collect snippets—without constantly switching between windows or terminals.

🔧 Features

Option Description
-i, --ignore-first Ignore the clipboard value present at startup.
-q, --quiet Dont print clipboard contents to stdout.
-s, --summary At program exit, copy all collected clipboard entries into the clipboard.
-t, --transform <template> Replace {} in the template with each clipboard entry.

Examples

Lets say youre copying a bunch of YouTube URLs and want to download them all:

clipwatch -i -t "yt-dlp {}"

If you copy some URLs the output will be:

yt-dlp https://youtube.com/watch?v=abc123
yt-dlp https://youtube.com/watch?v=def456
yt-dlp https://youtube.com/watch?v=ghi789

Which you can pipe that directly into your shell:

clipwatch -i -t "yt-dlp {}" | bash

No manual typing, no window switching, no madness.

🧪 Another Example

Collect useful shell commands throughout your session and export them all at once:

clipwatch -s -q
# ...copy various shell snippets...
# press Ctrl+C to stop

At termination, the full history is copied into your clipboard as a single block.

🚀 Why Use ClipWatch?

  • Automate your clipboard-to-terminal workflow
  • Easily batch process copied content
  • Turn copied text into live scripts
  • Collect text snippets for notes or reuse