https://github.com/gurgeous/vectro
rpn calculator for your terminal
https://github.com/gurgeous/vectro
Last synced: 3 months ago
JSON representation
rpn calculator for your terminal
- Host: GitHub
- URL: https://github.com/gurgeous/vectro
- Owner: gurgeous
- License: mit
- Created: 2025-03-09T21:35:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-12T21:07:49.000Z (over 1 year ago)
- Last Synced: 2026-03-08T04:48:51.428Z (3 months ago)
- Language: Go
- Homepage:
- Size: 223 KB
- Stars: 18
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - Vectro - RPN (reversible polish notation) calculator for your terminal. (<a name="calc"></a>Calculators)
- awesome-cli-apps - Vectro - RPN (reversible polish notation) calculator for your terminal. (<a name="calc"></a>Calculators)
README
# Vectro
The rpn calculator for your terminal.

## Screenshot

## What is this?

Vectro is an [rpn](https://en.wikipedia.org/wiki/Reverse_Polish_notation) calculator for your terminal. Many people consider rpn easier and faster than traditional calculators. Vectro is written in Go using the excellent [Bubble Tea](https://github.com/charmbracelet/bubbletea) package and distributed as a single executable.
## Installation
On MacOS use brew:
```
$ brew install gurgeous/tap/vectro
```
For Linux and Windows, see the [latest release on github](https://github.com/gurgeous/vectro/releases/latest). You'll find MacOS builds in there too, but they are difficult to run since they are unsigned.
Then run vectro like this:
```
$ vectro
```
## Features
- Responsive, works with many terminal sizes
- Stack is saved across sessions
- Niceties like Paste (yank) and Undo, error messages, etc.
## Future Work
- advanced ops (autocomplete, shift-ctrl-p)
- animate when stack changes
- theming
## Operators Not Yet Implemented
- abs / ln / square
- deg/rad / cos/acos / sin/asin / tan/atan
- lcm/gcd / prime (prime factorization)
- floor/ceil/round
- bin/oct/hex / << >> & | ^ ~
- rgb / hsl / oklch
## Special Thankss
These open source projects helped make Vectro possible. Thanks everybody!
- [Go Releaser](https://goreleaser.com/), [Lip Gloss](https://github.com/charmbracelet/lipgloss) & [VHS](https://github.com/charmbracelet/vhs), [decimal](https://github.com/shopspring/decimal), [just](https://github.com/casey/just).