easyclip v0.1.2
EasyClip
Crystal module for clipboard interaction.
Installation
Add to shard.yml:
dependencies:
easyclip:
github: kojix2/easyclip
Run shards install
Usage
require "easyclip"
# Copy 'text' to clipboard
EasyClip.copy("text")
# Paste text from the clipboard
str = EasyClip.paste
Linux
Default: xsel (X11). Wayland selection:
crystal spec -D wayland
Contributing
- Fork (https://github.com/kojix2/easyclip/fork)
- Feature branch (
git checkout -b new-feature) - Commit (
git commit -am 'Add feature') - Push (
git push origin new-feature) - Pull request
License
MIT
Repository
easyclip
Owner
Statistic
- 2
- 0
- 1
- 4
- 0
- 3 days ago
- November 20, 2023
License
MIT License
Links
Synced at
Sun, 15 Feb 2026 04:48:14 GMT
Languages