Simple Python clipboard handler is an advanced tool designed to boost your productivity by continuously monitoring your clipboard for links. It identifies these links based on customizable rules and allows you to perform personalized actions such as downloading, opening, or processing them, all through an intuitive interface. This tool is perfect for users who want to automate and customize the management of copied links, whether they are for playlists, media files, or scripts.
- Real-time Clipboard Monitoring: identify links instantly using customizable regular expressions. Configurable Quick Actions: Easily select, launch, and view outputs for each identified link.
- Visual History: access a chronological view with color-coded results for quick assessment (green/red).
- Detailed Output: Store, search, and copy the output/text of each operation effortlessly.
- Simple Configuration: utilize a user-friendly .ini file editor for easy setup and customization.
- Autorun and Autoclose: streamline processes with automated default actions and tab management.
- Advanced Support: leverage pre-execution filters and shell scripts for enhanced functionality.
If you like this project, consider:
- ⭐ Star this repository to support the project and help others discover it!
- 🛠️ Contribute with code, ideas, or bug reports by opening an issue or a pull request.
- 📣 Share it with others who might find it useful!
| Historical | Available actions | Configuration example |
|---|---|---|
![]() |
![]() |
![]() |
-
Clone the repository:
git clone git@github.com:mik1981/Simple-Python-Clipboard-Handler.git cd Simple-Python-Clipboard-Handler -
Install the dependencies:
pip install -r requirements.txt
-
Prepare your rules in the
config.inifile.
python link_monitor.py- Copy a compatible link: the GUI will display buttons for each expected pre-configurated action.
- Consult the "History" tab for all past activity.
[DICT_REGEX]
youtube_download = https?://.youtube.com/watch.
[DICT_PROGRAMS]
yt_downloader = C:\Users\Pasinelli\Desktop\Archivio\Script\yt-dl\yt-dlp.exe
[FILTERS]
yt_pattern = (&list.*)
yt_replace =
[LINKS]
regex1 = youtube_download
program1 = yt_downloader -x --audio-format mp3 {url}
label1 = Scarica come mp3
filter1 = yt
autorun1 = True- Modify the configuration file to incorporate new services or adjust existing commands.
- Select your preferred action, like autorun, to enhance workflow efficiency.
- Delve into the history to effortlessly replay, analyze, or copy links.
- Personalize colors and shortcuts to align with your workflow!
- Visual history coloring (success/error).
- Output detail on the right for each selected operation.
- Quick preview and test of regexes and filters.
Do you have any ideas or suggestions? Make a pull request or open an issue!
Created by Gian Michele Pasinelli. If you find the project useful, you can buy me a coffee ☕ via PayPal.
"Automate and efficiently manage every link that enters your clipboard!"



