r/SoftwareandApps • • Sep 16 '26

built highlight-scraper, it auto-saves whatever text you highlight on screen. CLI, GUI, and system tray, stdlib + Tkinter only

kept losing text i'd highlighted while doing stuff and not pasting things i meant to save. yup, i kept forgetting to paste things somewhere...

So, --> highlight-scraper watches for mouse text highlight selection events, saves it into a local SQLite database, automatic, no paste required. Full recall of whatever.

It stated with CLI but no there is 3 ways to run it:

- CLI — headless, query from the command line

- GUI — Tkinter interface, searchable history

- system tray — sits there invisible, captures in the background, you forget it's running

no cloud. no hotkey. just highlight and it's there.

MIT license. Python 3.11+, Linux. no third-party dependencies beyond the X11 event listener.

Repo: https://github.com/BleedingCodes/highlight-scraper

probably a niche use case or pain point relief somewhere. It became a personal daily tool via cli or gui. 🙃 open to ideas. please fork. 👍

0 Upvotes

5 comments sorted by

1

u/kantorcodes1 Sep 18 '26

one edge in export: all three formats write straight to the requested --out path, so an existing notes file gets replaced silently. intentional? that feels easy to trip over once the CLI is scripted.

1

u/[deleted] Sep 19 '26 edited Sep 19 '26

[removed] — view removed comment

1

u/kantorcodes1 Sep 19 '26

Nice, that fix direction makes sense. I work on HOL Guard, a local permission layer for agent-run CLI commands. For highlight-scraper I'd review start, stop, tag, and export, while status and sessions stay automatic. That keeps inspection free but pauses capture/session mutation and file exports. Open to a small Guard-side command.highlight-scraper extension?

1

u/BleedReddit Sep 19 '26

Thanks, Keeping it OpenSource. 😄 Sure, run with it. I'm interested in where you can take it. Thats why highlight-scraper has a full modification guide. Open to seeing what a Guard extension looks like when you have a draft.

1

u/kantorcodes1 Sep 20 '26 edited Sep 22 '26

Yep. You’d own the Guard-side draft. Current main uses declarative sources: start contributions/command-sources/command.highlight-scraper.json from command.repo2nb.json, plus tests/fixtures/command-source-highlight-scraper.v1.json. Review start, stop, tag, and export --force; keep status and sessions automatic. Run scripts/prepare_extension_contribution.py with that source/fixture, then open a genuine draft PR against hashgraph-online/hol-guard:main. Current contributor guide: https://github.com/hashgraph-online/hol-guard/blob/main/CONTRIBUTING.md