vortix 1.0.5 → 1.2.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/CHANGELOG.md +86 -0
- package/README.md +132 -23
- package/agent/agent.js +820 -134
- package/agent/package.json +2 -1
- package/bin/vortix.js +29 -2
- package/package.json +32 -5
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [1.2.0] - 2024-03-21
|
|
4
|
+
|
|
5
|
+
### 🎨 Major UI/UX Overhaul
|
|
6
|
+
|
|
7
|
+
- **Redesigned Dashboard** - New "Command Center" interface with modern styling
|
|
8
|
+
- **Mobile Optimization** - Complete mobile experience with responsive design
|
|
9
|
+
- **Enhanced Navigation** - Streamlined top navigation with rounded buttons
|
|
10
|
+
- **Improved Layout** - Wider containers for better content visibility
|
|
11
|
+
- **Modern Header** - Dynamic header with live status indicators and gradient
|
|
12
|
+
icons
|
|
13
|
+
|
|
14
|
+
### ☁️ Cloud-First Architecture
|
|
15
|
+
|
|
16
|
+
- **No Backend Setup Required** - Fully cloud-hosted backend (always online)
|
|
17
|
+
- **Simplified Installation** - Just install CLI and start using
|
|
18
|
+
- **Production-Ready** - Backend runs on reliable cloud infrastructure
|
|
19
|
+
- **Zero Configuration** - Works out of the box with cloud services
|
|
20
|
+
|
|
21
|
+
### 📱 Mobile Experience
|
|
22
|
+
|
|
23
|
+
- **Mobile Command Input** - Dedicated command interface for mobile devices
|
|
24
|
+
- **Touch-Optimized UI** - Perfect touch interactions and gestures
|
|
25
|
+
- **Responsive Design** - Seamless experience across all screen sizes
|
|
26
|
+
- **Mobile Menu** - Clean slide-down navigation menu
|
|
27
|
+
- **Single Interface** - No duplicate elements, clean mobile layout
|
|
28
|
+
|
|
29
|
+
### ✨ Enhanced Features
|
|
30
|
+
|
|
31
|
+
- **Improved File Transfer** - Better mobile support with download buttons
|
|
32
|
+
- **Real-time Updates** - Faster system stats with 1-second intervals
|
|
33
|
+
- **Better Animations** - Smooth framer-motion animations throughout
|
|
34
|
+
- **Enhanced Security** - Improved authentication and connection handling
|
|
35
|
+
- **Performance Boost** - Optimized rendering and data updates
|
|
36
|
+
|
|
37
|
+
### 🔧 Technical Improvements
|
|
38
|
+
|
|
39
|
+
- **TypeScript Fixes** - Resolved all compilation errors
|
|
40
|
+
- **Build Optimization** - Faster builds and better error handling
|
|
41
|
+
- **Code Cleanup** - Removed duplicate code and improved structure
|
|
42
|
+
- **Better Error Handling** - More informative error messages
|
|
43
|
+
- **Improved Diagnostics** - Better debugging and monitoring
|
|
44
|
+
|
|
45
|
+
### 🚀 Developer Experience
|
|
46
|
+
|
|
47
|
+
- **Updated Documentation** - Comprehensive README with examples
|
|
48
|
+
- **Better CLI Help** - Improved command descriptions and usage
|
|
49
|
+
- **Enhanced Keywords** - Better npm discoverability
|
|
50
|
+
- **Modern Stack** - Latest React, Next.js, and Framer Motion
|
|
51
|
+
|
|
52
|
+
## [1.1.0] - 2024-03-14
|
|
53
|
+
|
|
54
|
+
### Added
|
|
55
|
+
|
|
56
|
+
- Real-time system stats monitoring (CPU, Memory, Disk)
|
|
57
|
+
- Improved CPU measurement accuracy for Windows using wmic
|
|
58
|
+
- Platform detection sent immediately on connection
|
|
59
|
+
- Better error logging with close codes and reasons
|
|
60
|
+
- Auto-start status now loads automatically for authenticated devices
|
|
61
|
+
|
|
62
|
+
### Changed
|
|
63
|
+
|
|
64
|
+
- Default backend URL now points to production (wss://vortix.onrender.com)
|
|
65
|
+
- Reduced system stats measurement time from 1s to 500ms for faster response
|
|
66
|
+
- System stats update interval changed from 3s to 1s for real-time feel
|
|
67
|
+
- Removed verbose console logs for cleaner output
|
|
68
|
+
|
|
69
|
+
### Fixed
|
|
70
|
+
|
|
71
|
+
- Fixed platform detection for AI command generation
|
|
72
|
+
- Fixed WebSocket connection state tracking in dashboard
|
|
73
|
+
- Fixed file transfer not showing files on initial load
|
|
74
|
+
- Fixed auto-start toggle not reflecting correct state
|
|
75
|
+
- Fixed "notepad" command on Windows (AI now generates correct commands)
|
|
76
|
+
- Fixed system stats showing 0% in production
|
|
77
|
+
|
|
78
|
+
### Backend
|
|
79
|
+
|
|
80
|
+
- Added HTTP server for health checks (/health endpoint)
|
|
81
|
+
- Improved WebSocket upgrade handling for better cloud platform compatibility
|
|
82
|
+
- Better error handling and connection stability
|
|
83
|
+
|
|
84
|
+
## [1.0.5] - Previous Release
|
|
85
|
+
|
|
86
|
+
- Initial stable release
|
package/README.md
CHANGED
|
@@ -1,51 +1,160 @@
|
|
|
1
1
|
# Vortix
|
|
2
2
|
|
|
3
|
-
AI-powered OS control system with
|
|
3
|
+
🚀 **AI-powered remote OS control system** with natural language command
|
|
4
|
+
execution, real-time monitoring, and advanced device management.
|
|
4
5
|
|
|
5
|
-
##
|
|
6
|
+
## ✨ Features
|
|
7
|
+
|
|
8
|
+
- 🤖 **AI Command Generation** - Natural language to system commands
|
|
9
|
+
- 📊 **Real-time System Monitoring** - CPU, Memory, Disk usage
|
|
10
|
+
- 🖥️ **Screen Sharing** - Live desktop streaming
|
|
11
|
+
- 📁 **File Transfer** - Upload/download files remotely
|
|
12
|
+
- 🔄 **Multi-device Control** - Execute commands across multiple devices
|
|
13
|
+
- 🔐 **Secure Authentication** - Password-protected device access
|
|
14
|
+
- ⚡ **Auto-start on Boot** - Automatic agent startup
|
|
15
|
+
- 📱 **Modern Web Dashboard** - Responsive UI with mobile support
|
|
16
|
+
|
|
17
|
+
## 🚀 Quick Start
|
|
18
|
+
|
|
19
|
+
### Installation
|
|
6
20
|
|
|
7
21
|
```bash
|
|
8
22
|
npm install -g vortix
|
|
9
23
|
```
|
|
10
24
|
|
|
11
|
-
|
|
25
|
+
### Setup Your Device
|
|
12
26
|
|
|
13
|
-
|
|
27
|
+
1. **Authenticate your device:**
|
|
14
28
|
|
|
15
29
|
```bash
|
|
16
|
-
vortix
|
|
30
|
+
vortix login
|
|
17
31
|
```
|
|
18
32
|
|
|
19
|
-
|
|
33
|
+
2. **Start the agent:**
|
|
20
34
|
|
|
21
35
|
```bash
|
|
22
|
-
vortix
|
|
36
|
+
vortix start
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
3. **Access the dashboard:** Visit
|
|
40
|
+
[https://vortixai.vercel.app](https://vortixai.vercel.app)
|
|
41
|
+
|
|
42
|
+
That's it! No backend setup required - everything runs in the cloud.
|
|
43
|
+
|
|
44
|
+
## 📋 Commands
|
|
45
|
+
|
|
46
|
+
| Command | Description |
|
|
47
|
+
| -------------- | ------------------------------------- |
|
|
48
|
+
| `vortix login` | Authenticate and register your device |
|
|
49
|
+
| `vortix start` | Start the agent on current machine |
|
|
50
|
+
| `vortix help` | Show help information |
|
|
51
|
+
|
|
52
|
+
## 🎯 Use Cases
|
|
53
|
+
|
|
54
|
+
- **Remote Work** - Control your office computer from home
|
|
55
|
+
- **Server Management** - Monitor and manage remote servers
|
|
56
|
+
- **IT Support** - Help users remotely without screen sharing software
|
|
57
|
+
- **Home Automation** - Control your home PC from anywhere
|
|
58
|
+
- **Development** - Manage multiple development environments
|
|
59
|
+
|
|
60
|
+
## 🏗️ Architecture
|
|
61
|
+
|
|
62
|
+
- **☁️ Cloud Backend** - Hosted WebSocket server (always online)
|
|
63
|
+
- **🤖 Local Agent** - Runs on your devices, executes commands
|
|
64
|
+
- **🌐 Web Dashboard** - Modern React/Next.js interface
|
|
65
|
+
- **🔒 Secure Connection** - End-to-end encrypted communication
|
|
66
|
+
|
|
67
|
+
## 💡 Example Commands
|
|
68
|
+
|
|
69
|
+
Try these natural language commands in the dashboard:
|
|
70
|
+
|
|
23
71
|
```
|
|
72
|
+
"open notepad"
|
|
73
|
+
"show me system information"
|
|
74
|
+
"take a screenshot"
|
|
75
|
+
"list files in downloads folder"
|
|
76
|
+
"shutdown computer in 5 minutes"
|
|
77
|
+
"check disk space"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## 🔧 Advanced Features
|
|
24
81
|
|
|
25
|
-
###
|
|
82
|
+
### Auto-start on Boot
|
|
83
|
+
|
|
84
|
+
Enable automatic agent startup when your computer boots:
|
|
26
85
|
|
|
27
86
|
```bash
|
|
28
|
-
vortix start
|
|
87
|
+
vortix start --autostart
|
|
29
88
|
```
|
|
30
89
|
|
|
31
|
-
|
|
90
|
+
### Screen Sharing
|
|
91
|
+
|
|
92
|
+
View your desktop in real-time through the web dashboard.
|
|
93
|
+
|
|
94
|
+
### File Transfer
|
|
95
|
+
|
|
96
|
+
Upload and download files directly through the web interface.
|
|
97
|
+
|
|
98
|
+
### Multi-device Control
|
|
99
|
+
|
|
100
|
+
Execute the same command across multiple connected devices simultaneously.
|
|
101
|
+
|
|
102
|
+
## 🌐 Dashboard Features
|
|
103
|
+
|
|
104
|
+
- **Command Center** - Execute commands with AI assistance
|
|
105
|
+
- **Device Management** - View and control all connected devices
|
|
106
|
+
- **System Monitoring** - Real-time CPU, memory, and disk usage
|
|
107
|
+
- **File Browser** - Navigate and transfer files
|
|
108
|
+
- **Screen Viewer** - Live desktop streaming
|
|
109
|
+
- **Mobile Support** - Full functionality on mobile devices
|
|
110
|
+
|
|
111
|
+
## 🔒 Security
|
|
112
|
+
|
|
113
|
+
- Password-protected device authentication
|
|
114
|
+
- Secure WebSocket connections (WSS)
|
|
115
|
+
- Command approval system for dangerous operations
|
|
116
|
+
- No data stored on servers (commands executed locally)
|
|
117
|
+
|
|
118
|
+
## 📱 Supported Platforms
|
|
119
|
+
|
|
120
|
+
- ✅ Windows (7, 8, 10, 11)
|
|
121
|
+
- ✅ macOS (10.14+)
|
|
122
|
+
- ✅ Linux (Ubuntu, CentOS, Debian, etc.)
|
|
123
|
+
|
|
124
|
+
## 🆘 Troubleshooting
|
|
125
|
+
|
|
126
|
+
### Agent won't connect?
|
|
127
|
+
|
|
128
|
+
1. Check your internet connection
|
|
129
|
+
2. Ensure firewall allows outbound connections
|
|
130
|
+
3. Try restarting the agent: `vortix start`
|
|
131
|
+
|
|
132
|
+
### Commands not working?
|
|
133
|
+
|
|
134
|
+
1. Verify device is authenticated and online
|
|
135
|
+
2. Check if the command requires admin privileges
|
|
136
|
+
3. Try simpler commands first
|
|
137
|
+
|
|
138
|
+
### Need help?
|
|
32
139
|
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
- `vortix help` - Show help information
|
|
140
|
+
- Visit our [documentation](https://vortixai.vercel.app/setup)
|
|
141
|
+
- Report issues on [GitHub](https://github.com/Vaibhav262610/vortix/issues)
|
|
142
|
+
- Contact support: vaibhavrajpoot2626@gmail.com
|
|
37
143
|
|
|
38
|
-
##
|
|
144
|
+
## 🚀 What's New in v1.2.0
|
|
39
145
|
|
|
40
|
-
- **
|
|
41
|
-
- **
|
|
42
|
-
- **
|
|
146
|
+
- 🎨 **Redesigned Dashboard** - Modern Command Center interface
|
|
147
|
+
- 📱 **Mobile Optimization** - Perfect mobile experience
|
|
148
|
+
- ⚡ **Performance Improvements** - Faster real-time updates
|
|
149
|
+
- 🔧 **Enhanced UI** - Better navigation and user experience
|
|
150
|
+
- 🌐 **Cloud-first Architecture** - No backend setup required
|
|
43
151
|
|
|
44
|
-
##
|
|
152
|
+
## 📄 License
|
|
45
153
|
|
|
46
|
-
|
|
47
|
-
|
|
154
|
+
MIT License - see
|
|
155
|
+
[LICENSE](https://github.com/Vaibhav262610/vortix/blob/main/LICENSE) for
|
|
156
|
+
details.
|
|
48
157
|
|
|
49
|
-
|
|
158
|
+
---
|
|
50
159
|
|
|
51
|
-
|
|
160
|
+
**Made with ❤️ by [Vaibhav Rajpoot](https://github.com/Vaibhav262610)**
|