CmdCalc is a powerful, terminal-style command-line calculator built as a Chrome Extension. Powered by the incredible Math.js engine, it brings advanced mathematics, intelligent autocomplete, and a persistent variable environment straight to your browser.
- Terminal Interface: A sleek, dark-mode command-line interface.
- Advanced Math Engine: Support for complex numbers, matrices, unit conversions, statistics, and calculus via
math.js. - Persistent Variables: Define variables (
x = 5) and custom functions (f(x) = x^2) that persist across sessions. Typevarsto see them all. - IntelliSense Autocomplete: Real-time function prediction with inline documentation.
- Click-to-Copy: Instantly copy any result to your clipboard by simply clicking it, or use
Ctrl+Cin the prompt to copy the last result. - Detachable Window: Pop the calculator out into its own floating window for multitasking.
- Clone this repository or download the source code.
- Open Google Chrome and navigate to
chrome://extensions/. - Enable Developer mode using the toggle in the top right corner.
- Click Load unpacked and select the repository directory.
Click the extension icon in your toolbar to open CmdCalc.
Basic Commands:
help: Lists basic commands and functions.help advanced: Lists advanced mathematical capabilities.clear(orCtrl+L): Clears your calculation history and variable scope.vars: Lists all your currently defined variables and custom functions.Arrow Up/Arrow Down: Navigate through your previous calculations.
This project is licensed under the Apache License 2.0.