Skip to content

siketyan/autoclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Ž autoclip

Rust

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

  1. 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
  2. Now go into autoclip directory, then plugins .
    • If the directories not exists, create them.
  3. Put the .dll, .dylib or .so files of plugins into the plugins directory.

πŸ”§ Developing Plugins

  1. Setup your Rust environment.
  2. Create a new lib crate.
    $ cargo new --lib plugin-name-of-your-plugin
  3. Configure Cargo.toml, changing the crate type to cdylib.
    [lib]
    crate-type = ["cdylib"]
  4. Add autoclip-core as a dependency.
    [dependencies]
    autoclip-core = "0.1.0"
  5. Implement AutoclipPlugin trait as you like.
  6. Export the plugin with a macro:
    autoclip_core::export_plugin!("name-of-your-plugin", AutoclipPluginImpl);
  7. Build & distribute .dll, .dylib and .so files!

β˜‘ ToDo

  • OS Support
    • Windows Support
    • macOS Support
    • Linux Support
  • Customisation
    • Polling Interval
  • Installer
  • Plugin Installer

About

πŸ“Ž Do something on your clipboard, automatically.

Resources

License

Stars

Watchers

Forks

Languages