mani-calc 1.2.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FRIEND_SETUP.md +132 -0
- package/README.md +373 -493
- package/SETUP.bat +126 -0
- package/bin/overlay.js +87 -19
- package/package.json +14 -3
- package/scripts/install-autostart.js +84 -0
- package/scripts/uninstall-autostart.js +49 -0
- package/src/core/currency-converter.js +191 -0
- package/src/core/date-time-calculator.js +376 -0
- package/src/core/programmer-calc.js +265 -0
- package/src/core/settings-manager.js +179 -0
- package/src/core/utilities.js +402 -0
- package/src/index.js +174 -17
- package/src/ui/floating-search.js +203 -10
- package/src/ui/overlay.html +178 -11
package/README.md
CHANGED
|
@@ -1,614 +1,494 @@
|
|
|
1
|
-
|
|
1
|
+
# ⚡ Mani-Calc v2.1.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Spotlight-style instant calculator for Windows** — Math, Currency, Date/Time, Programmer Mode, Password Generator, Color Converter, Text Utils, Emoji Search, Web Search, System Commands & 8 Beautiful Themes!
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
[](https://opensource.org/licenses/MIT)
|
|
9
|
-
[](https://www.microsoft.com/windows)
|
|
10
|
-
[](https://nodejs.org)
|
|
11
|
-
|
|
12
|
-
<p>
|
|
13
|
-
<strong>Finally, Windows gets what macOS has had for years.</strong><br/>
|
|
14
|
-
Calculate expressions, convert units, and process natural language queries<br/>
|
|
15
|
-
directly from Windows Search - no app to open, no context switching.
|
|
16
|
-
</p>
|
|
17
|
-
|
|
18
|
-
[Quick Start](#-quick-start) • [Features](#-features) • [Examples](#-examples) • [Installation](#-installation) • [Usage](#-usage)
|
|
19
|
-
|
|
20
|
-
</div>
|
|
9
|
+
Press `Alt+Space` anywhere on your desktop to instantly calculate, convert, and control your system!
|
|
21
10
|
|
|
22
11
|
---
|
|
23
12
|
|
|
24
|
-
##
|
|
25
|
-
|
|
26
|
-
macOS users can type `2+3*5` in Spotlight and instantly get `17`.
|
|
27
|
-
|
|
28
|
-
Windows users? They have to open Calculator, type the expression, copy the result, and switch back to what they were doing.
|
|
29
|
-
|
|
30
|
-
**Not anymore.**
|
|
13
|
+
## 🚀 Quick Start
|
|
31
14
|
|
|
32
|
-
|
|
15
|
+
### Installation
|
|
33
16
|
|
|
34
|
-
|
|
17
|
+
```bash
|
|
18
|
+
# Clone or download the repository
|
|
19
|
+
cd mani-calc
|
|
35
20
|
|
|
36
|
-
|
|
21
|
+
# Install dependencies
|
|
22
|
+
npm install
|
|
37
23
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
npm install -g mani-calc
|
|
41
|
-
mani-calc install
|
|
42
|
-
|
|
43
|
-
# Use forever
|
|
44
|
-
# Type in Windows Search:
|
|
45
|
-
calc: 2 + 3 * 5 → 17 ✨
|
|
46
|
-
calc: 10 km to miles → 6.21 miles ✨
|
|
47
|
-
calc: what is 25% of 200 → 50 ✨
|
|
24
|
+
# Run the overlay
|
|
25
|
+
npm run overlay
|
|
48
26
|
```
|
|
49
27
|
|
|
50
|
-
|
|
28
|
+
### Usage
|
|
51
29
|
|
|
52
|
-
|
|
30
|
+
1. Press **`Alt+Space`** to open the floating calculator
|
|
31
|
+
2. Type your query and see **live results** as you type
|
|
32
|
+
3. Press **Enter** to copy the result to clipboard
|
|
33
|
+
4. Press **Escape** to close
|
|
53
34
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
# Start overlay mode
|
|
58
|
-
npm run overlay
|
|
35
|
+
---
|
|
59
36
|
|
|
60
|
-
|
|
61
|
-
# Type: 2 + 3 * 5 → Instant result!
|
|
62
|
-
# Type: sleep → Computer goes to sleep!
|
|
63
|
-
```
|
|
37
|
+
## 📖 Complete Feature Guide
|
|
64
38
|
|
|
65
|
-
|
|
66
|
-
- ⚡ Global hotkey (`Alt+Space`)
|
|
67
|
-
- 🎨 Glassmorphism design
|
|
68
|
-
- 💻 System commands (sleep, lock, shutdown, etc.)
|
|
69
|
-
- 🚀 Live preview
|
|
70
|
-
- 📋 Auto-copy results
|
|
39
|
+
### 📊 Math Calculations
|
|
71
40
|
|
|
72
|
-
|
|
41
|
+
Perform any mathematical calculation with live preview!
|
|
73
42
|
|
|
74
|
-
|
|
43
|
+
| Example | Result |
|
|
44
|
+
|---------|--------|
|
|
45
|
+
| `2 + 3 * 5` | 17 |
|
|
46
|
+
| `sqrt(144)` | 12 |
|
|
47
|
+
| `sin(45 deg)` | 0.7071 |
|
|
48
|
+
| `log(100)` | 2 |
|
|
49
|
+
| `2^10` | 1024 |
|
|
50
|
+
| `15% of 200` | 30 |
|
|
51
|
+
| `(100 + 50) / 3` | 50 |
|
|
75
52
|
|
|
76
|
-
|
|
53
|
+
**Supported Functions:**
|
|
54
|
+
- Basic: `+`, `-`, `*`, `/`, `^` (power)
|
|
55
|
+
- Trigonometry: `sin`, `cos`, `tan`, `asin`, `acos`, `atan`
|
|
56
|
+
- Logarithms: `log`, `log10`, `ln`
|
|
57
|
+
- Roots: `sqrt`, `cbrt`, `nthRoot`
|
|
58
|
+
- Constants: `pi`, `e`
|
|
59
|
+
- Rounding: `round`, `floor`, `ceil`, `abs`
|
|
77
60
|
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
npm install -g mani-calc
|
|
81
|
-
```
|
|
61
|
+
---
|
|
82
62
|
|
|
83
|
-
###
|
|
84
|
-
```bash
|
|
85
|
-
mani-calc install
|
|
86
|
-
```
|
|
87
|
-
> **Note:** You may need to run this as Administrator for full Windows Search integration.
|
|
63
|
+
### 💱 Currency Converter
|
|
88
64
|
|
|
89
|
-
|
|
65
|
+
Convert between 40+ world currencies with live or cached exchange rates!
|
|
90
66
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
67
|
+
| Example | Result |
|
|
68
|
+
|---------|--------|
|
|
69
|
+
| `100 USD to INR` | $100 USD = ₹8,312.00 INR |
|
|
70
|
+
| `50 euros to dollars` | €50 EUR = $54.35 USD |
|
|
71
|
+
| `1000 yen to usd` | ¥1000 JPY = $6.73 USD |
|
|
72
|
+
| `500 rupees to gbp` | ₹500 INR = £4.76 GBP |
|
|
95
73
|
|
|
96
|
-
**
|
|
74
|
+
**Supported Currencies:**
|
|
75
|
+
- **Americas:** USD, CAD, MXN, BRL, ARS, CLP, COP, PEN
|
|
76
|
+
- **Europe:** EUR, GBP, CHF, SEK, NOK, DKK, PLN, CZK, HUF, RON, TRY
|
|
77
|
+
- **Asia:** INR, JPY, CNY, KRW, SGD, HKD, TWD, THB, MYR, PHP, IDR, VND, PKR, BDT
|
|
78
|
+
- **Middle East:** AED, SAR, ILS
|
|
79
|
+
- **Oceania:** AUD, NZD
|
|
80
|
+
- **Africa:** ZAR, NGN, EGP
|
|
97
81
|
|
|
98
82
|
---
|
|
99
83
|
|
|
100
|
-
|
|
84
|
+
### 📅 Date & Time Calculator
|
|
85
|
+
|
|
86
|
+
Calculate dates, countdowns, and check world time!
|
|
87
|
+
|
|
88
|
+
#### World Clock
|
|
89
|
+
| Example | Result |
|
|
90
|
+
|---------|--------|
|
|
91
|
+
| `time in tokyo` | Tokyo: 8:57 PM (Wed, Jan 22) |
|
|
92
|
+
| `time in london` | London: 10:57 AM (Wed, Jan 22) |
|
|
93
|
+
| `time in new york` | New York: 5:57 AM (Wed, Jan 22) |
|
|
94
|
+
|
|
95
|
+
**50+ Locations Supported:** Tokyo, London, New York, Paris, Sydney, Dubai, Singapore, Mumbai, Berlin, Moscow, and more!
|
|
96
|
+
|
|
97
|
+
#### Date Arithmetic
|
|
98
|
+
| Example | Result |
|
|
99
|
+
|---------|--------|
|
|
100
|
+
| `today + 30 days` | Friday, February 21, 2026 |
|
|
101
|
+
| `today - 2 weeks` | Wednesday, January 8, 2026 |
|
|
102
|
+
| `today + 6 months` | Wednesday, July 22, 2026 |
|
|
103
|
+
| `today + 1 year` | Friday, January 22, 2027 |
|
|
104
|
+
|
|
105
|
+
#### Countdowns
|
|
106
|
+
| Example | Result |
|
|
107
|
+
|---------|--------|
|
|
108
|
+
| `days until christmas` | 337 days from now |
|
|
109
|
+
| `days until new year` | 344 days from now |
|
|
110
|
+
| `days since jan 1` | 21 days ago |
|
|
111
|
+
|
|
112
|
+
#### Quick Queries
|
|
113
|
+
| Example | Result |
|
|
114
|
+
|---------|--------|
|
|
115
|
+
| `today` | Wednesday, January 22, 2026, 4:27 PM |
|
|
116
|
+
| `time` | 4:27:07 PM |
|
|
117
|
+
| `week` | Week 4 of 2026 |
|
|
118
|
+
| `what day is dec 25` | Thursday, December 25, 2025 |
|
|
101
119
|
|
|
102
|
-
|
|
103
|
-
Perform any mathematical operation with full operator precedence:
|
|
120
|
+
---
|
|
104
121
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
122
|
+
### 💻 Programmer Calculator
|
|
123
|
+
|
|
124
|
+
Hex, Binary, Octal conversions and bitwise operations for developers!
|
|
125
|
+
|
|
126
|
+
#### Number Conversions
|
|
127
|
+
| Example | Result |
|
|
128
|
+
|---------|--------|
|
|
129
|
+
| `255 to hex` | 255 = 0xFF (hex) |
|
|
130
|
+
| `255 to binary` | 255 = 1111 1111 (binary) |
|
|
131
|
+
| `255 to octal` | 255 = 0o377 (octal) |
|
|
132
|
+
| `0xFF to decimal` | 0xFF = 255 (decimal) |
|
|
133
|
+
| `0b11111111 to decimal` | 0b11111111 = 255 (decimal) |
|
|
134
|
+
| `hex 255` | 0xFF |
|
|
135
|
+
| `bin 255` | 0b11111111 |
|
|
136
|
+
|
|
137
|
+
#### Bitwise Operations
|
|
138
|
+
| Example | Result |
|
|
139
|
+
|---------|--------|
|
|
140
|
+
| `255 AND 128` | 255 AND 128 = 128 |
|
|
141
|
+
| `255 OR 64` | 255 OR 64 = 255 |
|
|
142
|
+
| `255 XOR 128` | 255 XOR 128 = 127 |
|
|
143
|
+
| `NOT 255` | NOT 255 = 4294967040 (32-bit) |
|
|
144
|
+
| `16 << 2` | 16 << 2 = 64 |
|
|
145
|
+
| `64 >> 2` | 64 >> 2 = 16 |
|
|
114
146
|
|
|
115
|
-
|
|
116
|
-
- Basic operators: `+`, `-`, `*`, `/`, `^` (power)
|
|
117
|
-
- Functions: `sqrt()`, `sin()`, `cos()`, `tan()`, `log()`, `ln()`, `abs()`, `ceil()`, `floor()`, `round()`
|
|
118
|
-
- Constants: `pi`, `e`
|
|
119
|
-
- Parentheses for grouping
|
|
147
|
+
---
|
|
120
148
|
|
|
121
|
-
###
|
|
122
|
-
Ask questions in plain English:
|
|
149
|
+
### 📏 Unit Conversions
|
|
123
150
|
|
|
124
|
-
|
|
125
|
-
calc: what is 25 percent of 200 # 50
|
|
126
|
-
calc: 15% of 300 # 45
|
|
127
|
-
calc: half of 80 # 40
|
|
128
|
-
calc: quarter of 100 # 25
|
|
129
|
-
calc: square root of 64 # 8
|
|
130
|
-
calc: 10 squared # 100
|
|
131
|
-
calc: 5 cubed # 125
|
|
132
|
-
calc: 2 to the power of 8 # 256
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### 🔄 Unit Conversions
|
|
136
|
-
Convert between units instantly:
|
|
151
|
+
Convert between various units instantly!
|
|
137
152
|
|
|
138
153
|
#### Length
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
```
|
|
154
|
+
| Example | Result |
|
|
155
|
+
|---------|--------|
|
|
156
|
+
| `10 km to miles` | 6.2137 miles |
|
|
157
|
+
| `100 meters to feet` | 328.084 feet |
|
|
158
|
+
| `5 inches to cm` | 12.7 cm |
|
|
145
159
|
|
|
146
160
|
#### Weight
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
```
|
|
161
|
+
| Example | Result |
|
|
162
|
+
|---------|--------|
|
|
163
|
+
| `100 kg to pounds` | 220.462 pounds |
|
|
164
|
+
| `150 lbs to kg` | 68.039 kg |
|
|
165
|
+
| `1 ton to kg` | 1000 kg |
|
|
153
166
|
|
|
154
167
|
#### Temperature
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
#### Time
|
|
163
|
-
```bash
|
|
164
|
-
calc: 2 hours to minutes # 120 minutes
|
|
165
|
-
calc: 120 seconds to minutes # 2 minutes
|
|
166
|
-
calc: 1 day to hours # 24 hours
|
|
167
|
-
calc: 365 days to hours # 8760 hours
|
|
168
|
-
```
|
|
168
|
+
| Example | Result |
|
|
169
|
+
|---------|--------|
|
|
170
|
+
| `100 F to C` | 37.78 °C |
|
|
171
|
+
| `0 C to F` | 32 °F |
|
|
172
|
+
| `300 K to C` | 26.85 °C |
|
|
169
173
|
|
|
170
174
|
#### Volume
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
calc: 2 cups to ml # 473.18 ml
|
|
176
|
-
```
|
|
175
|
+
| Example | Result |
|
|
176
|
+
|---------|--------|
|
|
177
|
+
| `1 gallon to liters` | 3.785 liters |
|
|
178
|
+
| `500 ml to cups` | 2.11 cups |
|
|
177
179
|
|
|
178
|
-
####
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### 📋 Automatic Clipboard Integration
|
|
186
|
-
Every result is automatically copied to your clipboard. Just press `Ctrl+V` to paste it anywhere!
|
|
187
|
-
|
|
188
|
-
### 📚 Calculation History
|
|
189
|
-
Keep track of your recent calculations:
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
calc: history # View last 10 calculations
|
|
193
|
-
calc: clear history # Clear all history
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
History is stored locally with timestamps, so you can always review past calculations.
|
|
180
|
+
#### Data
|
|
181
|
+
| Example | Result |
|
|
182
|
+
|---------|--------|
|
|
183
|
+
| `1 GB to MB` | 1024 MB |
|
|
184
|
+
| `1 TB to GB` | 1024 GB |
|
|
197
185
|
|
|
198
186
|
---
|
|
199
187
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
### Prerequisites
|
|
203
|
-
- **Node.js** >= 14.0.0 ([Download here](https://nodejs.org))
|
|
204
|
-
- **Windows** 10 or 11
|
|
205
|
-
- **npm** (comes with Node.js)
|
|
206
|
-
|
|
207
|
-
### Install Globally
|
|
208
|
-
```bash
|
|
209
|
-
npm install -g mani-calc
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
### Set Up Windows Search Integration
|
|
213
|
-
```bash
|
|
214
|
-
mani-calc install
|
|
215
|
-
```
|
|
188
|
+
### 🔐 Password Generator
|
|
216
189
|
|
|
217
|
-
|
|
218
|
-
- Registers the `calc:` protocol handler
|
|
219
|
-
- Creates a Windows Search connector
|
|
220
|
-
- Sets up registry entries for seamless integration
|
|
190
|
+
Generate secure random passwords instantly!
|
|
221
191
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
192
|
+
| Example | Result |
|
|
193
|
+
|---------|--------|
|
|
194
|
+
| `password` | 🔐 Password: xK9#mP2$nL7@qR |
|
|
195
|
+
| `password 16` | 16-character secure password |
|
|
196
|
+
| `password 20` | 20-character secure password |
|
|
226
197
|
|
|
227
198
|
---
|
|
228
199
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
Mani-Calc offers **four ways** to use it:
|
|
232
|
-
|
|
233
|
-
### 1️⃣ Overlay Mode (NEW! ⭐)
|
|
234
|
-
|
|
235
|
-
The most powerful way - a floating search box with global hotkey:
|
|
236
|
-
|
|
237
|
-
```bash
|
|
238
|
-
# Start overlay mode
|
|
239
|
-
npm run overlay
|
|
240
|
-
|
|
241
|
-
# Or after global install
|
|
242
|
-
mani-calc-overlay
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
Then press **`Alt+Space`** anywhere in Windows to toggle the search box!
|
|
246
|
-
|
|
247
|
-
**Features:**
|
|
248
|
-
- Works from any application
|
|
249
|
-
- Beautiful glassmorphism UI
|
|
250
|
-
- Live preview as you type
|
|
251
|
-
- System commands (sleep, lock, shutdown, etc.)
|
|
252
|
-
- Auto-hide when you click outside
|
|
253
|
-
|
|
254
|
-
**Examples:**
|
|
255
|
-
```
|
|
256
|
-
Alt+Space → "2 + 3 * 5" → Enter
|
|
257
|
-
Alt+Space → "10 km to miles" → Enter
|
|
258
|
-
Alt+Space → "sleep" → Enter (computer sleeps!)
|
|
259
|
-
Alt+Space → "lock" → Enter (computer locks!)
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
**[Full Overlay Mode Documentation →](OVERLAY_MODE.md)**
|
|
263
|
-
|
|
264
|
-
### 2️⃣ Windows Search
|
|
265
|
-
|
|
266
|
-
After installation, open Windows Search (`Win + S`) and type:
|
|
267
|
-
|
|
268
|
-
```
|
|
269
|
-
calc: [your expression]
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
**Examples:**
|
|
273
|
-
```
|
|
274
|
-
calc: 2 + 3 * 5
|
|
275
|
-
calc: 10 km to miles
|
|
276
|
-
calc: what is 25 percent of 200
|
|
277
|
-
calc: sqrt(144)
|
|
278
|
-
calc: history
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
### 3️⃣ Command Line
|
|
282
|
-
|
|
283
|
-
Use directly from your terminal:
|
|
284
|
-
|
|
285
|
-
```bash
|
|
286
|
-
# Basic calculation
|
|
287
|
-
mani-calc "2 + 3 * 5"
|
|
288
|
-
|
|
289
|
-
# Natural language
|
|
290
|
-
mani-calc "what is 25 percent of 200"
|
|
291
|
-
|
|
292
|
-
# Unit conversion
|
|
293
|
-
mani-calc "10 km to miles"
|
|
294
|
-
|
|
295
|
-
# View history
|
|
296
|
-
mani-calc history
|
|
297
|
-
|
|
298
|
-
# Get help
|
|
299
|
-
mani-calc --help
|
|
300
|
-
|
|
301
|
-
# Check version
|
|
302
|
-
mani-calc --version
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
### 4️⃣ Interactive Mode (REPL)
|
|
200
|
+
### 🎲 Random Generator
|
|
306
201
|
|
|
307
|
-
|
|
202
|
+
Random numbers, dice rolls, coin flips, and UUIDs!
|
|
308
203
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
(Result copied to clipboard)
|
|
319
|
-
|
|
320
|
-
calc> 10 km to miles
|
|
321
|
-
✓ 10 km = 6.21 miles
|
|
322
|
-
(Result copied to clipboard)
|
|
323
|
-
|
|
324
|
-
calc> what is 25 percent of 200
|
|
325
|
-
✓ what is 25 percent of 200 = 50
|
|
326
|
-
(Result copied to clipboard)
|
|
327
|
-
|
|
328
|
-
calc> history
|
|
329
|
-
Recent Calculations:
|
|
330
|
-
|
|
331
|
-
1. what is 25 percent of 200 = 50 (7:45 PM)
|
|
332
|
-
2. 10 km = 6.21 miles (7:44 PM)
|
|
333
|
-
3. 2 + 3 * 5 = 17 (7:43 PM)
|
|
334
|
-
|
|
335
|
-
calc> exit
|
|
336
|
-
👋 Goodbye!
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
**Interactive Mode Commands:**
|
|
340
|
-
- `exit` or `quit` - Exit interactive mode
|
|
341
|
-
- `clear` - Clear the screen
|
|
342
|
-
- `help` - Show help
|
|
343
|
-
- `history` - View calculation history
|
|
344
|
-
- Any calculation - Get instant result
|
|
204
|
+
| Example | Result |
|
|
205
|
+
|---------|--------|
|
|
206
|
+
| `random` | 🎲 Random (1-100): 42 |
|
|
207
|
+
| `random 1 1000` | 🎲 Random (1-1000): 567 |
|
|
208
|
+
| `dice` | 🎲 Dice (d6): 4 |
|
|
209
|
+
| `d20` | 🎲 Dice (d20): 17 |
|
|
210
|
+
| `coin` | 🪙 Coin Flip: Heads |
|
|
211
|
+
| `flip` | 🪙 Coin Flip: Tails |
|
|
212
|
+
| `uuid` | 🔑 UUID: a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d |
|
|
345
213
|
|
|
346
214
|
---
|
|
347
215
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
### 🛒 Shopping
|
|
351
|
-
```bash
|
|
352
|
-
# Calculate discount
|
|
353
|
-
calc: what is 20 percent of 150 # 30 (discount amount)
|
|
354
|
-
calc: 150 - 30 # 120 (final price)
|
|
216
|
+
### 🎨 Color Converter
|
|
355
217
|
|
|
356
|
-
|
|
357
|
-
calc: what is 8.5 percent of 100 # 8.5 (tax amount)
|
|
358
|
-
```
|
|
218
|
+
Convert between HEX, RGB, and HSL color formats!
|
|
359
219
|
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
### ✈️ Travel
|
|
368
|
-
```bash
|
|
369
|
-
calc: 500 km to miles # 310.69 miles
|
|
370
|
-
calc: 120 km/h to mph # 74.56 mph
|
|
371
|
-
calc: 10 kg to pounds # 22.05 pounds (luggage weight)
|
|
372
|
-
```
|
|
373
|
-
|
|
374
|
-
### 🏃 Fitness
|
|
375
|
-
```bash
|
|
376
|
-
calc: 5 miles to km # 8.05 km (running distance)
|
|
377
|
-
calc: 150 pounds to kg # 68.04 kg (body weight)
|
|
378
|
-
```
|
|
379
|
-
|
|
380
|
-
### 🔬 Science & Engineering
|
|
381
|
-
```bash
|
|
382
|
-
calc: 9.8 * 5 # 49 (acceleration * time)
|
|
383
|
-
calc: sqrt(2) * 10 # 14.14 (diagonal calculation)
|
|
384
|
-
calc: pi * 5^2 # 78.54 (circle area)
|
|
385
|
-
```
|
|
386
|
-
|
|
387
|
-
### 💼 Finance
|
|
388
|
-
```bash
|
|
389
|
-
calc: what is 15 percent of 50000 # 7500 (interest calculation)
|
|
390
|
-
calc: 50000 + 7500 # 57500 (total with interest)
|
|
391
|
-
```
|
|
220
|
+
| Example | Result |
|
|
221
|
+
|---------|--------|
|
|
222
|
+
| `#FF5733` | 🎨 Color: #FF5733 \| rgb(255, 87, 51) \| hsl(11, 100%, 60%) |
|
|
223
|
+
| `#FF5733 to rgb` | 🎨 Color: rgb(255, 87, 51) |
|
|
224
|
+
| `rgb(255,0,0) to hex` | 🎨 Color: #FF0000 |
|
|
392
225
|
|
|
393
226
|
---
|
|
394
227
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
### Variables & Memory (Interactive Mode)
|
|
398
|
-
Store values for reuse during your session:
|
|
399
|
-
|
|
400
|
-
```bash
|
|
401
|
-
calc> x = 100
|
|
402
|
-
✓ x = 100
|
|
228
|
+
### 📝 Text Utilities
|
|
403
229
|
|
|
404
|
-
|
|
405
|
-
✓ 200
|
|
230
|
+
Transform and analyze text!
|
|
406
231
|
|
|
407
|
-
|
|
408
|
-
|
|
232
|
+
| Example | Result |
|
|
233
|
+
|---------|--------|
|
|
234
|
+
| `upper hello world` | 📝 upper: HELLO WORLD |
|
|
235
|
+
| `lower HELLO WORLD` | 📝 lower: hello world |
|
|
236
|
+
| `reverse hello` | 📝 reverse: olleh |
|
|
237
|
+
| `capitalize hello world` | 📝 capitalize: Hello World |
|
|
238
|
+
| `count hello world` | 📊 Count: 11 chars, 2 words |
|
|
239
|
+
| `camelcase hello world` | 📝 camelcase: helloWorld |
|
|
240
|
+
| `snakecase hello world` | 📝 snakecase: hello_world |
|
|
241
|
+
| `kebabcase hello world` | 📝 kebabcase: hello-world |
|
|
409
242
|
|
|
410
|
-
|
|
411
|
-
✓ y = 150
|
|
412
|
-
|
|
413
|
-
calc> y * 2
|
|
414
|
-
✓ 300
|
|
415
|
-
```
|
|
416
|
-
|
|
417
|
-
### Complex Expressions
|
|
418
|
-
Chain multiple operations:
|
|
419
|
-
|
|
420
|
-
```bash
|
|
421
|
-
calc: ((10 + 5) * 3 - 20) / 5 # 5
|
|
422
|
-
calc: sqrt(16) + sqrt(9) # 7
|
|
423
|
-
calc: 2^3 + 3^2 # 17
|
|
424
|
-
calc: sin(pi/4) + cos(pi/4) # 1.41
|
|
425
|
-
```
|
|
243
|
+
---
|
|
426
244
|
|
|
427
|
-
###
|
|
428
|
-
Units are case-insensitive and flexible:
|
|
245
|
+
### 😀 Emoji Search
|
|
429
246
|
|
|
430
|
-
|
|
431
|
-
calc: 10 KM to MILES # Works!
|
|
432
|
-
calc: 10 Km to Miles # Works!
|
|
433
|
-
calc: 10 kilometers to miles # Works!
|
|
434
|
-
calc: 10 kilometer to mile # Works!
|
|
435
|
-
```
|
|
436
|
-
|
|
437
|
-
---
|
|
247
|
+
Find emojis by category!
|
|
438
248
|
|
|
439
|
-
|
|
249
|
+
| Example | Result |
|
|
250
|
+
|---------|--------|
|
|
251
|
+
| `emoji happy` | 😀 Emojis: 😀 😃 😄 😁 😆 😊 🙂 😇 🥰 😍 |
|
|
252
|
+
| `emoji heart` | 😀 Emojis: ❤️ 🧡 💛 💚 💙 💜 🖤 🤍 🤎 💔 |
|
|
253
|
+
| `emoji fire` | 😀 Emojis: 🔥 💥 ⚡ ✨ 💫 🌟 ⭐ |
|
|
254
|
+
| `emoji food` | 😀 Emojis: 🍕 🍔 🍟 🌭 🍿 🥗 🍣 🍜 🍩 🍪 |
|
|
255
|
+
| `emoji music` | 😀 Emojis: 🎵 🎶 🎼 🎹 🎸 🎺 🥁 🎷 🎻 |
|
|
256
|
+
| `emoji animal` | 😀 Emojis: 🐶 🐱 🐭 🐹 🐰 🦊 🐻 🐼 🐨 🦁 |
|
|
440
257
|
|
|
441
|
-
|
|
442
|
-
|---------|-------------|
|
|
443
|
-
| `mani-calc install` | Install Windows Search integration |
|
|
444
|
-
| `mani-calc uninstall` | Remove Windows Search integration |
|
|
445
|
-
| `mani-calc "[expression]"` | Calculate expression directly |
|
|
446
|
-
| `mani-calc` | Start interactive REPL mode |
|
|
447
|
-
| `mani-calc history` | View calculation history |
|
|
448
|
-
| `mani-calc --help` | Show help information |
|
|
449
|
-
| `mani-calc --version` | Show version number |
|
|
258
|
+
**Categories:** happy, sad, love, heart, angry, laugh, cool, fire, music, food, drink, animal, nature, weather, sport, travel, work, money, celebrate, thumbs, hand, face, star, check, cross, time, arrow
|
|
450
259
|
|
|
451
260
|
---
|
|
452
261
|
|
|
453
|
-
|
|
262
|
+
### 🔒 Hash & Encoding
|
|
454
263
|
|
|
455
|
-
|
|
456
|
-
- ✅ **100% Offline** - No internet connection required
|
|
457
|
-
- ✅ **No Tracking** - Zero data collection or analytics
|
|
458
|
-
- ✅ **No Telemetry** - Your calculations stay on your machine
|
|
459
|
-
- ✅ **Local Storage** - History stored locally in your AppData folder
|
|
264
|
+
Generate hashes and encode/decode Base64!
|
|
460
265
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
266
|
+
| Example | Result |
|
|
267
|
+
|---------|--------|
|
|
268
|
+
| `md5 hello` | 🔒 MD5: 5d41402abc4b2a76b9719d911017c592 |
|
|
269
|
+
| `sha256 hello` | 🔒 SHA256: 2cf24dba5fb0a30e... |
|
|
270
|
+
| `sha1 hello` | 🔒 SHA1: aaf4c61ddcc5e8a... |
|
|
271
|
+
| `base64 encode hello` | 🔤 Base64 encode: aGVsbG8= |
|
|
272
|
+
| `base64 decode aGVsbG8=` | 🔤 Base64 decode: hello |
|
|
466
273
|
|
|
467
274
|
---
|
|
468
275
|
|
|
469
|
-
|
|
276
|
+
### 🔍 Quick Web Search
|
|
470
277
|
|
|
471
|
-
|
|
278
|
+
Search the web directly from the calculator!
|
|
472
279
|
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
280
|
+
| Example | Action |
|
|
281
|
+
|---------|--------|
|
|
282
|
+
| `google AI news` | Opens Google search for "AI news" |
|
|
283
|
+
| `youtube music videos` | Opens YouTube search for "music videos" |
|
|
284
|
+
| `wiki Albert Einstein` | Opens Wikipedia search |
|
|
285
|
+
| `github react` | Opens GitHub search for "react" |
|
|
286
|
+
| `stackoverflow javascript` | Opens StackOverflow search |
|
|
287
|
+
| `amazon laptop` | Opens Amazon search for "laptop" |
|
|
288
|
+
| `maps New York` | Opens Google Maps search |
|
|
289
|
+
| `reddit programming` | Opens Reddit search |
|
|
290
|
+
| `twitter elon musk` | Opens Twitter search |
|
|
483
291
|
|
|
484
|
-
**
|
|
485
|
-
Sometimes Windows needs a fresh session to recognize the protocol handler.
|
|
292
|
+
**Supported Search Engines:** google, youtube, bing, duckduckgo, wiki, wikipedia, github, stackoverflow, amazon, twitter, reddit, maps
|
|
486
293
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
Make sure no other application is blocking clipboard access. Close any clipboard managers temporarily.
|
|
294
|
+
---
|
|
490
295
|
|
|
491
|
-
###
|
|
296
|
+
### ⚙️ System Commands
|
|
297
|
+
|
|
298
|
+
Control your Windows PC directly from the calculator!
|
|
299
|
+
|
|
300
|
+
#### Power Controls
|
|
301
|
+
| Command | Action |
|
|
302
|
+
|---------|--------|
|
|
303
|
+
| `sleep` | Put computer to sleep |
|
|
304
|
+
| `lock` | Lock the computer |
|
|
305
|
+
| `shutdown` | Shutdown the computer |
|
|
306
|
+
| `restart` | Restart the computer |
|
|
307
|
+
| `logout` | Log out current user |
|
|
308
|
+
|
|
309
|
+
#### Volume Controls
|
|
310
|
+
| Command | Action |
|
|
311
|
+
|---------|--------|
|
|
312
|
+
| `mute` | Toggle mute |
|
|
313
|
+
| `unmute` | Toggle mute |
|
|
314
|
+
| `volume up` | Increase volume |
|
|
315
|
+
| `volume down` | Decrease volume |
|
|
316
|
+
|
|
317
|
+
#### Screen & Connectivity
|
|
318
|
+
| Command | Action |
|
|
319
|
+
|---------|--------|
|
|
320
|
+
| `brightness up` | Increase screen brightness |
|
|
321
|
+
| `brightness down` | Decrease screen brightness |
|
|
322
|
+
| `wifi on` | Enable WiFi |
|
|
323
|
+
| `wifi off` | Disable WiFi |
|
|
324
|
+
| `bluetooth on` | Enable Bluetooth |
|
|
325
|
+
| `bluetooth off` | Disable Bluetooth |
|
|
326
|
+
|
|
327
|
+
#### Quick Launch Apps
|
|
328
|
+
| Command | Action |
|
|
329
|
+
|---------|--------|
|
|
330
|
+
| `notepad` | Open Notepad |
|
|
331
|
+
| `calculator` | Open Windows Calculator |
|
|
332
|
+
| `explorer` / `files` | Open File Explorer |
|
|
333
|
+
| `task manager` | Open Task Manager |
|
|
334
|
+
| `control panel` | Open Control Panel |
|
|
335
|
+
| `settings app` | Open Windows Settings |
|
|
336
|
+
| `cmd` | Open Command Prompt |
|
|
337
|
+
| `powershell` | Open PowerShell |
|
|
338
|
+
| `browser` | Open default browser |
|
|
339
|
+
| `screenshot` / `snip` | Open Snipping Tool |
|
|
340
|
+
|
|
341
|
+
#### System Info
|
|
342
|
+
| Command | Action |
|
|
343
|
+
|---------|--------|
|
|
344
|
+
| `ip` | Show your IP address |
|
|
345
|
+
| `battery` | Show battery percentage |
|
|
492
346
|
|
|
493
|
-
|
|
494
|
-
```bash
|
|
495
|
-
npm config get prefix
|
|
496
|
-
```
|
|
347
|
+
---
|
|
497
348
|
|
|
498
|
-
|
|
349
|
+
### 🎨 Themes
|
|
499
350
|
|
|
500
|
-
|
|
351
|
+
Customize your calculator with 8 beautiful themes!
|
|
501
352
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
353
|
+
| Command | Theme |
|
|
354
|
+
|---------|-------|
|
|
355
|
+
| `theme dark` | Dark Mode (default) |
|
|
356
|
+
| `theme light` | Light Mode |
|
|
357
|
+
| `theme midnight` | Midnight Blue |
|
|
358
|
+
| `theme forest` | Forest Green |
|
|
359
|
+
| `theme sunset` | Sunset Orange |
|
|
360
|
+
| `theme purple` | Royal Purple |
|
|
361
|
+
| `theme neon` | Neon Glow |
|
|
362
|
+
| `theme ocean` | Deep Ocean |
|
|
363
|
+
| `themes` | List all available themes |
|
|
506
364
|
|
|
507
365
|
---
|
|
508
366
|
|
|
509
|
-
|
|
367
|
+
### ⚡ Settings & Configuration
|
|
510
368
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
369
|
+
| Command | Action |
|
|
370
|
+
|---------|--------|
|
|
371
|
+
| `settings` | View current settings |
|
|
372
|
+
| `autostart on` | Start with Windows |
|
|
373
|
+
| `autostart off` | Disable auto-start |
|
|
374
|
+
| `help` | Show all commands |
|
|
375
|
+
| `history` | View calculation history |
|
|
376
|
+
| `clear history` | Clear calculation history |
|
|
377
|
+
| `quit` / `exit` | Close Mani-Calc |
|
|
517
378
|
|
|
518
379
|
---
|
|
519
380
|
|
|
520
|
-
##
|
|
381
|
+
## ⌨️ Keyboard Shortcuts
|
|
521
382
|
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
### Phase 3 - Advanced Features (v1.2.0)
|
|
529
|
-
- [ ] Graph plotting (`plot y = x^2`)
|
|
530
|
-
- [ ] Step-by-step solutions for equations
|
|
531
|
-
- [ ] Developer mode (hex, binary, base64 conversions)
|
|
532
|
-
- [ ] Scientific notation support
|
|
533
|
-
|
|
534
|
-
### Phase 4 - Ecosystem (v2.0.0)
|
|
535
|
-
- [ ] Plugin system for extensions
|
|
536
|
-
- [ ] Custom user-defined commands
|
|
537
|
-
- [ ] Voice input support
|
|
538
|
-
- [ ] PowerToys Run integration
|
|
539
|
-
- [ ] Sync history across devices (optional)
|
|
383
|
+
| Shortcut | Action |
|
|
384
|
+
|----------|--------|
|
|
385
|
+
| `Alt + Space` | Toggle calculator overlay |
|
|
386
|
+
| `Enter` | Execute & copy result to clipboard |
|
|
387
|
+
| `Escape` | Close overlay |
|
|
540
388
|
|
|
541
389
|
---
|
|
542
390
|
|
|
543
|
-
##
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
391
|
+
## 🛠️ Development
|
|
392
|
+
|
|
393
|
+
### Project Structure
|
|
394
|
+
```
|
|
395
|
+
mani-calc/
|
|
396
|
+
├── src/
|
|
397
|
+
│ ├── core/
|
|
398
|
+
│ │ ├── math-engine.js # Math calculations
|
|
399
|
+
│ │ ├── currency-converter.js # Currency conversion
|
|
400
|
+
│ │ ├── date-time-calculator.js # Date/time calculations
|
|
401
|
+
│ │ ├── programmer-calc.js # Hex/Binary/Bitwise
|
|
402
|
+
│ │ ├── unit-converter.js # Unit conversions
|
|
403
|
+
│ │ ├── nlp-parser.js # Natural language parsing
|
|
404
|
+
│ │ ├── history-manager.js # Calculation history
|
|
405
|
+
│ │ ├── clipboard-manager.js # Clipboard operations
|
|
406
|
+
│ │ └── settings-manager.js # User settings
|
|
407
|
+
│ ├── ui/
|
|
408
|
+
│ │ ├── main-electron.js # Electron main process
|
|
409
|
+
│ │ ├── floating-search.js # Overlay window logic
|
|
410
|
+
│ │ └── overlay.html # UI template
|
|
411
|
+
│ ├── integration/
|
|
412
|
+
│ │ └── windows-search.js # Windows Search integration
|
|
413
|
+
│ └── index.js # Main entry point
|
|
414
|
+
├── bin/
|
|
415
|
+
│ ├── cli.js # CLI interface
|
|
416
|
+
│ └── overlay.js # Overlay launcher
|
|
417
|
+
├── test/
|
|
418
|
+
│ └── test.js # Test suite
|
|
419
|
+
└── package.json
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
### Run in Development
|
|
556
423
|
```bash
|
|
557
|
-
#
|
|
558
|
-
|
|
559
|
-
cd mani-calc
|
|
424
|
+
# Run overlay mode
|
|
425
|
+
npm run overlay
|
|
560
426
|
|
|
561
|
-
#
|
|
562
|
-
npm
|
|
427
|
+
# Run CLI mode
|
|
428
|
+
npm start
|
|
563
429
|
|
|
564
430
|
# Run tests
|
|
565
431
|
npm test
|
|
566
|
-
|
|
567
|
-
# Test locally
|
|
568
|
-
node bin/cli.js "2 + 3 * 5"
|
|
569
432
|
```
|
|
570
433
|
|
|
571
434
|
---
|
|
572
435
|
|
|
573
|
-
##
|
|
436
|
+
## 📋 Requirements
|
|
574
437
|
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
438
|
+
- **OS:** Windows 10/11
|
|
439
|
+
- **Node.js:** v14.0.0 or higher
|
|
440
|
+
- **Electron:** Included in dependencies
|
|
578
441
|
|
|
579
442
|
---
|
|
580
443
|
|
|
581
|
-
##
|
|
582
|
-
|
|
583
|
-
|
|
444
|
+
## 📝 Changelog
|
|
445
|
+
|
|
446
|
+
### v2.1.0 (January 2026)
|
|
447
|
+
- ✨ **Password Generator** - Generate secure random passwords (8-64 chars)
|
|
448
|
+
- ✨ **Random Generator** - Random numbers, dice rolls, coin flips, UUIDs
|
|
449
|
+
- ✨ **Color Converter** - Convert HEX, RGB, HSL formats
|
|
450
|
+
- ✨ **Text Utilities** - upper, lower, reverse, capitalize, camelcase, snakecase, kebabcase, count
|
|
451
|
+
- ✨ **Emoji Search** - Find emojis by category (30+ categories)
|
|
452
|
+
- ✨ **Hash Generator** - MD5, SHA1, SHA256, SHA512 hashes
|
|
453
|
+
- ✨ **Base64 Encoding** - Encode/decode Base64 strings
|
|
454
|
+
- ✨ **Quick Web Search** - Google, YouTube, Wikipedia, GitHub, StackOverflow, Amazon, Reddit, Maps
|
|
455
|
+
- 📚 Complete README documentation with all features
|
|
456
|
+
|
|
457
|
+
### v2.0.0 (January 2026)
|
|
458
|
+
- ✨ **Currency Converter** - 40+ world currencies
|
|
459
|
+
- ✨ **Date/Time Calculator** - World clock, date arithmetic, countdowns
|
|
460
|
+
- ✨ **Programmer Mode** - Hex, Binary, Octal, Bitwise operations
|
|
461
|
+
- ✨ **8 Color Themes** - Dark, Light, Midnight, Forest, Sunset, Purple, Neon, Ocean
|
|
462
|
+
- ✨ **25+ System Commands** - Control Windows from the overlay
|
|
463
|
+
- ✨ **Auto-Start** - Start with Windows option
|
|
464
|
+
- ✨ **Live Calculation** - See results as you type
|
|
465
|
+
- 🔧 Fixed volume controls (replaced nircmd with native PowerShell)
|
|
466
|
+
- 🔧 Fixed help command visibility
|
|
467
|
+
- 🔧 Improved settings persistence
|
|
468
|
+
|
|
469
|
+
### v1.2.3 (Previous)
|
|
470
|
+
- Basic math calculations
|
|
471
|
+
- Unit conversions
|
|
472
|
+
- Windows Search integration
|
|
584
473
|
|
|
585
474
|
---
|
|
586
475
|
|
|
587
|
-
##
|
|
588
|
-
|
|
589
|
-
If Mani-Calc saves you time and improves your productivity:
|
|
476
|
+
## 🤝 Contributing
|
|
590
477
|
|
|
591
|
-
|
|
592
|
-
- 🐦 **Share it** on social media
|
|
593
|
-
- 📝 **Write a review** or blog post
|
|
594
|
-
- 🤝 **Contribute** to the project
|
|
478
|
+
Contributions are welcome! Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
595
479
|
|
|
596
480
|
---
|
|
597
481
|
|
|
598
|
-
##
|
|
482
|
+
## 📄 License
|
|
599
483
|
|
|
600
|
-
-
|
|
601
|
-
- **Issues**: [Report a bug](https://github.com/Maniredii/mani-calc/issues)
|
|
602
|
-
- **Discussions**: [Ask questions](https://github.com/Maniredii/mani-calc/discussions)
|
|
484
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
603
485
|
|
|
604
486
|
---
|
|
605
487
|
|
|
606
|
-
|
|
488
|
+
## 👨💻 Author
|
|
607
489
|
|
|
608
|
-
**
|
|
490
|
+
**Manideep Reddy Eevuri**
|
|
609
491
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
[⬆ Back to Top](#-mani-calc)
|
|
492
|
+
---
|
|
613
493
|
|
|
614
|
-
|
|
494
|
+
Made with ❤️ for Windows users who love productivity!
|