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.
@@ -1,291 +0,0 @@
1
- # πŸ“¦ Publishing Mani-Calc to NPM
2
-
3
- ## βœ… Pre-Publishing Checklist
4
-
5
- Before publishing, let's make sure everything is ready:
6
-
7
- - [x] Package name: `mani-calc` (unique and available)
8
- - [x] Version: `1.1.0`
9
- - [x] All files committed to Git
10
- - [x] README.md is comprehensive
11
- - [x] LICENSE file exists (MIT)
12
- - [x] package.json is properly configured
13
- - [x] Tests are passing
14
- - [x] Dependencies are installed
15
-
16
- ---
17
-
18
- ## πŸš€ Step-by-Step Publishing Guide
19
-
20
- ### Step 1: Create NPM Account (if you don't have one)
21
-
22
- Visit: https://www.npmjs.com/signup
23
-
24
- Or use the command line:
25
- ```bash
26
- npm adduser
27
- ```
28
-
29
- ### Step 2: Login to NPM
30
-
31
- ```bash
32
- npm login
33
- ```
34
-
35
- You'll be prompted for:
36
- - **Username**: Your npm username
37
- - **Password**: Your npm password
38
- - **Email**: Your email (will be public)
39
- - **One-time password**: If you have 2FA enabled
40
-
41
- ### Step 3: Verify Login
42
-
43
- ```bash
44
- npm whoami
45
- ```
46
-
47
- This should display your npm username.
48
-
49
- ### Step 4: Test Package Locally (Optional but Recommended)
50
-
51
- ```bash
52
- # Create a tarball to see what will be published
53
- npm pack
54
-
55
- # This creates mani-calc-1.1.0.tgz
56
- # You can inspect it to see what files will be included
57
- ```
58
-
59
- ### Step 5: Publish to NPM
60
-
61
- ```bash
62
- npm publish
63
- ```
64
-
65
- **That's it!** πŸŽ‰
66
-
67
- ---
68
-
69
- ## πŸ“‹ What Gets Published
70
-
71
- Based on your `.gitignore` and `package.json`, these files will be published:
72
-
73
- ### βœ… Included
74
- - `bin/` - CLI scripts
75
- - `src/` - Source code
76
- - `test/` - Tests
77
- - `README.md` - Documentation
78
- - `LICENSE` - MIT License
79
- - `CHANGELOG.md` - Version history
80
- - `QUICKSTART.md` - Quick start guide
81
- - `EXAMPLES.md` - Usage examples
82
- - `ARCHITECTURE.md` - Technical docs
83
- - `CONTRIBUTING.md` - Contribution guide
84
- - `OVERLAY_MODE.md` - Overlay mode docs
85
- - `package.json` - Package config
86
-
87
- ### ❌ Excluded (via .gitignore)
88
- - `node_modules/` - Dependencies
89
- - `.vscode/` - Editor config
90
- - `*.log` - Log files
91
- - `.env` - Environment files
92
-
93
- ---
94
-
95
- ## 🎯 After Publishing
96
-
97
- ### 1. Verify Publication
98
-
99
- Visit: https://www.npmjs.com/package/mani-calc
100
-
101
- You should see your package!
102
-
103
- ### 2. Test Installation
104
-
105
- ```bash
106
- # In a different directory
107
- npm install -g mani-calc
108
-
109
- # Test it
110
- mani-calc "2 + 3 * 5"
111
- ```
112
-
113
- ### 3. Create GitHub Release
114
-
115
- 1. Go to: https://github.com/Maniredii/mani-calc/releases
116
- 2. Click "Create a new release"
117
- 3. Tag: `v1.1.0`
118
- 4. Title: `v1.1.0 - Overlay Mode Release`
119
- 5. Description: Copy from `RELEASE_NOTES_v1.1.0.md`
120
- 6. Publish release
121
-
122
- ### 4. Update README Badge
123
-
124
- Your npm version badge will now work:
125
- ```markdown
126
- [![npm version](https://img.shields.io/npm/v/mani-calc.svg)](https://www.npmjs.com/package/mani-calc)
127
- ```
128
-
129
- ---
130
-
131
- ## πŸ”„ Updating the Package (Future)
132
-
133
- When you want to publish updates:
134
-
135
- ### 1. Update Version
136
-
137
- ```bash
138
- # For bug fixes (1.1.0 β†’ 1.1.1)
139
- npm version patch
140
-
141
- # For new features (1.1.0 β†’ 1.2.0)
142
- npm version minor
143
-
144
- # For breaking changes (1.1.0 β†’ 2.0.0)
145
- npm version major
146
- ```
147
-
148
- This automatically:
149
- - Updates `package.json`
150
- - Creates a git commit
151
- - Creates a git tag
152
-
153
- ### 2. Push Changes
154
-
155
- ```bash
156
- git push origin main --tags
157
- ```
158
-
159
- ### 3. Publish
160
-
161
- ```bash
162
- npm publish
163
- ```
164
-
165
- ---
166
-
167
- ## πŸ› οΈ Troubleshooting
168
-
169
- ### Error: "Package name already exists"
170
-
171
- If `mani-calc` is taken, you'll need to:
172
- 1. Choose a different name (e.g., `@yourusername/mani-calc`)
173
- 2. Update `package.json` name field
174
- 3. Try publishing again
175
-
176
- ### Error: "You must be logged in"
177
-
178
- ```bash
179
- npm login
180
- ```
181
-
182
- ### Error: "You do not have permission"
183
-
184
- Make sure you're logged in as the correct user:
185
- ```bash
186
- npm whoami
187
- ```
188
-
189
- ### Error: "Version already published"
190
-
191
- You can't republish the same version. Bump the version:
192
- ```bash
193
- npm version patch
194
- npm publish
195
- ```
196
-
197
- ---
198
-
199
- ## πŸ“Š NPM Package Stats
200
-
201
- After publishing, you can track:
202
-
203
- - **Downloads**: https://npm-stat.com/charts.html?package=mani-calc
204
- - **Package page**: https://www.npmjs.com/package/mani-calc
205
- - **Unpkg CDN**: https://unpkg.com/mani-calc/
206
-
207
- ---
208
-
209
- ## 🎯 Marketing After Publishing
210
-
211
- ### 1. Share on Social Media
212
-
213
- **Twitter/X:**
214
- ```
215
- πŸŽ‰ Just published mani-calc v1.1.0 to npm!
216
-
217
- ⚑ Spotlight-style calculator for Windows
218
- 🎨 NEW: Floating search box (Alt+Space)
219
- πŸ’» System commands (sleep, lock, etc.)
220
- πŸ”„ Unit conversions & natural language
221
-
222
- npm install -g mani-calc
223
-
224
- https://www.npmjs.com/package/mani-calc
225
- https://github.com/Maniredii/mani-calc
226
- ```
227
-
228
- ### 2. Post on Reddit
229
-
230
- Subreddits:
231
- - r/node
232
- - r/javascript
233
- - r/Windows
234
- - r/productivity
235
- - r/programming
236
-
237
- ### 3. Submit to Product Hunt
238
-
239
- https://www.producthunt.com/posts/create
240
-
241
- ### 4. Write a Blog Post
242
-
243
- Platforms:
244
- - Dev.to
245
- - Hashnode
246
- - Medium
247
-
248
- ### 5. Create a Demo Video
249
-
250
- Record yourself using:
251
- - Windows Search integration
252
- - Overlay mode
253
- - System commands
254
-
255
- Upload to YouTube and link in README.
256
-
257
- ---
258
-
259
- ## πŸ“ˆ Success Metrics
260
-
261
- Track these after publishing:
262
-
263
- - **Week 1 Goal**: 100 downloads
264
- - **Month 1 Goal**: 500 downloads
265
- - **GitHub Stars**: 50+
266
- - **Issues/PRs**: Community engagement
267
-
268
- ---
269
-
270
- ## πŸŽ‰ Ready to Publish!
271
-
272
- Your package is production-ready. Just run:
273
-
274
- ```bash
275
- npm login
276
- npm publish
277
- ```
278
-
279
- And you're live! πŸš€
280
-
281
- ---
282
-
283
- ## πŸ“ž Need Help?
284
-
285
- - NPM Docs: https://docs.npmjs.com/
286
- - Publishing Guide: https://docs.npmjs.com/cli/v8/commands/npm-publish
287
- - Package Naming: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#name
288
-
289
- ---
290
-
291
- **Good luck with your launch!** 🎊
package/QUICK_PUBLISH.md DELETED
@@ -1,108 +0,0 @@
1
- # πŸš€ Quick Publishing Commands
2
-
3
- ## Step 1: Login to NPM
4
-
5
- ```bash
6
- npm login
7
- ```
8
-
9
- **You'll be asked for:**
10
- - Username
11
- - Password
12
- - Email
13
- - One-time password (if 2FA enabled)
14
-
15
- **Don't have an npm account?**
16
- Create one at: https://www.npmjs.com/signup
17
-
18
- ---
19
-
20
- ## Step 2: Verify Login
21
-
22
- ```bash
23
- npm whoami
24
- ```
25
-
26
- Should show your npm username.
27
-
28
- ---
29
-
30
- ## Step 3: Publish!
31
-
32
- ```bash
33
- npm publish
34
- ```
35
-
36
- **That's it!** Your package will be live at:
37
- https://www.npmjs.com/package/mani-calc
38
-
39
- ---
40
-
41
- ## πŸŽ‰ After Publishing
42
-
43
- ### Test Installation
44
- ```bash
45
- npm install -g mani-calc
46
- mani-calc "2 + 3 * 5"
47
- ```
48
-
49
- ### Share the News!
50
- ```
51
- πŸŽ‰ mani-calc v1.1.0 is now on npm!
52
-
53
- ⚑ Spotlight for Windows
54
- 🎨 Floating search box (Alt+Space)
55
- πŸ’» System commands
56
- πŸ”„ Unit conversions
57
-
58
- npm install -g mani-calc
59
-
60
- https://www.npmjs.com/package/mani-calc
61
- ```
62
-
63
- ---
64
-
65
- ## πŸ“Š Your Package Info
66
-
67
- - **Name**: `mani-calc`
68
- - **Version**: `1.1.0`
69
- - **Description**: Spotlight-style instant calculator for Windows Search
70
- - **License**: MIT
71
- - **Repository**: https://github.com/Maniredii/mani-calc
72
-
73
- ---
74
-
75
- ## ⚠️ Important Notes
76
-
77
- 1. **Package name must be unique** - `mani-calc` should be available
78
- 2. **Can't unpublish** - After 24 hours, you can only deprecate
79
- 3. **Version must be unique** - Can't republish same version
80
- 4. **Email will be public** - Your npm email is visible
81
-
82
- ---
83
-
84
- ## πŸ”„ Future Updates
85
-
86
- ```bash
87
- # Update version
88
- npm version patch # 1.1.0 β†’ 1.1.1
89
- npm version minor # 1.1.0 β†’ 1.2.0
90
- npm version major # 1.1.0 β†’ 2.0.0
91
-
92
- # Push to GitHub
93
- git push origin main --tags
94
-
95
- # Publish
96
- npm publish
97
- ```
98
-
99
- ---
100
-
101
- **Ready? Run these commands:**
102
-
103
- ```bash
104
- npm login
105
- npm publish
106
- ```
107
-
108
- πŸš€ **Let's make mani-calc available to the world!**
@@ -1,262 +0,0 @@
1
- # πŸŽ‰ Mani-Calc v1.1.0 - Overlay Mode Release!
2
-
3
- ## ✨ What's New
4
-
5
- ### 🎨 Overlay Mode - The Game Changer!
6
-
7
- You asked for improvements, and we delivered! **Mani-Calc now has a beautiful floating search box** that appears anywhere on your screen with a simple keyboard shortcut!
8
-
9
- ---
10
-
11
- ## πŸš€ New Features
12
-
13
- ### 1. **Floating Search Box**
14
- - Press **`Alt+Space`** anywhere in Windows
15
- - Beautiful glassmorphism design
16
- - Always-on-top overlay
17
- - Auto-hide when you click outside
18
- - Smooth animations
19
-
20
- ### 2. **System Commands**
21
- Control your computer with simple commands:
22
-
23
- | Command | Action |
24
- |---------|--------|
25
- | `sleep` | Put computer to sleep |
26
- | `shutdown` | Shutdown computer |
27
- | `restart` | Restart computer |
28
- | `lock` | Lock computer |
29
- | `logout` | Log out current user |
30
- | `empty recycle bin` | Empty recycle bin |
31
- | `volume up` | Increase volume |
32
- | `volume down` | Decrease volume |
33
- | `mute` | Mute volume |
34
- | `unmute` | Unmute volume |
35
-
36
- ### 3. **Live Preview**
37
- - See results as you type
38
- - Instant feedback
39
- - No need to press Enter for simple calculations
40
-
41
- ### 4. **Enhanced UI**
42
- - Glassmorphism design (semi-transparent, blurred background)
43
- - Smooth slide-down animations
44
- - Color-coded results (success, error, system commands)
45
- - Keyboard shortcuts displayed
46
-
47
- ---
48
-
49
- ## πŸ“– How to Use
50
-
51
- ### Start Overlay Mode
52
- ```bash
53
- npm run overlay
54
-
55
- # Or after global install
56
- mani-calc-overlay
57
- ```
58
-
59
- ### Use the Hotkey
60
- Press **`Alt+Space`** anywhere in Windows!
61
-
62
- ### Examples
63
- ```
64
- Alt+Space β†’ "2 + 3 * 5" β†’ Enter
65
- Result: βœ“ 2 + 3 * 5 = 17
66
-
67
- Alt+Space β†’ "10 km to miles" β†’ Enter
68
- Result: βœ“ 10 km = 6.21 miles
69
-
70
- Alt+Space β†’ "sleep" β†’ Enter
71
- Result: βœ“ System going to sleep...
72
-
73
- Alt+Space β†’ "lock" β†’ Enter
74
- Result: βœ“ Locking computer...
75
- ```
76
-
77
- ---
78
-
79
- ## 🎯 Why This is Amazing
80
-
81
- ### Before
82
- 1. Open Calculator app
83
- 2. Type calculation
84
- 3. Copy result
85
- 4. Switch back to work
86
-
87
- ### After
88
- 1. Press `Alt+Space`
89
- 2. Type calculation
90
- 3. Done! (result auto-copied)
91
-
92
- **That's 3x faster!** ⚑
93
-
94
- ---
95
-
96
- ## πŸ“ New Files
97
-
98
- - `src/ui/floating-search.js` - Floating search box logic
99
- - `src/ui/overlay.html` - Beautiful UI
100
- - `bin/overlay.js` - Overlay mode entry point
101
- - `OVERLAY_MODE.md` - Complete documentation
102
-
103
- ---
104
-
105
- ## πŸ”§ Technical Details
106
-
107
- ### Stack
108
- - **Electron** - For native window management
109
- - **Global Shortcuts** - `Alt+Space` hotkey
110
- - **IPC** - Communication between UI and backend
111
- - **Glassmorphism CSS** - Modern, beautiful design
112
-
113
- ### Performance
114
- - **Memory**: ~50-80 MB (Electron overhead)
115
- - **CPU**: <1% when idle
116
- - **Startup**: ~2 seconds
117
- - **Response**: <100ms
118
-
119
- ---
120
-
121
- ## πŸ“Š Comparison
122
-
123
- | Feature | v1.0.0 | v1.1.0 |
124
- |---------|--------|--------|
125
- | **Windows Search** | βœ… | βœ… |
126
- | **CLI** | βœ… | βœ… |
127
- | **Interactive Mode** | βœ… | βœ… |
128
- | **Overlay Mode** | ❌ | βœ… NEW! |
129
- | **System Commands** | ❌ | βœ… NEW! |
130
- | **Live Preview** | ❌ | βœ… NEW! |
131
- | **Global Hotkey** | ❌ | βœ… NEW! |
132
-
133
- ---
134
-
135
- ## 🎨 UI Screenshots
136
-
137
- The overlay features:
138
- - **Glassmorphism design** - Semi-transparent with blur effect
139
- - **Smooth animations** - Slide-down results
140
- - **Color-coded feedback** - Green for success, red for errors, orange for system commands
141
- - **Keyboard shortcuts** - Displayed at bottom
142
- - **Auto-focus** - Input ready when you open it
143
-
144
- ---
145
-
146
- ## πŸ—ΊοΈ Roadmap Update
147
-
148
- ### βœ… Completed (v1.1.0)
149
- - [x] Floating search box overlay
150
- - [x] Global hotkey support
151
- - [x] System commands
152
- - [x] Live preview
153
- - [x] Glassmorphism UI
154
-
155
- ### πŸ”œ Coming Next (v1.2.0)
156
- - [ ] Custom themes
157
- - [ ] Plugin system
158
- - [ ] File search integration
159
- - [ ] Web search integration
160
- - [ ] Clipboard history
161
- - [ ] Multi-monitor support
162
-
163
- ---
164
-
165
- ## πŸ“– Documentation
166
-
167
- All documentation has been updated:
168
-
169
- - **README.md** - Added overlay mode section
170
- - **OVERLAY_MODE.md** - NEW: Complete overlay guide
171
- - **CHANGELOG.md** - v1.1.0 release notes
172
- - **package.json** - Updated to v1.1.0
173
-
174
- ---
175
-
176
- ## πŸš€ Installation
177
-
178
- ### For New Users
179
- ```bash
180
- npm install -g mani-calc
181
- npm run overlay
182
- ```
183
-
184
- ### For Existing Users
185
- ```bash
186
- npm update -g mani-calc
187
- npm run overlay
188
- ```
189
-
190
- ---
191
-
192
- ## πŸ’‘ Tips & Tricks
193
-
194
- ### 1. Auto-Start on Boot
195
- Add to Windows Startup folder for always-available calculator
196
-
197
- ### 2. Customize Hotkey
198
- Edit `src/ui/floating-search.js` to change `Alt+Space` to your preference
199
-
200
- ### 3. Add Custom Commands
201
- Edit `floating-search.js` to add your own system commands
202
-
203
- ### 4. Change Theme
204
- Edit `overlay.html` CSS for dark mode or custom colors
205
-
206
- ---
207
-
208
- ## 🎯 Use Cases
209
-
210
- ### Quick Math While Working
211
- ```
212
- Working in Excel β†’ Alt+Space β†’ "2500 * 0.15" β†’ Enter
213
- Result copied β†’ Paste in Excel
214
- ```
215
-
216
- ### System Control
217
- ```
218
- Finishing work β†’ Alt+Space β†’ "lock" β†’ Enter
219
- Computer locked instantly
220
- ```
221
-
222
- ### Unit Conversions
223
- ```
224
- Reading recipe β†’ Alt+Space β†’ "2 cups to ml" β†’ Enter
225
- Result: 473.18 ml
226
- ```
227
-
228
- ---
229
-
230
- ## 🀝 Community Feedback
231
-
232
- This feature was inspired by your request! Keep the feedback coming:
233
- - πŸ› Report bugs
234
- - πŸ’‘ Suggest features
235
- - ⭐ Star the repo
236
- - 🀝 Contribute code
237
-
238
- ---
239
-
240
- ## πŸ“ˆ What's Next?
241
-
242
- We're listening to the community! Vote on features:
243
- 1. Custom themes?
244
- 2. Plugin system?
245
- 3. File search integration?
246
- 4. Web search integration?
247
-
248
- [Open an issue](https://github.com/Maniredii/mani-calc/issues) to vote!
249
-
250
- ---
251
-
252
- ## πŸŽ‰ Thank You!
253
-
254
- Thank you for using Mani-Calc and providing feedback. This overlay mode makes Windows productivity even better!
255
-
256
- **Enjoy your new floating calculator!** ⚑
257
-
258
- ---
259
-
260
- **Version**: 1.1.0
261
- **Release Date**: January 21, 2026
262
- **Major Features**: Overlay Mode, System Commands, Live Preview