projxo 1.0.2 β 1.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/Readme.md +187 -402
- package/index.js +48 -11
- package/package.json +3 -2
- package/src/cli.js +11 -0
- package/src/commands/list.js +251 -0
- package/src/handlers/projectCreator.js +18 -0
- package/src/storage/database.js +149 -0
- package/src/storage/debug-storage.js +99 -0
- package/src/storage/projects.js +273 -0
package/Readme.md
CHANGED
|
@@ -1,483 +1,323 @@
|
|
|
1
1
|
# ProjXO
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
**One command, Any framework**
|
|
4
|
+
|
|
5
|
+
> **Quick project setup and management CLI for modern web frameworks**
|
|
6
|
+
> Create projects in seconds. Never lose track of them again.
|
|
5
7
|
|
|
6
8
|
[](https://www.npmjs.com/package/projxo)
|
|
7
9
|
[](https://opensource.org/licenses/MIT)
|
|
8
10
|
|
|
9
11
|
---
|
|
10
12
|
|
|
11
|
-
## π
|
|
12
|
-
|
|
13
|
-
As developers, we create new projects constantlyβprototypes, client work, side projects, experiments. But every time, we go through the same tedious process:
|
|
13
|
+
## π Quick Start
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
#
|
|
17
|
-
|
|
18
|
-
cd my-app
|
|
19
|
-
npm install
|
|
20
|
-
code .
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
**ProjXO does it all in one interactive command:**
|
|
16
|
+
# Install globally
|
|
17
|
+
npm install -g projxo
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
# Create a new project
|
|
26
20
|
pxo
|
|
21
|
+
|
|
22
|
+
# List all your projects
|
|
23
|
+
pxo list
|
|
27
24
|
```
|
|
28
25
|
|
|
29
|
-
That's it
|
|
26
|
+
**That's it!** Pick your framework, name your project, and start coding.
|
|
30
27
|
|
|
31
28
|
---
|
|
32
29
|
|
|
33
|
-
## β¨
|
|
34
|
-
|
|
35
|
-
- **π― One Command Setup** - Interactive CLI guides you through everything
|
|
36
|
-
- **β‘ Latest Tools** - Uses current best practices (Vite, not deprecated CRA)
|
|
37
|
-
- **π¨ Multiple Frameworks** - React, Next.js, Angular, React Native
|
|
38
|
-
- **π§ IDE Integration** - Auto-opens in VS Code, Cursor, WebStorm, etc.
|
|
39
|
-
- **π Cross-Platform** - Works on macOS, Windows, and Linux
|
|
40
|
-
- **π¨ Zero Config** - No setup files, no configuration needed
|
|
30
|
+
## β¨ What is ProjXO?
|
|
41
31
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
## π¦ Installation
|
|
32
|
+
**Create projects. Track them. Never lose them.**
|
|
45
33
|
|
|
46
|
-
|
|
34
|
+
ProjXO eliminates the repetitive setup process for new projects. Instead of:
|
|
47
35
|
|
|
48
36
|
```bash
|
|
49
|
-
|
|
37
|
+
npx create-vite my-app
|
|
38
|
+
cd my-app
|
|
39
|
+
npm install
|
|
40
|
+
code .
|
|
41
|
+
# Wait... where did I save that other project?
|
|
50
42
|
```
|
|
51
43
|
|
|
52
|
-
|
|
44
|
+
You get:
|
|
53
45
|
|
|
54
46
|
```bash
|
|
55
|
-
pxo
|
|
47
|
+
pxo # Create & track projects
|
|
48
|
+
pxo list # See all your projects
|
|
56
49
|
```
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
npx projxo
|
|
62
|
-
```
|
|
51
|
+
**One command. Zero hassle.**
|
|
63
52
|
|
|
64
53
|
---
|
|
65
54
|
|
|
66
|
-
##
|
|
67
|
-
|
|
68
|
-
### Create Your First Project
|
|
55
|
+
## π¦ Installation
|
|
69
56
|
|
|
70
57
|
```bash
|
|
71
|
-
|
|
58
|
+
npm install -g projxo
|
|
72
59
|
```
|
|
73
60
|
|
|
74
|
-
|
|
61
|
+
**Requirements:**
|
|
75
62
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
3. Ask where to create it
|
|
79
|
-
4. Ask which IDE to open it in
|
|
80
|
-
5. Create the project and open it
|
|
81
|
-
|
|
82
|
-
**Total time: ~30 seconds** β‘
|
|
63
|
+
- Node.js >= 14.0.0
|
|
64
|
+
- npm >= 6.0.0
|
|
83
65
|
|
|
84
66
|
---
|
|
85
67
|
|
|
86
|
-
## π οΈ
|
|
87
|
-
|
|
88
|
-
### React + Vite (JavaScript)
|
|
68
|
+
## π οΈ Available Commands
|
|
89
69
|
|
|
90
|
-
|
|
70
|
+
| Command | Alias | Description |
|
|
71
|
+
|---------|-------|-------------|
|
|
72
|
+
| `pxo` | - | Create a new project with interactive setup |
|
|
73
|
+
| `pxo list` | `pxo ls` | Browse and manage all tracked projects |
|
|
74
|
+
| `pxo --version` | `pxo -V` | Show version number |
|
|
75
|
+
| `pxo --help` | `pxo -h` | Display help information |
|
|
91
76
|
|
|
92
|
-
|
|
93
|
-
pxo
|
|
94
|
-
# Select: React + Vite
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**Includes:**
|
|
98
|
-
|
|
99
|
-
- React 18+
|
|
100
|
-
- Vite 5+
|
|
101
|
-
- ESLint configuration
|
|
102
|
-
- Fast Refresh
|
|
103
|
-
|
|
104
|
-
### React + Vite (TypeScript)
|
|
77
|
+
---
|
|
105
78
|
|
|
106
|
-
|
|
79
|
+
### Create New Project
|
|
107
80
|
|
|
108
81
|
```bash
|
|
109
82
|
pxo
|
|
110
|
-
# Select: React + Vite (TypeScript)
|
|
111
83
|
```
|
|
112
84
|
|
|
113
|
-
**
|
|
85
|
+
**Interactive prompts guide you through:**
|
|
114
86
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
87
|
+
1. Framework selection (React, Next.js, Angular, React Native)
|
|
88
|
+
2. Project name
|
|
89
|
+
3. Location
|
|
90
|
+
4. IDE preference
|
|
118
91
|
|
|
119
|
-
|
|
92
|
+
#### **Supported frameworks:**
|
|
120
93
|
|
|
121
|
-
|
|
94
|
+
- **React + Vite** (JavaScript or TypeScript)
|
|
95
|
+
- **Next.js** (App Router, TypeScript)
|
|
96
|
+
- **Angular** (Latest version)
|
|
97
|
+
- **React Native** (Expo)
|
|
122
98
|
|
|
123
|
-
|
|
124
|
-
pxo
|
|
125
|
-
# Select: Next.js
|
|
126
|
-
```
|
|
99
|
+
#### **Supported IDEs:**
|
|
127
100
|
|
|
128
|
-
|
|
101
|
+
ProjXO auto-opens projects in your preferred IDE:
|
|
129
102
|
|
|
130
|
-
-
|
|
131
|
-
-
|
|
132
|
-
-
|
|
133
|
-
-
|
|
103
|
+
- **VS Code** (`code`)
|
|
104
|
+
- **Cursor** (`cursor`)
|
|
105
|
+
- **WebStorm** (`webstorm`)
|
|
106
|
+
- **IntelliJ IDEA** (`idea`)
|
|
107
|
+
- **Sublime Text** (`subl`)
|
|
108
|
+
- **Atom** (`atom`)
|
|
134
109
|
|
|
135
|
-
|
|
110
|
+
**Setup command-line tools:**
|
|
136
111
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
pxo
|
|
141
|
-
# Select: Angular
|
|
142
|
-
```
|
|
112
|
+
**VS Code:**
|
|
143
113
|
|
|
144
|
-
|
|
114
|
+
1. Open Command Palette (`Cmd/Ctrl+Shift+P`)
|
|
115
|
+
2. Type: "Shell Command: Install 'code' command in PATH"
|
|
145
116
|
|
|
146
|
-
|
|
147
|
-
- TypeScript
|
|
148
|
-
- Angular CLI tools
|
|
149
|
-
- Testing setup
|
|
117
|
+
**Other IDEs:** Check your IDE's documentation for CLI setup.
|
|
150
118
|
|
|
151
|
-
|
|
119
|
+
---
|
|
152
120
|
|
|
153
|
-
|
|
121
|
+
### List All Projects
|
|
154
122
|
|
|
155
123
|
```bash
|
|
156
|
-
pxo
|
|
157
|
-
#
|
|
124
|
+
pxo list
|
|
125
|
+
# or
|
|
126
|
+
pxo ls
|
|
158
127
|
```
|
|
159
128
|
|
|
160
|
-
**
|
|
129
|
+
**Shows all your tracked projects with:**
|
|
161
130
|
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
- Platform-specific configurations
|
|
131
|
+
- Project name
|
|
132
|
+
- Framework type
|
|
133
|
+
- Last accessed time
|
|
166
134
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
## π¨ IDE Integration
|
|
170
|
-
|
|
171
|
-
ProjXO can automatically open your project in your preferred IDE:
|
|
135
|
+
**Interactive actions:**
|
|
172
136
|
|
|
173
|
-
|
|
137
|
+
Select a project and perform actions
|
|
174
138
|
|
|
175
|
-
-
|
|
176
|
-
-
|
|
177
|
-
-
|
|
178
|
-
-
|
|
179
|
-
- **Sublime Text** - `subl` command
|
|
180
|
-
- **Atom** - `atom` command
|
|
139
|
+
- π Open in IDE
|
|
140
|
+
- π Copy project path
|
|
141
|
+
- ποΈ Remove from tracking
|
|
142
|
+
- βΉοΈ Show detailed info
|
|
181
143
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
**VS Code:**
|
|
144
|
+
**Example output:**
|
|
185
145
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
3. Type "Shell Command: Install 'code' command in PATH"
|
|
189
|
-
4. Done!
|
|
146
|
+
``` bash
|
|
147
|
+
π¦ Your Projects (5)
|
|
190
148
|
|
|
191
|
-
|
|
192
|
-
|
|
149
|
+
β― my-awesome-app React+Vite 2 hours ago
|
|
150
|
+
client-dashboard Next.js 1 day ago
|
|
151
|
+
mobile-game React Native 3 days ago
|
|
152
|
+
legacy-project Angular 1 week ago
|
|
153
|
+
test-app React+Vite 2 weeks ago
|
|
193
154
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
**Others:**
|
|
198
|
-
Refer to your IDE's documentation
|
|
155
|
+
Use ββ to navigate β’ Enter to select
|
|
156
|
+
```
|
|
199
157
|
|
|
200
158
|
---
|
|
201
159
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
### Example 1: Enterprise Web App
|
|
160
|
+
### Version & Help
|
|
205
161
|
|
|
206
162
|
```bash
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
# Select: Angular
|
|
210
|
-
# Name: my-ent-app
|
|
211
|
-
# Directory: ~/projects
|
|
212
|
-
# IDE: VS Code
|
|
163
|
+
# Check version
|
|
164
|
+
pxo --version
|
|
213
165
|
|
|
214
|
-
#
|
|
215
|
-
|
|
166
|
+
# Show help
|
|
167
|
+
pxo --help
|
|
216
168
|
```
|
|
217
169
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
```bash
|
|
221
|
-
pxo
|
|
222
|
-
|
|
223
|
-
# Select: React + Vite
|
|
224
|
-
# Name: my-landing-page
|
|
225
|
-
# Directory: ~/projects
|
|
226
|
-
# IDE: VS Code
|
|
170
|
+
---
|
|
227
171
|
|
|
228
|
-
|
|
229
|
-
# Start: npm run dev
|
|
230
|
-
```
|
|
172
|
+
## π Usage Examples
|
|
231
173
|
|
|
232
|
-
### Example
|
|
174
|
+
### Example 1: Create React App
|
|
233
175
|
|
|
234
176
|
```bash
|
|
235
|
-
pxo
|
|
177
|
+
$ pxo
|
|
236
178
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
# Next.js project with TypeScript ready!
|
|
243
|
-
# Start: npm run dev
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
### Example 4: Mobile App
|
|
247
|
-
|
|
248
|
-
```bash
|
|
249
|
-
pxo
|
|
179
|
+
? Select project type: React + Vite
|
|
180
|
+
? Enter project name: my-landing-page
|
|
181
|
+
? Enter directory: ~/projects
|
|
182
|
+
? Select IDE: VS Code
|
|
250
183
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
# Directory: ~/apps
|
|
254
|
-
# IDE: VS Code
|
|
184
|
+
β Project created successfully!
|
|
185
|
+
β Project added to tracking
|
|
255
186
|
|
|
256
|
-
#
|
|
257
|
-
|
|
187
|
+
# Start developing:
|
|
188
|
+
cd ~/projects/my-landing-page
|
|
189
|
+
npm run dev
|
|
258
190
|
```
|
|
259
191
|
|
|
260
192
|
---
|
|
261
193
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
ProjXO works out of the box with zero configuration. However, you can customize some behaviors:
|
|
265
|
-
|
|
266
|
-
### Default Directory
|
|
267
|
-
|
|
268
|
-
ProjXO uses your current directory by default. Change it during the prompt or `cd` to your preferred location first:
|
|
194
|
+
### Example 2: Browse Your Projects
|
|
269
195
|
|
|
270
196
|
```bash
|
|
271
|
-
|
|
272
|
-
pxo
|
|
273
|
-
```
|
|
197
|
+
$ pxo list
|
|
274
198
|
|
|
275
|
-
|
|
199
|
+
π¦ Your Projects (3)
|
|
276
200
|
|
|
277
|
-
|
|
201
|
+
β― my-landing-page React+Vite just now
|
|
202
|
+
my-nextjs-app Next.js 2 days ago
|
|
203
|
+
old-angular-app Angular 2 weeks ago
|
|
278
204
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
#
|
|
205
|
+
# Select a project to:
|
|
206
|
+
# - Open in your IDE
|
|
207
|
+
# - Copy the path
|
|
208
|
+
# - Remove from tracking
|
|
209
|
+
# - View details
|
|
282
210
|
```
|
|
283
211
|
|
|
284
212
|
---
|
|
285
213
|
|
|
286
|
-
##
|
|
214
|
+
## π‘ Tips & Tricks
|
|
287
215
|
|
|
288
|
-
###
|
|
216
|
+
### Organize Your Projects
|
|
289
217
|
|
|
290
218
|
```bash
|
|
291
|
-
#
|
|
292
|
-
my-project-name β
|
|
293
|
-
my_project_name β
|
|
294
|
-
MyProjectName β
|
|
295
|
-
|
|
296
|
-
# Avoid
|
|
297
|
-
my project name β (spaces)
|
|
298
|
-
my-project-name! β (special chars)
|
|
299
|
-
```
|
|
300
|
-
|
|
301
|
-
### Tip 2: Organize Projects
|
|
302
|
-
|
|
303
|
-
```bash
|
|
304
|
-
# Keep projects organized by type
|
|
219
|
+
# Keep projects organized
|
|
305
220
|
~/projects/clients/
|
|
306
221
|
~/projects/personal/
|
|
307
|
-
~/projects/
|
|
222
|
+
~/projects/learning/
|
|
308
223
|
|
|
309
|
-
#
|
|
224
|
+
# Create projects in the right place
|
|
310
225
|
cd ~/projects/clients
|
|
311
226
|
pxo
|
|
312
227
|
```
|
|
313
228
|
|
|
314
|
-
###
|
|
229
|
+
### Review Project Details
|
|
315
230
|
|
|
316
|
-
|
|
231
|
+
```bash
|
|
232
|
+
pxo list
|
|
233
|
+
# β Select project β Show details
|
|
234
|
+
|
|
235
|
+
# See full information:
|
|
236
|
+
# - Complete path
|
|
237
|
+
# - Creation date
|
|
238
|
+
# - Framework type
|
|
239
|
+
# - Default IDE
|
|
240
|
+
```
|
|
317
241
|
|
|
318
|
-
|
|
319
|
-
- **Next.js**: [nextjs.org/docs](https://nextjs.org/docs)
|
|
320
|
-
- **Angular**: [angular.io/docs](https://angular.io/docs)
|
|
321
|
-
- **Expo**: [docs.expo.dev](https://docs.expo.dev)
|
|
242
|
+
---
|
|
322
243
|
|
|
323
|
-
|
|
244
|
+
## π How It Works
|
|
324
245
|
|
|
325
|
-
|
|
246
|
+
### Automatic Tracking
|
|
326
247
|
|
|
327
|
-
|
|
248
|
+
Every project you create with ProjXO is automatically tracked:
|
|
328
249
|
|
|
329
250
|
```bash
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
git commit -m "Initial commit"
|
|
334
|
-
```
|
|
251
|
+
pxo
|
|
252
|
+
# Creates project...
|
|
253
|
+
β Project added to tracking
|
|
335
254
|
|
|
336
|
-
|
|
255
|
+
# Data stored in: ~/.projxo/projects.json
|
|
256
|
+
```
|
|
337
257
|
|
|
338
|
-
|
|
339
|
-
# For React projects
|
|
340
|
-
npm install axios react-query zustand
|
|
258
|
+
### What's Stored
|
|
341
259
|
|
|
342
|
-
|
|
343
|
-
|
|
260
|
+
- Project name and path
|
|
261
|
+
- Framework type
|
|
262
|
+
- Creation and last accessed timestamps
|
|
263
|
+
- IDE preference
|
|
344
264
|
|
|
345
|
-
|
|
346
|
-
npm install react-hook-form zod
|
|
347
|
-
```
|
|
265
|
+
**Privacy:** All data stays local on your machine. No cloud sync, no tracking.
|
|
348
266
|
|
|
349
267
|
---
|
|
350
268
|
|
|
351
269
|
## π¨ Troubleshooting
|
|
352
270
|
|
|
353
|
-
###
|
|
354
|
-
|
|
355
|
-
**Problem:** `pxo: command not found`
|
|
356
|
-
|
|
357
|
-
**Solution:**
|
|
271
|
+
### Command Not Found
|
|
358
272
|
|
|
359
273
|
```bash
|
|
360
274
|
# Reinstall globally
|
|
361
275
|
npm install -g projxo
|
|
362
276
|
|
|
363
|
-
# Or use
|
|
277
|
+
# Or use with npx
|
|
364
278
|
npx projxo
|
|
365
279
|
```
|
|
366
280
|
|
|
367
|
-
###
|
|
368
|
-
|
|
369
|
-
**Problem:** `EACCES: permission denied`
|
|
370
|
-
|
|
371
|
-
**Solution (macOS/Linux):**
|
|
281
|
+
### Permission Errors (macOS/Linux)
|
|
372
282
|
|
|
373
283
|
```bash
|
|
374
|
-
# Fix npm permissions
|
|
375
284
|
sudo chown -R $(whoami) ~/.npm
|
|
376
285
|
sudo chown -R $(whoami) /usr/local/lib/node_modules
|
|
377
|
-
|
|
378
|
-
# Then reinstall
|
|
379
286
|
npm install -g projxo
|
|
380
287
|
```
|
|
381
288
|
|
|
382
|
-
|
|
383
|
-
Run terminal as Administrator
|
|
384
|
-
|
|
385
|
-
### Issue: IDE doesn't open
|
|
386
|
-
|
|
387
|
-
**Problem:** IDE selected but doesn't open
|
|
388
|
-
|
|
389
|
-
**Solution:**
|
|
390
|
-
|
|
391
|
-
1. Ensure IDE is installed
|
|
392
|
-
2. Set up command-line tools (see IDE Integration section)
|
|
393
|
-
3. Test command manually:
|
|
394
|
-
|
|
395
|
-
```bash
|
|
396
|
-
code . # for VS Code
|
|
397
|
-
cursor . # for Cursor
|
|
398
|
-
```
|
|
289
|
+
### IDE Doesn't Open
|
|
399
290
|
|
|
400
|
-
|
|
291
|
+
1. Verify IDE is installed
|
|
292
|
+
2. Setup command-line tools (see IDE Integration)
|
|
293
|
+
3. Test manually: `code .` or `cursor .`
|
|
401
294
|
|
|
402
|
-
|
|
295
|
+
### Projects Not Showing in List
|
|
403
296
|
|
|
404
|
-
**
|
|
297
|
+
**Projects created before v1.1.0 aren't tracked.**
|
|
405
298
|
|
|
406
|
-
|
|
407
|
-
- **Clear npm cache** - `npm cache clean --force`
|
|
408
|
-
- **Update Node.js** - Ensure Node.js >= 14.0.0
|
|
409
|
-
- **Check disk space** - Ensure enough space for node_modules
|
|
410
|
-
|
|
411
|
-
---
|
|
412
|
-
|
|
413
|
-
## π§ Requirements
|
|
414
|
-
|
|
415
|
-
- **Node.js** >= 14.0.0
|
|
416
|
-
- **npm** >= 6.0.0 (comes with Node.js)
|
|
417
|
-
- **Internet connection** (for downloading packages)
|
|
418
|
-
|
|
419
|
-
### Check Your Versions
|
|
420
|
-
|
|
421
|
-
```bash
|
|
422
|
-
node --version # Should be >= 14.0.0
|
|
423
|
-
npm --version # Should be >= 6.0.0
|
|
424
|
-
```
|
|
425
|
-
|
|
426
|
-
### Update Node.js
|
|
427
|
-
|
|
428
|
-
**Using nvm (recommended):**
|
|
429
|
-
```bash
|
|
430
|
-
nvm install 20
|
|
431
|
-
nvm use 20
|
|
432
|
-
```
|
|
433
|
-
|
|
434
|
-
**Direct download:**
|
|
435
|
-
[nodejs.org/download](https://nodejs.org/download)
|
|
299
|
+
Only projects created after installing v1.1.0+ are automatically tracked.
|
|
436
300
|
|
|
437
301
|
---
|
|
438
302
|
|
|
439
303
|
## π€ Contributing
|
|
440
304
|
|
|
441
|
-
|
|
442
|
-
To make thing easy and manageable use PR (pull requests) as much as possible.
|
|
305
|
+
Contributions are welcome! Please use pull requests.
|
|
443
306
|
|
|
444
|
-
|
|
307
|
+
**Ways to contribute:**
|
|
445
308
|
|
|
446
309
|
- π Report bugs
|
|
447
|
-
- π‘ Suggest features
|
|
448
|
-
- π Improve
|
|
449
|
-
- π§ Submit
|
|
310
|
+
- π‘ Suggest features
|
|
311
|
+
- π Improve docs
|
|
312
|
+
- π§ Submit PRs
|
|
450
313
|
|
|
451
|
-
|
|
314
|
+
**Development setup:**
|
|
452
315
|
|
|
453
316
|
```bash
|
|
454
|
-
# Clone the repository
|
|
455
317
|
git clone https://github.com/sasangachathumal/ProjXO.git
|
|
456
318
|
cd ProjXO
|
|
457
|
-
|
|
458
|
-
# Install dependencies
|
|
459
319
|
npm install
|
|
460
|
-
|
|
461
|
-
# Test locally
|
|
462
|
-
node index.js
|
|
463
|
-
|
|
464
|
-
# Test globally
|
|
465
|
-
npm link
|
|
466
|
-
pxo
|
|
467
|
-
```
|
|
468
|
-
|
|
469
|
-
### Project Structure
|
|
470
|
-
|
|
471
|
-
```
|
|
472
|
-
ProjXO/
|
|
473
|
-
βββ index.js # Entry point
|
|
474
|
-
βββ package.json
|
|
475
|
-
βββ src/
|
|
476
|
-
βββ cli.js # Main CLI logic
|
|
477
|
-
βββ config/ # Framework & IDE configs
|
|
478
|
-
βββ utils/ # Helper functions
|
|
479
|
-
βββ prompts/ # User prompts
|
|
480
|
-
βββ handlers/ # Business logic
|
|
320
|
+
node index.js # Test locally
|
|
481
321
|
```
|
|
482
322
|
|
|
483
323
|
---
|
|
@@ -486,56 +326,31 @@ ProjXO/
|
|
|
486
326
|
|
|
487
327
|
MIT Β© Sasanga Chathumal
|
|
488
328
|
|
|
489
|
-
See [LICENSE](LICENSE) file for details.
|
|
490
|
-
|
|
491
329
|
---
|
|
492
330
|
|
|
493
331
|
## π Credits
|
|
494
332
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
- [
|
|
498
|
-
- [
|
|
499
|
-
- [
|
|
500
|
-
- [
|
|
501
|
-
- [
|
|
333
|
+
Built with:
|
|
334
|
+
- [Vite](https://vitejs.dev/)
|
|
335
|
+
- [Next.js](https://nextjs.org/)
|
|
336
|
+
- [Angular CLI](https://angular.io/cli)
|
|
337
|
+
- [Expo](https://expo.dev/)
|
|
338
|
+
- [Inquirer.js](https://github.com/SBoudrias/Inquirer.js)
|
|
339
|
+
- [Commander.js](https://github.com/tj/commander.js)
|
|
502
340
|
|
|
503
341
|
---
|
|
504
342
|
|
|
505
|
-
##
|
|
506
|
-
|
|
507
|
-
### Current Version (v1.0.0)
|
|
508
|
-
|
|
509
|
-
- β
Interactive project creation
|
|
510
|
-
- β
5 framework templates
|
|
511
|
-
- β
IDE integration
|
|
512
|
-
- β
Cross-platform support
|
|
513
|
-
|
|
514
|
-
### Planned Features
|
|
515
|
-
|
|
516
|
-
- π Project tracking and quick access
|
|
517
|
-
- π Bookmarking favorite projects
|
|
518
|
-
- π Custom project templates
|
|
519
|
-
- π Post-setup automation (install common packages)
|
|
520
|
-
- π Git options
|
|
521
|
-
- π Team templates sharing
|
|
522
|
-
|
|
523
|
-
---
|
|
524
|
-
|
|
525
|
-
## π¬ Support
|
|
526
|
-
|
|
527
|
-
### Get Help
|
|
343
|
+
## π¬ Support & Links
|
|
528
344
|
|
|
529
345
|
- π [Documentation](https://github.com/sasangachathumal/ProjXO#readme)
|
|
530
|
-
- π [
|
|
346
|
+
- π [Issues](https://github.com/sasangachathumal/ProjXO/issues)
|
|
531
347
|
- π¬ [Discussions](https://github.com/sasangachathumal/ProjXO/discussions)
|
|
348
|
+
- π¦ [npm Package](https://www.npmjs.com/package/projxo)
|
|
532
349
|
|
|
533
|
-
|
|
350
|
+
**Connect:**
|
|
534
351
|
|
|
535
|
-
-
|
|
536
|
-
-
|
|
537
|
-
- πΌ [Follow on linkedIn](https://www.linkedin.com/in/sasanga-chathumal/)
|
|
538
|
-
- π [Follow on facebook](https://www.facebook.com/profile.php?id=61582131982373)
|
|
352
|
+
- π¦ [X/Twitter](https://x.com/SasangaChathum1)
|
|
353
|
+
- πΌ [LinkedIn](https://www.linkedin.com/in/sasanga-chathumal/)
|
|
539
354
|
- π§ [Email](mailto:devbysasanga@gmail.com)
|
|
540
355
|
|
|
541
356
|
---
|
|
@@ -543,58 +358,28 @@ ProjXO uses these amazing tools:
|
|
|
543
358
|
## β‘ Quick Reference
|
|
544
359
|
|
|
545
360
|
```bash
|
|
546
|
-
# Create
|
|
361
|
+
# Create project
|
|
547
362
|
pxo
|
|
548
363
|
|
|
549
|
-
#
|
|
364
|
+
# List projects
|
|
365
|
+
pxo list
|
|
366
|
+
pxo ls
|
|
367
|
+
|
|
368
|
+
# Version
|
|
550
369
|
pxo --version
|
|
370
|
+
pxo -V
|
|
551
371
|
|
|
552
|
-
#
|
|
372
|
+
# Help
|
|
553
373
|
pxo --help
|
|
554
|
-
|
|
555
|
-
# Use without installing
|
|
556
|
-
npx projxo
|
|
374
|
+
pxo -h
|
|
557
375
|
```
|
|
558
376
|
|
|
559
377
|
---
|
|
560
378
|
|
|
561
|
-
## π Comparison
|
|
562
|
-
|
|
563
|
-
### ProjXO vs Manual Setup
|
|
564
|
-
|
|
565
|
-
| Task | Manual | ProjXO |
|
|
566
|
-
|------|--------|--------|
|
|
567
|
-
| Choose framework | Research docs | Interactive selection |
|
|
568
|
-
| Run create command | Remember exact command | Handled automatically |
|
|
569
|
-
| Navigate to project | `cd` manually | Automatic |
|
|
570
|
-
| Open in IDE | `code .` manually | Automatic |
|
|
571
|
-
| **Total time** | **3-5 minutes** | **30 seconds** |
|
|
572
|
-
|
|
573
|
-
### ProjXO vs Other Tools
|
|
574
|
-
|
|
575
|
-
| Feature | ProjXO | create-* tools | Yeoman |
|
|
576
|
-
|---------|--------|----------------|---------|
|
|
577
|
-
| Interactive | β
| β οΈ Varies | β
|
|
|
578
|
-
| Multi-framework | β
| β Single | β οΈ Depends |
|
|
579
|
-
| IDE Integration | β
| β | β |
|
|
580
|
-
| Zero config | β
| β
| β |
|
|
581
|
-
| Modern tools | β
| β οΈ Some outdated | β οΈ Many outdated |
|
|
582
|
-
|
|
583
|
-
---
|
|
584
|
-
|
|
585
|
-
## π Links
|
|
586
|
-
|
|
587
|
-
- **npm**: [npmjs.com/package/ProjXO](https://www.npmjs.com/package/ProjXO)
|
|
588
|
-
- **GitHub**: [github.com/sasangachathumal/ProjXO](https://github.com/sasangachathumal/ProjXO)
|
|
589
|
-
- **Issues**: [github.com/sasangachathumal/ProjXO/issues](https://github.com/sasangachathumal/ProjXO/issues)
|
|
590
|
-
- **Changelog**: [CHANGELOG.md](CHANGELOG.md)
|
|
591
|
-
|
|
592
|
-
---
|
|
593
|
-
|
|
594
379
|
<div align="center">
|
|
595
380
|
|
|
596
|
-
**
|
|
381
|
+
**Stop wasting time on setup. Start building.**
|
|
597
382
|
|
|
598
|
-
[β Star on GitHub](https://github.com/sasangachathumal/ProjXO) β’ [π¦
|
|
383
|
+
[β Star on GitHub](https://github.com/sasangachathumal/ProjXO) β’ [π¦ Install Now](https://www.npmjs.com/package/projxo) β’ [π Report Issue](https://github.com/sasangachathumal/ProjXO/issues)
|
|
599
384
|
|
|
600
385
|
</div>
|