| Crates.io | mime-copy |
| lib.rs | mime-copy |
| version | 1.0.0 |
| created_at | 2025-07-04 15:08:42.396888+00 |
| updated_at | 2025-07-04 15:08:42.396888+00 |
| description | A dead-simple utility for copying URLs passed to xdg-open. |
| homepage | |
| repository | https://github.com/sysrqmagician/mime-copy |
| max_upload_size | |
| id | 1738123 |
| size | 36,707 |
A dead-simple utility for copying URLs passed to xdg-open.
Run just install inside the repository root. The binary will be installed to $HOME/.local/bin/ and the Desktop entry placed in $HOME/.local/share/applications/.
Alternatively, run just install-http If you want to automatically set up the example configuration and copy HTTP/HTTPs URLs.
If you want to set any other handlers, you can do so using the xdg-mime CLI.
xdg-mime default mime-copy.desktop x-scheme-handler/ssh x-scheme-handler/telnet would set up copying of URLs with the ssh and telnet schemes.cargo install mime-copy to build and install the binaries.wget https://github.com/sysrqmagician/mime-copy/raw/refs/heads/main/mime-copy.desktop -o ~/.local/share/applications/mime-copy.desktop.