A command line utility that acts like a cloud clipboard.
pip install klippy# Configure namespace name and Redis credentials
# To share a single Redis server among different people
# or have multiple clipboards, use different namespaces.
klippy configure
# Check the configuration and the connection to the Redis server
klippy doctor
# Copy data to the cloud clipboard (Redis database)
klippy copy file.png
klippy copy < file.txt
echo "$PATH" | klippy copy
# Copy data that expires after a duration (e.g. 90s, 5m, 2h, 1d)
klippy copy --expire 1h file.png
# Paste data from the clipboard (Redis database)
klippy paste file.png
klippy paste > file.txt
klippy paste | cat
# Clear the clipboard
klippy clear- Introduce clipboard history
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details