Skip to content

thierryskoda/smart-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Copy

Append-to-buffer copy: capture multiple things, then paste once. Built to cut down copy-pasting context into LLMs—gather from several places, one paste.

How it works

  • Copy to buffer: Cmd+Shift+E — appends current selection (or clipboard) to a buffer. If it’s a URL, the daemon fetches the page and appends extracted main content.
  • Paste buffer: Cmd+V — writes the whole buffer to the clipboard and resets it. One paste gets everything you collected.
  • Clear buffer: Cmd+Shift+X — empties the buffer without touching the clipboard.

Chrome extension: Option+click (or right-click → “Send link to Smart Buffer”) on any link sends that URL to the local daemon; the daemon fetches and appends the extracted content to the same buffer. So you can queue links from the browser and still dump with one paste.

Pieces

Part Role
Rust daemon Hotkey listener, clipboard read/write, HTTP server for URLs, URL fetch + readability-style extraction, single shared buffer.
Chrome extension Sends clicked link URLs to the daemon.

Run it

  1. Start the Rust daemon: ./run.sh run (or ./run.sh dev).
  2. (Optional) Load the extension from chrome-smart-buffer-extension/ in Chrome (chrome://extensions → Load unpacked).

Requires macOS (clipboard via pbpaste/pbcopy, hotkeys via rdev).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors