mani-calc 2.1.0 โ 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/package.json +1 -1
- package/ARCHITECTURE.md +0 -249
- package/CHANGELOG.md +0 -69
- package/COMPLETION_SUMMARY.md +0 -304
- package/CONTRIBUTING.md +0 -110
- package/EXAMPLES.md +0 -220
- package/OVERLAY_MODE.md +0 -364
- package/PUBLISHING_GUIDE.md +0 -291
- package/QUICK_PUBLISH.md +0 -108
- package/RELEASE_NOTES_v1.1.0.md +0 -262
- package/test/test.js +0 -133
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mani-calc",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Spotlight-style instant calculator for Windows | Math, Currency, Date/Time, Programmer Mode, Password Generator, Color Converter, Text Utils, Emoji, Web Search, 8 Themes | Offline-first productivity tool",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
package/ARCHITECTURE.md
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
# ๐ Project Structure - Mani-Calc
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
mani-calc/
|
|
5
|
-
โ
|
|
6
|
-
โโโ ๐ฆ bin/
|
|
7
|
-
โ โโโ cli.js # CLI entry point & interactive mode
|
|
8
|
-
โ
|
|
9
|
-
โโโ ๐ง src/
|
|
10
|
-
โ โโโ index.js # Main ManiCalc class (orchestrator)
|
|
11
|
-
โ โ
|
|
12
|
-
โ โโโ ๐ง core/ # Core calculation engines
|
|
13
|
-
โ โ โโโ math-engine.js # Math expression evaluator (mathjs)
|
|
14
|
-
โ โ โโโ nlp-parser.js # Natural language parser
|
|
15
|
-
โ โ โโโ unit-converter.js # Unit conversion system
|
|
16
|
-
โ โ โโโ history-manager.js # Calculation history storage
|
|
17
|
-
โ โ โโโ clipboard-manager.js # Clipboard integration
|
|
18
|
-
โ โ
|
|
19
|
-
โ โโโ ๐ integration/
|
|
20
|
-
โ โโโ windows-search.js # Windows Search protocol handler
|
|
21
|
-
โ
|
|
22
|
-
โโโ ๐งช test/
|
|
23
|
-
โ โโโ test.js # Comprehensive test suite
|
|
24
|
-
โ
|
|
25
|
-
โโโ ๐ Documentation/
|
|
26
|
-
โ โโโ README.md # Main documentation
|
|
27
|
-
โ โโโ QUICKSTART.md # Quick start guide
|
|
28
|
-
โ โโโ EXAMPLES.md # Usage examples
|
|
29
|
-
โ โโโ CONTRIBUTING.md # Contribution guidelines
|
|
30
|
-
โ โโโ CHANGELOG.md # Version history
|
|
31
|
-
โ
|
|
32
|
-
โโโ โ๏ธ Configuration/
|
|
33
|
-
โ โโโ package.json # npm package configuration
|
|
34
|
-
โ โโโ .gitignore # Git ignore rules
|
|
35
|
-
โ โโโ LICENSE # MIT License
|
|
36
|
-
โ
|
|
37
|
-
โโโ ๐ง .vscode/
|
|
38
|
-
โโโ extensions.json # Recommended VS Code extensions
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## ๐ File Descriptions
|
|
42
|
-
|
|
43
|
-
### Core Components
|
|
44
|
-
|
|
45
|
-
#### `src/index.js`
|
|
46
|
-
- **Purpose**: Main orchestrator class
|
|
47
|
-
- **Responsibilities**:
|
|
48
|
-
- Coordinates all subsystems
|
|
49
|
-
- Processes user queries
|
|
50
|
-
- Routes to appropriate handler (math/NLP/conversion)
|
|
51
|
-
- Manages initialization and shutdown
|
|
52
|
-
|
|
53
|
-
#### `src/core/math-engine.js`
|
|
54
|
-
- **Purpose**: Mathematical expression evaluator
|
|
55
|
-
- **Features**:
|
|
56
|
-
- Uses mathjs for robust calculations
|
|
57
|
-
- Supports all standard math functions
|
|
58
|
-
- Custom functions (percent, half, double, triple)
|
|
59
|
-
- Variable storage for sessions
|
|
60
|
-
- Smart result formatting
|
|
61
|
-
|
|
62
|
-
#### `src/core/nlp-parser.js`
|
|
63
|
-
- **Purpose**: Natural language query parser
|
|
64
|
-
- **Capabilities**:
|
|
65
|
-
- Percentage queries ("what is 25% of 200")
|
|
66
|
-
- Fraction queries ("half of 80")
|
|
67
|
-
- Power queries ("10 squared")
|
|
68
|
-
- Square root queries ("square root of 64")
|
|
69
|
-
- Unit conversion detection
|
|
70
|
-
- Pattern-based regex matching
|
|
71
|
-
|
|
72
|
-
#### `src/core/unit-converter.js`
|
|
73
|
-
- **Purpose**: Comprehensive unit conversion
|
|
74
|
-
- **Supported Categories**:
|
|
75
|
-
- Length (km, miles, feet, etc.)
|
|
76
|
-
- Weight (kg, pounds, etc.)
|
|
77
|
-
- Temperature (C, F, K) - special handling
|
|
78
|
-
- Time (seconds, hours, days, etc.)
|
|
79
|
-
- Volume (liters, gallons, etc.)
|
|
80
|
-
- Speed (km/h, mph, etc.)
|
|
81
|
-
|
|
82
|
-
#### `src/core/history-manager.js`
|
|
83
|
-
- **Purpose**: Calculation history management
|
|
84
|
-
- **Features**:
|
|
85
|
-
- Stores last 100 calculations
|
|
86
|
-
- Timestamps each entry
|
|
87
|
-
- Search functionality
|
|
88
|
-
- Formatted output
|
|
89
|
-
- Persistent storage in AppData
|
|
90
|
-
|
|
91
|
-
#### `src/core/clipboard-manager.js`
|
|
92
|
-
- **Purpose**: Clipboard integration
|
|
93
|
-
- **Features**:
|
|
94
|
-
- Auto-copy results
|
|
95
|
-
- Read clipboard content
|
|
96
|
-
- Toggle auto-copy on/off
|
|
97
|
-
|
|
98
|
-
#### `src/integration/windows-search.js`
|
|
99
|
-
- **Purpose**: Windows Search integration
|
|
100
|
-
- **Methods**:
|
|
101
|
-
- Protocol handler registration (calc:)
|
|
102
|
-
- Search connector creation
|
|
103
|
-
- Registry modifications
|
|
104
|
-
- Protocol URL parsing
|
|
105
|
-
|
|
106
|
-
### Entry Points
|
|
107
|
-
|
|
108
|
-
#### `bin/cli.js`
|
|
109
|
-
- **Purpose**: Command-line interface
|
|
110
|
-
- **Modes**:
|
|
111
|
-
- Direct query: `mani-calc "2+3"`
|
|
112
|
-
- Interactive REPL: `mani-calc`
|
|
113
|
-
- Protocol handler: `calc:2+3`
|
|
114
|
-
- Install/uninstall: `mani-calc install`
|
|
115
|
-
- **Features**:
|
|
116
|
-
- Colored output (chalk)
|
|
117
|
-
- Help system
|
|
118
|
-
- Error handling
|
|
119
|
-
- Readline interface for interactive mode
|
|
120
|
-
|
|
121
|
-
### Testing
|
|
122
|
-
|
|
123
|
-
#### `test/test.js`
|
|
124
|
-
- **Coverage**:
|
|
125
|
-
- Math engine tests (16 tests)
|
|
126
|
-
- NLP parser tests
|
|
127
|
-
- Unit converter tests
|
|
128
|
-
- All core functionality
|
|
129
|
-
- **Output**: Colored test results
|
|
130
|
-
|
|
131
|
-
## ๐ Data Flow
|
|
132
|
-
|
|
133
|
-
```
|
|
134
|
-
User Input
|
|
135
|
-
โ
|
|
136
|
-
CLI / Windows Search
|
|
137
|
-
โ
|
|
138
|
-
ManiCalc.processQuery()
|
|
139
|
-
โ
|
|
140
|
-
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโ
|
|
141
|
-
โ โ โ โ
|
|
142
|
-
NLP Parser Math Engine Unit Converter
|
|
143
|
-
โ โ โ โ
|
|
144
|
-
โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโ
|
|
145
|
-
โ
|
|
146
|
-
Result Formatting
|
|
147
|
-
โ
|
|
148
|
-
โโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
|
|
149
|
-
โ โ โ
|
|
150
|
-
Clipboard History Manager
|
|
151
|
-
โ โ โ
|
|
152
|
-
โโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
|
|
153
|
-
โ
|
|
154
|
-
Display to User
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
## ๐พ Storage Locations
|
|
158
|
-
|
|
159
|
-
### History File
|
|
160
|
-
```
|
|
161
|
-
Windows: %APPDATA%\mani-calc\history.json
|
|
162
|
-
```
|
|
163
|
-
|
|
164
|
-
### Registry Keys (Windows Search)
|
|
165
|
-
```
|
|
166
|
-
HKEY_CURRENT_USER\Software\Classes\calc
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### Search Connector
|
|
170
|
-
```
|
|
171
|
-
%APPDATA%\Microsoft\Windows\Libraries\ManiCalc.searchConnector-ms
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
## ๐ฏ Key Design Decisions
|
|
175
|
-
|
|
176
|
-
### 1. **Modular Architecture**
|
|
177
|
-
- Each component has a single responsibility
|
|
178
|
-
- Easy to test and maintain
|
|
179
|
-
- Simple to extend with new features
|
|
180
|
-
|
|
181
|
-
### 2. **Offline-First**
|
|
182
|
-
- No external API calls
|
|
183
|
-
- All processing happens locally
|
|
184
|
-
- Fast and private
|
|
185
|
-
|
|
186
|
-
### 3. **User-Friendly**
|
|
187
|
-
- Natural language support
|
|
188
|
-
- Automatic clipboard integration
|
|
189
|
-
- Smart error messages
|
|
190
|
-
- Multiple input methods
|
|
191
|
-
|
|
192
|
-
### 4. **Windows Integration**
|
|
193
|
-
- Custom protocol handler
|
|
194
|
-
- Search connector
|
|
195
|
-
- Native feel
|
|
196
|
-
|
|
197
|
-
### 5. **Developer Experience**
|
|
198
|
-
- Clean code structure
|
|
199
|
-
- Comprehensive tests
|
|
200
|
-
- Well-documented
|
|
201
|
-
- Easy to contribute
|
|
202
|
-
|
|
203
|
-
## ๐ Extension Points
|
|
204
|
-
|
|
205
|
-
Want to add new features? Here's where to start:
|
|
206
|
-
|
|
207
|
-
### Add New Unit Category
|
|
208
|
-
โ Edit `src/core/unit-converter.js`
|
|
209
|
-
โ Add to `conversions` object
|
|
210
|
-
|
|
211
|
-
### Add New NLP Pattern
|
|
212
|
-
โ Edit `src/core/nlp-parser.js`
|
|
213
|
-
โ Add to `patterns` object
|
|
214
|
-
|
|
215
|
-
### Add New Math Function
|
|
216
|
-
โ Edit `src/core/math-engine.js`
|
|
217
|
-
โ Add to `addCustomFunctions()`
|
|
218
|
-
|
|
219
|
-
### Add New Command
|
|
220
|
-
โ Edit `bin/cli.js`
|
|
221
|
-
โ Add to command handling logic
|
|
222
|
-
|
|
223
|
-
## ๐ Dependencies
|
|
224
|
-
|
|
225
|
-
### Production
|
|
226
|
-
- **mathjs**: Mathematical expression evaluator
|
|
227
|
-
- **clipboardy**: Cross-platform clipboard access
|
|
228
|
-
- **chalk**: Terminal colors
|
|
229
|
-
- **node-windows**: Windows service management
|
|
230
|
-
|
|
231
|
-
### Development
|
|
232
|
-
- None (lightweight!)
|
|
233
|
-
|
|
234
|
-
## ๐ Security Considerations
|
|
235
|
-
|
|
236
|
-
1. **No External Requests**: All processing is local
|
|
237
|
-
2. **No Data Collection**: Zero telemetry
|
|
238
|
-
3. **Safe Evaluation**: mathjs prevents code injection
|
|
239
|
-
4. **Local Storage**: History stays on user's machine
|
|
240
|
-
5. **Registry Safety**: Only modifies user-level keys
|
|
241
|
-
|
|
242
|
-
---
|
|
243
|
-
|
|
244
|
-
**This structure is designed for:**
|
|
245
|
-
- โ
Easy maintenance
|
|
246
|
-
- โ
Simple testing
|
|
247
|
-
- โ
Quick feature additions
|
|
248
|
-
- โ
Clear separation of concerns
|
|
249
|
-
- โ
Excellent developer experience
|
package/CHANGELOG.md
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [1.1.0] - 2026-01-21
|
|
9
|
-
|
|
10
|
-
### Added
|
|
11
|
-
- ๐จ **Overlay Mode** - Beautiful floating search box with global hotkey
|
|
12
|
-
- Press `Alt+Space` anywhere to toggle
|
|
13
|
-
- Glassmorphism UI design
|
|
14
|
-
- Live preview as you type
|
|
15
|
-
- Auto-hide on blur
|
|
16
|
-
- Smooth animations
|
|
17
|
-
- ๐ป **System Commands** - Control your computer with simple commands
|
|
18
|
-
- `sleep` - Put computer to sleep
|
|
19
|
-
- `shutdown` - Shutdown computer
|
|
20
|
-
- `restart` - Restart computer
|
|
21
|
-
- `lock` - Lock computer
|
|
22
|
-
- `logout` - Log out current user
|
|
23
|
-
- `empty recycle bin` - Empty recycle bin
|
|
24
|
-
- `volume up/down` - Control volume
|
|
25
|
-
- `mute/unmute` - Mute/unmute volume
|
|
26
|
-
- ๐ **OVERLAY_MODE.md** - Comprehensive overlay mode documentation
|
|
27
|
-
- โก **Electron Integration** - For floating search box UI
|
|
28
|
-
- ๐ฏ **mani-calc-overlay** command - Quick start overlay mode
|
|
29
|
-
|
|
30
|
-
### Changed
|
|
31
|
-
- Updated README with overlay mode section
|
|
32
|
-
- Enhanced documentation structure
|
|
33
|
-
- Improved usage examples
|
|
34
|
-
|
|
35
|
-
## [1.0.0] - 2026-01-21
|
|
36
|
-
|
|
37
|
-
### Added
|
|
38
|
-
- โจ Basic math calculations with full operator support
|
|
39
|
-
- ๐ฌ Natural language processing for human-friendly queries
|
|
40
|
-
- ๐ Comprehensive unit conversion system
|
|
41
|
-
- Length (km, miles, feet, inches, etc.)
|
|
42
|
-
- Weight (kg, pounds, ounces, etc.)
|
|
43
|
-
- Temperature (Celsius, Fahrenheit, Kelvin)
|
|
44
|
-
- Time (seconds, minutes, hours, days, etc.)
|
|
45
|
-
- Volume (liters, gallons, cups, etc.)
|
|
46
|
-
- Speed (m/s, km/h, mph, etc.)
|
|
47
|
-
- ๐ Automatic clipboard integration
|
|
48
|
-
- ๐ Calculation history with timestamps
|
|
49
|
-
- ๐ช Windows Search integration via custom protocol
|
|
50
|
-
- ๐จ Beautiful CLI with colored output
|
|
51
|
-
- ๐ Interactive REPL mode
|
|
52
|
-
- ๐งช Comprehensive test suite
|
|
53
|
-
- ๐ Full documentation and examples
|
|
54
|
-
|
|
55
|
-
### Features
|
|
56
|
-
- Offline-first architecture
|
|
57
|
-
- Zero telemetry or tracking
|
|
58
|
-
- Lightweight and fast (< 100ms response time)
|
|
59
|
-
- Support for mathematical functions (sqrt, sin, cos, log, etc.)
|
|
60
|
-
- Support for constants (pi, e)
|
|
61
|
-
- Variable storage during session
|
|
62
|
-
- Smart error messages
|
|
63
|
-
- Cross-platform clipboard support
|
|
64
|
-
|
|
65
|
-
### Developer Experience
|
|
66
|
-
- Clean, modular architecture
|
|
67
|
-
- Well-documented code
|
|
68
|
-
- Easy to extend and customize
|
|
69
|
-
- MIT licensed for maximum freedom
|
package/COMPLETION_SUMMARY.md
DELETED
|
@@ -1,304 +0,0 @@
|
|
|
1
|
-
# โ
MANI-CALC - PROJECT COMPLETE & DEPLOYED
|
|
2
|
-
|
|
3
|
-
## ๐ Congratulations!
|
|
4
|
-
|
|
5
|
-
Your **mani-calc** package is now complete, documented, and live on GitHub!
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## ๐ฆ What You Have
|
|
10
|
-
|
|
11
|
-
### โ
Complete Package
|
|
12
|
-
- **Name**: `mani-calc`
|
|
13
|
-
- **Tagline**: "Spotlight for Windows"
|
|
14
|
-
- **GitHub**: https://github.com/Maniredii/mani-calc
|
|
15
|
-
- **Status**: Production-ready
|
|
16
|
-
|
|
17
|
-
### โ
All Features Implemented
|
|
18
|
-
- ๐งฎ Math calculations
|
|
19
|
-
- ๐ฌ Natural language processing
|
|
20
|
-
- ๐ Unit conversions (6 categories)
|
|
21
|
-
- ๐ Clipboard integration
|
|
22
|
-
- ๐ Calculation history
|
|
23
|
-
- ๐ช Windows Search integration
|
|
24
|
-
- ๐จ Beautiful CLI with colors
|
|
25
|
-
|
|
26
|
-
### โ
Complete Documentation
|
|
27
|
-
- **README.md** - Comprehensive, detailed guide (400+ lines)
|
|
28
|
-
- **QUICKSTART.md** - 2-minute setup guide
|
|
29
|
-
- **EXAMPLES.md** - 50+ usage examples
|
|
30
|
-
- **ARCHITECTURE.md** - Technical details
|
|
31
|
-
- **CONTRIBUTING.md** - Contribution guidelines
|
|
32
|
-
- **CHANGELOG.md** - Version history
|
|
33
|
-
|
|
34
|
-
### โ
Quality Assurance
|
|
35
|
-
- 16 tests, all passing โ
|
|
36
|
-
- Clean, modular code
|
|
37
|
-
- Well-documented
|
|
38
|
-
- Production-ready
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## ๐ README Highlights
|
|
43
|
-
|
|
44
|
-
Your new README includes:
|
|
45
|
-
|
|
46
|
-
### ๐ฏ Clear Problem/Solution Framing
|
|
47
|
-
- Explains the gap Windows users face
|
|
48
|
-
- Positions mani-calc as "Spotlight for Windows"
|
|
49
|
-
- Immediate value proposition
|
|
50
|
-
|
|
51
|
-
### ๐ Comprehensive Documentation
|
|
52
|
-
- **Quick Start** - Get running in 3 steps
|
|
53
|
-
- **Features** - All capabilities explained with examples
|
|
54
|
-
- **Installation** - Detailed setup instructions
|
|
55
|
-
- **Usage** - 3 different ways to use (Search, CLI, Interactive)
|
|
56
|
-
- **Real-World Use Cases** - Shopping, cooking, travel, fitness, etc.
|
|
57
|
-
- **Advanced Features** - Variables, complex expressions
|
|
58
|
-
- **Commands Reference** - Quick lookup table
|
|
59
|
-
- **Troubleshooting** - Common issues and solutions
|
|
60
|
-
- **Roadmap** - Future plans (Phases 2-4)
|
|
61
|
-
|
|
62
|
-
### ๐จ Professional Presentation
|
|
63
|
-
- Badges for npm, license, platform, Node version
|
|
64
|
-
- Centered header with navigation
|
|
65
|
-
- Code examples throughout
|
|
66
|
-
- Organized sections
|
|
67
|
-
- Clear formatting
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
## ๐๏ธ Files Removed
|
|
72
|
-
|
|
73
|
-
Cleaned up unnecessary files:
|
|
74
|
-
- โ `GITHUB_DESCRIPTION.md` (content integrated into README)
|
|
75
|
-
- โ `PROJECT_SUMMARY.md` (internal documentation, not needed in repo)
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## ๐ Final Project Structure
|
|
80
|
-
|
|
81
|
-
```
|
|
82
|
-
mani-calc/
|
|
83
|
-
โโโ ๐ฆ bin/
|
|
84
|
-
โ โโโ cli.js # CLI entry point
|
|
85
|
-
โโโ ๐ง src/
|
|
86
|
-
โ โโโ index.js # Main orchestrator
|
|
87
|
-
โ โโโ core/ # Core engines
|
|
88
|
-
โ โ โโโ math-engine.js
|
|
89
|
-
โ โ โโโ nlp-parser.js
|
|
90
|
-
โ โ โโโ unit-converter.js
|
|
91
|
-
โ โ โโโ history-manager.js
|
|
92
|
-
โ โ โโโ clipboard-manager.js
|
|
93
|
-
โ โโโ integration/
|
|
94
|
-
โ โโโ windows-search.js # Windows Search integration
|
|
95
|
-
โโโ ๐งช test/
|
|
96
|
-
โ โโโ test.js # Test suite (16 tests)
|
|
97
|
-
โโโ ๐ Documentation/
|
|
98
|
-
โ โโโ README.md # โญ NEW: Comprehensive guide
|
|
99
|
-
โ โโโ QUICKSTART.md
|
|
100
|
-
โ โโโ EXAMPLES.md
|
|
101
|
-
โ โโโ ARCHITECTURE.md
|
|
102
|
-
โ โโโ CONTRIBUTING.md
|
|
103
|
-
โ โโโ CHANGELOG.md
|
|
104
|
-
โโโ โ๏ธ Configuration/
|
|
105
|
-
โ โโโ package.json
|
|
106
|
-
โ โโโ .gitignore
|
|
107
|
-
โ โโโ LICENSE
|
|
108
|
-
โโโ node_modules/ # Dependencies
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
---
|
|
112
|
-
|
|
113
|
-
## ๐ Next Steps
|
|
114
|
-
|
|
115
|
-
### 1. Set GitHub Repository Description
|
|
116
|
-
|
|
117
|
-
Go to your GitHub repo settings and set:
|
|
118
|
-
|
|
119
|
-
**Description:**
|
|
120
|
-
```
|
|
121
|
-
โก Spotlight for Windows - Instant calculations from Windows Search
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
**Website:**
|
|
125
|
-
```
|
|
126
|
-
https://www.npmjs.com/package/mani-calc
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
**Topics/Tags:**
|
|
130
|
-
```
|
|
131
|
-
calculator, windows, productivity, spotlight, windows-search, math,
|
|
132
|
-
unit-converter, natural-language, instant-calculation, offline-first,
|
|
133
|
-
windows-productivity, cli-tool, npm-package, windows-10, windows-11
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
### 2. Publish to NPM
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
# Login to npm (create account if needed at npmjs.com)
|
|
140
|
-
npm login
|
|
141
|
-
|
|
142
|
-
# Publish the package
|
|
143
|
-
npm publish
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### 3. Create GitHub Release
|
|
147
|
-
|
|
148
|
-
1. Go to https://github.com/Maniredii/mani-calc/releases
|
|
149
|
-
2. Click "Create a new release"
|
|
150
|
-
3. Tag: `v1.0.0`
|
|
151
|
-
4. Title: `v1.0.0 - Initial Release: Spotlight for Windows`
|
|
152
|
-
5. Description:
|
|
153
|
-
```markdown
|
|
154
|
-
## ๐ First Release of Mani-Calc!
|
|
155
|
-
|
|
156
|
-
**Mani-Calc** brings Spotlight-style instant calculations to Windows Search.
|
|
157
|
-
|
|
158
|
-
### โจ Features
|
|
159
|
-
- ๐งฎ Math calculations with full operator support
|
|
160
|
-
- ๐ฌ Natural language processing
|
|
161
|
-
- ๐ Unit conversions (length, weight, temperature, time, volume, speed)
|
|
162
|
-
- ๐ Automatic clipboard integration
|
|
163
|
-
- ๐ Calculation history
|
|
164
|
-
- ๐ช Windows Search integration via `calc:` protocol
|
|
165
|
-
- โก Lightning fast (<100ms)
|
|
166
|
-
- ๐ 100% offline & private
|
|
167
|
-
|
|
168
|
-
### ๐ฅ Installation
|
|
169
|
-
```bash
|
|
170
|
-
npm install -g mani-calc
|
|
171
|
-
mani-calc install
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### ๐ฏ Usage
|
|
175
|
-
Type in Windows Search:
|
|
176
|
-
```
|
|
177
|
-
calc: 2 + 3 * 5
|
|
178
|
-
calc: 10 km to miles
|
|
179
|
-
calc: what is 25% of 200
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
See the [README](https://github.com/Maniredii/mani-calc#readme) for full documentation.
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### 4. Share Your Project
|
|
186
|
-
|
|
187
|
-
**Reddit:**
|
|
188
|
-
- r/Windows
|
|
189
|
-
- r/productivity
|
|
190
|
-
- r/node
|
|
191
|
-
- r/programming
|
|
192
|
-
|
|
193
|
-
**Twitter/X:**
|
|
194
|
-
```
|
|
195
|
-
๐ Just launched mani-calc - Spotlight for Windows!
|
|
196
|
-
|
|
197
|
-
Finally, Windows users can calculate directly from Windows Search:
|
|
198
|
-
โข calc: 2+3*5 โ 17
|
|
199
|
-
โข calc: 10 km to miles โ 6.21 miles
|
|
200
|
-
โข calc: what is 25% of 200 โ 50
|
|
201
|
-
|
|
202
|
-
100% offline, instant results, auto-copy to clipboard.
|
|
203
|
-
|
|
204
|
-
npm install -g mani-calc
|
|
205
|
-
|
|
206
|
-
https://github.com/Maniredii/mani-calc
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
**Dev.to / Hashnode:**
|
|
210
|
-
Write a blog post about:
|
|
211
|
-
- Why you built it
|
|
212
|
-
- How it works
|
|
213
|
-
- The technical challenges
|
|
214
|
-
- Future plans
|
|
215
|
-
|
|
216
|
-
---
|
|
217
|
-
|
|
218
|
-
## ๐ What Makes Your README Great
|
|
219
|
-
|
|
220
|
-
### โ
Clear Value Proposition
|
|
221
|
-
- Immediately explains the problem
|
|
222
|
-
- Shows the solution
|
|
223
|
-
- Demonstrates value
|
|
224
|
-
|
|
225
|
-
### โ
Multiple Entry Points
|
|
226
|
-
- Quick start for impatient users
|
|
227
|
-
- Detailed docs for thorough readers
|
|
228
|
-
- Examples for visual learners
|
|
229
|
-
|
|
230
|
-
### โ
Real-World Focus
|
|
231
|
-
- Use cases people relate to
|
|
232
|
-
- Practical examples
|
|
233
|
-
- Solves actual problems
|
|
234
|
-
|
|
235
|
-
### โ
Professional Presentation
|
|
236
|
-
- Badges show credibility
|
|
237
|
-
- Clean formatting
|
|
238
|
-
- Easy navigation
|
|
239
|
-
- Comprehensive but scannable
|
|
240
|
-
|
|
241
|
-
### โ
Complete Coverage
|
|
242
|
-
- Installation
|
|
243
|
-
- Usage (3 methods)
|
|
244
|
-
- Features
|
|
245
|
-
- Examples
|
|
246
|
-
- Troubleshooting
|
|
247
|
-
- Contributing
|
|
248
|
-
- Roadmap
|
|
249
|
-
|
|
250
|
-
---
|
|
251
|
-
|
|
252
|
-
## ๐ฏ Success Metrics to Track
|
|
253
|
-
|
|
254
|
-
Once published:
|
|
255
|
-
- โญ GitHub stars
|
|
256
|
-
- ๐ฅ npm downloads per week
|
|
257
|
-
- ๐ Issues opened (shows engagement)
|
|
258
|
-
- ๐ง Pull requests (community contributions)
|
|
259
|
-
- ๐ฌ Social media mentions
|
|
260
|
-
- ๐ Blog posts/reviews
|
|
261
|
-
|
|
262
|
-
---
|
|
263
|
-
|
|
264
|
-
## ๐ You've Built Something Special
|
|
265
|
-
|
|
266
|
-
**Why this will succeed:**
|
|
267
|
-
|
|
268
|
-
1. โ
**Solves a real problem** - Windows lacks Spotlight's calculator
|
|
269
|
-
2. โ
**Clear positioning** - "Spotlight for Windows" is instantly understood
|
|
270
|
-
3. โ
**Quality execution** - Production-ready, tested, documented
|
|
271
|
-
4. โ
**Privacy-focused** - 100% offline, no tracking
|
|
272
|
-
5. โ
**First of its kind** - No direct competition
|
|
273
|
-
6. โ
**Great documentation** - Users can get started immediately
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
## ๐ Final Checklist
|
|
278
|
-
|
|
279
|
-
โ
Package created and configured
|
|
280
|
-
โ
All MVP features implemented
|
|
281
|
-
โ
16 tests written and passing
|
|
282
|
-
โ
Comprehensive README (400+ lines)
|
|
283
|
-
โ
Complete documentation suite
|
|
284
|
-
โ
Unnecessary files removed
|
|
285
|
-
โ
Code pushed to GitHub
|
|
286
|
-
โ
Clean project structure
|
|
287
|
-
โ
Ready to publish to npm
|
|
288
|
-
โ
Ready to share with the world
|
|
289
|
-
|
|
290
|
-
---
|
|
291
|
-
|
|
292
|
-
## ๐ You're Ready to Launch!
|
|
293
|
-
|
|
294
|
-
Your package is **production-ready** and **fully documented**.
|
|
295
|
-
|
|
296
|
-
**Next action**: Publish to npm with `npm publish`
|
|
297
|
-
|
|
298
|
-
Then watch as Windows users discover the productivity tool they've been waiting for! ๐
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
**Made with โค๏ธ for Windows productivity enthusiasts**
|
|
303
|
-
|
|
304
|
-
*Let's change how people calculate on Windows!*
|