mani-calc 1.2.2 → 2.1.1

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/README.md CHANGED
@@ -1,614 +1,494 @@
1
- <div align="center">
1
+ # ⚡ Mani-Calc v2.1.0
2
2
 
3
- # 📊 Mani-Calc
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
- **Spotlight for Windows** - Instant calculations from Windows Search
5
+ ![Version](https://img.shields.io/badge/version-2.1.0-blue.svg)
6
+ ![Platform](https://img.shields.io/badge/platform-Windows-0078D6.svg)
7
+ ![License](https://img.shields.io/badge/license-MIT-green.svg)
6
8
 
7
- [![npm version](https://img.shields.io/npm/v/mani-calc.svg)](https://www.npmjs.com/package/mani-calc)
8
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
- [![Platform](https://img.shields.io/badge/platform-Windows-0078D6.svg)](https://www.microsoft.com/windows)
10
- [![Node Version](https://img.shields.io/badge/node-%3E%3D14.0.0-brightgreen.svg)](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
- ## 🎯 The Problem
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
- ## ✨ The Solution
17
+ ```bash
18
+ # Clone or download the repository
19
+ cd mani-calc
35
20
 
36
- **Mani-Calc** turns your Windows Search into a powerful calculator. Type math expressions, conversions, or natural language queries and get instant results — just like macOS Spotlight, but for Windows.
21
+ # Install dependencies
22
+ npm install
37
23
 
38
- ```bash
39
- # Install once
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
- Results appear instantly. Auto-copied to clipboard. Pure productivity.
28
+ ### Usage
51
29
 
52
- ### 🎨 **NEW: Overlay Mode**
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
- Now with a **beautiful floating search box** that appears anywhere with `Alt+Space`!
55
-
56
- ```bash
57
- # Start overlay mode
58
- npm run overlay
35
+ ---
59
36
 
60
- # Press Alt+Space anywhere
61
- # Type: 2 + 3 * 5 → Instant result!
62
- # Type: sleep → Computer goes to sleep!
63
- ```
37
+ ## 📖 Complete Feature Guide
64
38
 
65
- **Features:**
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
- **[Learn more about Overlay Mode →](OVERLAY_MODE.md)**
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
- ## 🚀 Quick Start
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
- ### 1. Install the Package
79
- ```bash
80
- npm install -g mani-calc
81
- ```
61
+ ---
82
62
 
83
- ### 2. Set Up Windows Search Integration
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
- ### 3. Start Using!
65
+ Convert between 40+ world currencies with live or cached exchange rates!
90
66
 
91
- Open Windows Search (`Win + S`) and type:
92
- ```
93
- calc: 2 + 3 * 5
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
- **That's it!** The result appears instantly and is automatically copied to your clipboard.
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
- ## 🎨 Features
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
- ### 🧮 Math Calculations
103
- Perform any mathematical operation with full operator precedence:
120
+ ---
104
121
 
105
- ```bash
106
- calc: 2 + 3 * 5 # 17
107
- calc: (10 + 20) / 5 # 6
108
- calc: sqrt(144) # 12
109
- calc: 2^10 # 1024
110
- calc: sin(pi/2) # 1
111
- calc: log(100) # 2
112
- calc: abs(-42) # 42
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
- **Supported:**
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
- ### 💬 Natural Language Processing
122
- Ask questions in plain English:
149
+ ### 📏 Unit Conversions
123
150
 
124
- ```bash
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
- ```bash
140
- calc: 10 km to miles # 6.21 miles
141
- calc: 5 miles to km # 8.05 km
142
- calc: 100 cm to inches # 39.37 inches
143
- calc: 6 feet to meters # 1.83 meters
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
- ```bash
148
- calc: 10 kg to pounds # 22.05 pounds
149
- calc: 5 pounds to kg # 2.27 kg
150
- calc: 1000 grams to kg # 1 kg
151
- calc: 16 oz to pounds # 1 pound
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
- ```bash
156
- calc: 0 celsius to fahrenheit # 32 fahrenheit
157
- calc: 100 celsius to fahrenheit # 212 fahrenheit
158
- calc: 98.6 fahrenheit to celsius # 37 celsius
159
- calc: 273.15 kelvin to celsius # 0 celsius
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
- ```bash
172
- calc: 5 liters to gallons # 1.32 gallons
173
- calc: 1 gallon to liters # 3.79 liters
174
- calc: 500 ml to liters # 0.5 liters
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
- #### Speed
179
- ```bash
180
- calc: 100 km/h to mph # 62.14 mph
181
- calc: 60 mph to km/h # 96.56 km/h
182
- calc: 10 m/s to km/h # 36 km/h
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
- ## 📥 Installation
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
- This command:
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
- > **Tip:** If Windows Search integration doesn't work immediately, try:
223
- > 1. Running `mani-calc install` as Administrator
224
- > 2. Restarting Windows Explorer: `taskkill /f /im explorer.exe && start explorer.exe`
225
- > 3. Logging out and back in
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
- ## 📖 Usage
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
- Start an interactive session:
202
+ Random numbers, dice rolls, coin flips, and UUIDs!
308
203
 
309
- ```bash
310
- mani-calc
311
- ```
312
-
313
- Then type your calculations:
314
-
315
- ```
316
- calc> 2 + 3 * 5
317
- 2 + 3 * 5 = 17
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
- ## 💡 Real-World Use Cases
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
- # Tax calculation
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
- ### 👨‍🍳 Cooking
361
- ```bash
362
- calc: 2 cups to ml # 473.18 ml
363
- calc: 350 fahrenheit to celsius # 176.67 celsius
364
- calc: half of 250 # 125 (halving a recipe)
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
- ## 🎯 Advanced Features
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
- calc> x * 2
405
- ✓ 200
230
+ Transform and analyze text!
406
231
 
407
- calc> x / 4
408
- ✓ 25
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
- calc> y = x + 50
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
- ### Flexible Syntax
428
- Units are case-insensitive and flexible:
245
+ ### 😀 Emoji Search
429
246
 
430
- ```bash
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
- ## 🔧 Commands Reference
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
- | Command | Description |
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
- ## 🔐 Privacy & Performance
262
+ ### 🔒 Hash & Encoding
454
263
 
455
- ### Privacy First
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
- ### Lightning Fast
462
- - ⚡ **< 100ms Response Time** - Instant results
463
- - 🪶 **Lightweight** - Minimal memory footprint
464
- - 🚀 **No Lag** - Smooth, responsive experience
465
- - 💾 **Efficient** - Optimized for performance
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
- ## 🛠️ Troubleshooting
276
+ ### 🔍 Quick Web Search
470
277
 
471
- ### Windows Search Integration Not Working?
278
+ Search the web directly from the calculator!
472
279
 
473
- **Solution 1: Run as Administrator**
474
- ```bash
475
- # Right-click Command Prompt/PowerShell "Run as Administrator"
476
- mani-calc install
477
- ```
478
-
479
- **Solution 2: Restart Windows Explorer**
480
- ```bash
481
- taskkill /f /im explorer.exe && start explorer.exe
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
- **Solution 3: Log Out and Back In**
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
- ### Results Not Copying to Clipboard?
488
-
489
- Make sure no other application is blocking clipboard access. Close any clipboard managers temporarily.
294
+ ---
490
295
 
491
- ### Command Not Found?
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
- Make sure npm's global bin directory is in your PATH:
494
- ```bash
495
- npm config get prefix
496
- ```
347
+ ---
497
348
 
498
- Add the output path + `\node_modules\.bin` to your system PATH.
349
+ ### 🎨 Themes
499
350
 
500
- ### Need More Help?
351
+ Customize your calculator with 8 beautiful themes!
501
352
 
502
- - 📖 Check [EXAMPLES.md](EXAMPLES.md) for more usage examples
503
- - 🏗️ Read [ARCHITECTURE.md](ARCHITECTURE.md) for technical details
504
- - 🐛 [Report an issue](https://github.com/Maniredii/mani-calc/issues) on GitHub
505
- - 💬 Start a [discussion](https://github.com/Maniredii/mani-calc/discussions)
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
- ## 📚 Documentation
367
+ ### Settings & Configuration
510
368
 
511
- - **[OVERLAY_MODE.md](OVERLAY_MODE.md)** - NEW: Floating search box guide
512
- - **[QUICKSTART.md](QUICKSTART.md)** - Get started in 2 minutes
513
- - **[EXAMPLES.md](EXAMPLES.md)** - Comprehensive usage examples
514
- - **[ARCHITECTURE.md](ARCHITECTURE.md)** - Technical architecture details
515
- - **[CONTRIBUTING.md](CONTRIBUTING.md)** - How to contribute
516
- - **[CHANGELOG.md](CHANGELOG.md)** - Version history
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
- ## 🗺️ Roadmap
381
+ ## ⌨️ Keyboard Shortcuts
521
382
 
522
- ### Phase 2 - Productivity Features (v1.1.0)
523
- - [ ] Live preview while typing in Windows Search
524
- - [ ] Persistent variables across sessions
525
- - [ ] Date & time calculations (`today + 15 days`, `days between dates`)
526
- - [ ] Enhanced error messages with suggestions
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
- ## 🤝 Contributing
544
-
545
- Contributions are welcome! Whether it's:
546
-
547
- - 🐛 Bug reports
548
- - 💡 Feature requests
549
- - 📖 Documentation improvements
550
- - 🔧 Code contributions
551
-
552
- Please read [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
553
-
554
- ### Development Setup
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
- # Clone the repository
558
- git clone https://github.com/Maniredii/mani-calc.git
559
- cd mani-calc
424
+ # Run overlay mode
425
+ npm run overlay
560
426
 
561
- # Install dependencies
562
- npm install
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
- ## 📄 License
436
+ ## 📋 Requirements
574
437
 
575
- MIT © [Mani Reddy](https://github.com/Maniredii)
576
-
577
- See [LICENSE](LICENSE) for details.
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
- ## 💖 Acknowledgments
582
-
583
- Inspired by macOS Spotlight's calculator feature. Built to bring the same productivity boost to Windows users worldwide.
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
- ## 🌟 Show Your Support
588
-
589
- If Mani-Calc saves you time and improves your productivity:
476
+ ## 🤝 Contributing
590
477
 
591
- - **Star this repository** on GitHub
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
- ## 📞 Connect
482
+ ## 📄 License
599
483
 
600
- - **GitHub**: [@Maniredii](https://github.com/Maniredii)
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
- <div align="center">
488
+ ## 👨‍💻 Author
607
489
 
608
- **Made with ❤️ for Windows productivity enthusiasts**
490
+ **Manideep Reddy Eevuri**
609
491
 
610
- *Let's change how people calculate on Windows!*
611
-
612
- [⬆ Back to Top](#-mani-calc)
492
+ ---
613
493
 
614
- </div>
494
+ Made with ❤️ for Windows users who love productivity!