autoclip
autoclip copied to clipboard
📎 Do something on your clipboard, automatically.
📎 autoclip
Do something on your clipboard, automatically.
✨ Features
- Automatic
- Customisable with Plugins
📦 Installation
$ cargo build --release
🔌 Installing Plugins
Automatically (recommended)
If the plugin is published to autoclip-plugins repository, you can install it automatically:
$ ./autoclip-app install [name]
Manually
- Open the local data directory.
- Windows:
C:\Users\[Your Name]\AppData\Local - macOS:
/Users/[Your Name]/Library/Application Support - Linux:
/home/[your_name]/.local/share
- Windows:
- Now go into
autoclipdirectory, thenplugins.- If the directories not exists, create them.
- Put the
.dll,.dylibor.sofiles of plugins into thepluginsdirectory.
🔧 Developing Plugins
- Setup your Rust environment.
- Create a new lib crate.
$ cargo new --lib plugin-name-of-your-plugin - Configure Cargo.toml, changing the crate type to
cdylib.[lib] crate-type = ["cdylib"] - Add
autoclip-coreas a dependency.[dependencies] autoclip-core = "0.1.0" - Implement
AutoclipPlugintrait as you like. - Export the plugin with a macro:
autoclip_core::export_plugin!("name-of-your-plugin", AutoclipPluginImpl); - Build & distribute
.dll,.dyliband.sofiles!
☑ ToDo
- OS Support
- [x] Windows Support
- [x] macOS Support
- [x] Linux Support
- Customisation
- [x] Polling Interval
- [ ] Installer
- [x] Plugin Installer