Skip to content

Installing Plugins

Mark Polyakov edited this page Oct 20, 2017 · 2 revisions

Each Anypaste plugin is just a single executable file (except for the built-in ones, which are special). Basic installation procedure:

  1. Create ~/.anypaste-plugins if it doesn't exist: mkdir -p ~/.anypaste-plugins
  2. Download the plugin executable to ~/.anypaste-plugins: curl -o ~/.anypaste-plugins/example example.com/whatever
  3. Set executable permissions on the plugin executable: chmod +x ~/.anypaste-plugins/example
  4. Add the plugin executable's name to your ap_plugins array in your config file: vim ~/.config/anypaste.conf. As a rule of thumb, you'll probably want to add new plugins to the top.

Advanced stuff

You don't need to put your plugins in the ~/.anypaste-plugins folder. They can be anywhere! However, if they're not in your $PATH, you'll need to put the full path to them in your ap_plugins array instead of just the file name.

Clone this wiki locally