https://github.com/ericdallo/clipure
A Clojure app to manage clipboard history
https://github.com/ericdallo/clipure
Last synced: 9 months ago
JSON representation
A Clojure app to manage clipboard history
- Host: GitHub
- URL: https://github.com/ericdallo/clipure
- Owner: ericdallo
- License: epl-1.0
- Created: 2022-09-25T16:09:51.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-04T19:53:48.000Z (over 2 years ago)
- Last Synced: 2025-03-23T22:38:19.091Z (10 months ago)
- Language: Clojure
- Size: 59.6 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# clipure
A command-line utility for manage clipboard history built with Clojure and compiled with GraalVM.
## Installation
TODO
## Usage
First, run `clipure listen` as a separated process to listen to clipboard changes accross your OS and cache in `~/.cache/clipure/`.
Then you can:
- `clipure history` - return all the entries from history.
- `clipure get` - return last entry from history (previous 1).
- `clipure get ` - return the previous N entry from history.
- `clipure copy ` - copy text to the clipboard.
- `clipure clear` - clear all clipboard history.
## Development
Install [babashka](https://github.com/babashka/babashka).
### JVM
`bb run` should run the CLI, you can pass any args like `bb run history`.
### Native image
`bb native-cli` will build a native-image with GraalVM, then you can `./clipure`.