README.md

September 2, 2026 ยท View on GitHub

  _   _        _____  _____ 
 | \ | |      / ____|/ ____|
 |  \| | __ _| (___ | |     
 | . ` |/ _` |\___ \| |     
 | |\  | (_| |____) | |____ 
 |_| \_|\__,_|_____/ \_____|

Do maths like a normal person

NASC TUI Demo

Release License: GPL v2 libqalculate

NaSC is an app where you do maths like a normal person. It lets you type whatever you want and smartly figures out what is math and spits out an answer on the right pane. Then you can plug those answers in to future equations and if that answer changes, so does the equations it's used in.

Features:

  • ๐Ÿงฎ Advanced mathematical expressions and functions
  • ๐Ÿ”„ Real-time unit conversions
  • ๐Ÿ“Š Multiple input lines with live results
  • ๐Ÿ—‚๏ธ Named sessions with autosave, fuzzy switching, rename and duplicate
  • โšก Instant calculation results
  • ๐ŸŽจ Beautiful terminal UI
  • ๐Ÿ” Auto-completion for functions and variables
  • โ†ฉ๏ธ Undo/redo functionality
  • ๐Ÿš€ Fast and lightweight

Installation

Works on Arch Linux, Omarchy, and other Arch derivatives, plus Debian/Ubuntu, Fedora, and openSUSE.

bash -c "$(curl -sLo- https://raw.githubusercontent.com/parnoldx/nascTUI/refs/heads/master/install.sh)"

Or from a checkout:

git clone https://github.com/parnoldx/nascTUI.git
cd nascTUI
./install.sh

Arch / Omarchy / AUR:

# official extra packages used at runtime / build time
omarchy pkg add libqalculate go   # or: sudo pacman -S --needed libqalculate go

# AUR package
yay -S nasc-tui

Usage

Simply run the calculator:

nasc

Your sheet is saved automatically as you type and when you quit, so nasc always comes back with the session you last worked on. Sessions are plain text files in ~/.local/share/nasc-tui/sessions/.

nasc                  # resume the last session
nasc -s               # start with the fuzzy session picker
nasc -n               # start a new session
nasc "taxes 2026"     # open (or create) a session by name
nasc --help           # print the help text

Press Ctrl+O inside the app to switch sessions โ€” type to filter, Enter to open, Ctrl+N new, Ctrl+R rename, Ctrl+U duplicate, Ctrl+D delete.

Contributing

Please feel free to submit a Pull Request. For major changes, open an issue first to discuss it.

License

This project is licensed under the GPL v2 License - see the LICENSE file for details.