#calculator #clipboard #rust

app clipcalc

A simple calculator that reads from the clipboard and writes the result back to the clipboard

1 stable release

1.0.0 Jan 9, 2024

#939 in Math

MIT and AGPL-3.0-only

4KB

clipcalc

Overview

Clipcalc is a streamlined calculator that monitors changes in your clipboard, swiftly evaluating mathematical expressions. When a valid expression is detected, clipcalc automatically copies the computed result back to your clipboard. This tool eliminates the hassle of manually copying, calculating, and pasting, ensuring a faster and more efficient workflow.

Limitations

To maintain simplicity, clipcalc leverages the eval function from the evalexpr crate. Consequently, it inherits the supported operators and functions as defined by evalexpr. For a comprehensive list, please refer to the evalexpr documentation.

Usage

clipcalc

Copy the desired mathematical expression to your clipboard. Clipcalc will promptly evaluate it; if the result is valid, it will be automatically copied back to your clipboard. Any invalid results will be disregarded.

Installation

cargo install clipcalc

License

Refer to LICENSE for details regarding clipcalc's licensing.

Dependencies

~335KB