termites 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. package/README.md +7 -5
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  A web-based terminal with server-client architecture for remote shell access.
4
4
 
5
+ ```bash
6
+ npm install -g termites
7
+ ```
8
+
5
9
  ## Architecture
6
10
 
7
11
  ```
@@ -22,8 +26,6 @@ A web-based terminal with server-client architecture for remote shell access.
22
26
  npm install -g termites
23
27
  ```
24
28
 
25
- > **Note**: The `-g` flag is required for the `termites` command to be available globally.
26
-
27
29
  ## Usage
28
30
 
29
31
  ### Start Server
@@ -43,12 +45,12 @@ PORT=8080 termites server
43
45
  ### Connect Client
44
46
 
45
47
  ```bash
46
- # Connect to localhost:3456
48
+ # Connect to localhost:6789
47
49
  termites client
48
50
 
49
51
  # Connect to a remote server
50
- termites client 192.168.1.100:3456
51
- termites client ws://example.com:3456
52
+ termites client 192.168.1.100:6789
53
+ termites client ws://example.com:6789
52
54
  ```
53
55
 
54
56
  ## Features
package/index.js CHANGED
@@ -3,7 +3,7 @@ const http = require('http');
3
3
  const os = require('os');
4
4
  const WebSocket = require('ws');
5
5
 
6
- const PORT = process.env.PORT || 3456;
6
+ const PORT = process.env.PORT || 6789;
7
7
  const SHELL = process.env.SHELL || '/bin/bash';
8
8
 
9
9
  function getSystemInfo() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "termites",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Web terminal with server-client architecture for remote shell access",
5
5
  "main": "index.js",
6
6
  "scripts": {