Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clipkit

clipkit is a lightweight, modular, command-line clipboard toolkit designed for minimal Linux environments, including headless systems like Raspberry Pi and WSL2.

It provides a set of simple, scriptable utilities to manage text clipboards without requiring a graphical environment or heavy dependencies.


Features

  • Minimal dependencies (pure Bash)
  • Supports standard clipboard actions:
    • Copy text
    • Append text
    • Paste text
    • Run text as a command (with confirmation)
    • Clear clipboard
    • Edit clipboard manually
  • Auto-discovered, self-documenting tools
  • Colorized, organized cliphelp
  • Versioned and future-proof
  • Designed for DietPi, WSL2, Raspberry Pi, and lightweight Linux setups

Installation

You can install clipkit into your personal ~/bin/ directory using make:

git clone https://github.com/dvonpasecky/clipkit.git
cd clipkit
make install

This will install the clipkit commands to ~/bin, assuming it is in your PATH.

Note: You can customize the install location by editing the Makefile.


Uninstallation

To remove clipkit from your system:

make uninstall

Quick Start

Command Description
clipcopy "some text" Copy text to clipboard
clipappend "more text" Append text to clipboard
clippaste Print clipboard contents
cliprun Run clipboard contents as a command (with confirmation)
clipedit Manually edit clipboard contents with nano
clipclear Clear clipboard contents
cliphelp Display help for all installed clipkit tools

Usage Examples

Copy text:

clipcopy "ls -la /var/log"

Append more text:

clipappend "df -h"

View clipboard:

clippaste

Run clipboard contents safely:

cliprun

Edit clipboard manually:

clipedit

Clear the clipboard:

clipclear

See all available commands:

cliphelp

Check the version of any clipkit tool:

clipcopy --version

Get help for any clipkit tool:

clipcopy --help

Additional clipkit Options

  • clipkit -h or clipkit --help: Display help for clipkit.
  • clipkit -l or clipkit --list: Lists all available clipkit commands without displaying help.
  • clipkit -v or clipkit --version: Show clipkit version.

Philosophy

clipkit is built with a few key principles:

  • Simplicity: Only pure Bash. No dependencies beyond the POSIX shell.
  • Transparency: Clipboard contents are plain-text files (~/clipboard.txt).
  • Safety: Confirmation before running commands.
  • Extensibility: Easy to add new tools that auto-register into cliphelp.
  • Minimalism: Perfect for lightweight and headless Linux environments.

License

This project is licensed under the MIT License.


Contributing

Contributions are welcome! Feel free to fork the project, submit pull requests, or open issues for ideas, bugs, or feature requests.

Please keep contributions consistent with the lightweight and minimal design goals of clipkit.


Credits

Developed by Dan Von Pasecky with ❤️ for the Linux community.

About

clipkit is a lightweight, modular, command-line clipboard toolkit designed for minimal Linux environments, including headless systems like Raspberry Pi and WSL2. It provides a set of simple, scriptable utilities to manage text clipboards without requiring a graphical environment or heavy dependencies.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages