zack commited on
Commit
c702f23
β€’
1 Parent(s): c70b233

πŸ“š docs: update README with Proxmox integration details

Browse files
Files changed (3) hide show
  1. README.md +27 -0
  2. package-lock.json +10 -1
  3. package.json +2 -1
README.md CHANGED
@@ -21,6 +21,33 @@ Chat'nFace is an innovative interface that integrates with Gradio applications t
21
  - **Interactive Suggestions**: Receive suggestions and guidance on how to use Gradio apps effectively.
22
  - **Seamless Integration**: Designed to work harmoniously with existing Gradio interfaces.
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ## Installation πŸ› οΈ
25
  To get started with Chat'nFace, clone the repository and follow the setup instructions provided in the documentation.
26
 
 
21
  - **Interactive Suggestions**: Receive suggestions and guidance on how to use Gradio apps effectively.
22
  - **Seamless Integration**: Designed to work harmoniously with existing Gradio interfaces.
23
 
24
+ ## Proxmox VMs and Clusters Integration via xterm.js
25
+
26
+ Chat'nFace now supports interacting with Proxmox VMs and clusters directly through an xterm.js terminal interface. This feature allows users to view and manage their VMs and clusters within the Chat'nFace application.
27
+
28
+ ### Setup and Configuration
29
+
30
+ #### Frontend
31
+
32
+ 1. Ensure `xterm.js` and `xterm-addon-fit` are installed in your project.
33
+ 2. Integrate the `TerminalComponent` into your application where you want the terminal to appear.
34
+
35
+ #### Backend
36
+
37
+ 1. Set up a WebSocket server that the frontend can connect to for real-time data streaming.
38
+ 2. Implement Proxmox API integration in your backend service. This will involve authenticating with your Proxmox server and fetching or sending data as needed.
39
+
40
+ - **xterm.js**: [xterm.js Documentation](https://xtermjs.org/docs/)
41
+
42
+ - **Proxmox API**: [Proxmox API Documentation](https://pve.proxmox.com/pve-docs/api-viewer/index.html)
43
+
44
+ ### Usage
45
+
46
+ To use the Proxmox integration, navigate to the terminal within Chat'nFace and enter your commands. The terminal will communicate with your Proxmox server, allowing you to manage your VMs and clusters directly from the Chat'nFace interface.
47
+
48
+ ### Support
49
+
50
+ For support with the Proxmox integration, please join our Discord community or contact us directly through the provided channels.
51
  ## Installation πŸ› οΈ
52
  To get started with Chat'nFace, clone the repository and follow the setup instructions provided in the documentation.
53
 
package-lock.json CHANGED
@@ -6,7 +6,8 @@
6
  "": {
7
  "dependencies": {
8
  "react-scripts": "^5.0.1",
9
- "xterm": "^5.3.0"
 
10
  },
11
  "devDependencies": {
12
  "@svgr/webpack": "^8.1.0"
@@ -18139,6 +18140,14 @@
18139
  "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.3.0.tgz",
18140
  "integrity": "sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg=="
18141
  },
 
 
 
 
 
 
 
 
18142
  "node_modules/y18n": {
18143
  "version": "5.0.8",
18144
  "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
 
6
  "": {
7
  "dependencies": {
8
  "react-scripts": "^5.0.1",
9
+ "xterm": "^5.3.0",
10
+ "xterm-addon-fit": "^0.8.0"
11
  },
12
  "devDependencies": {
13
  "@svgr/webpack": "^8.1.0"
 
18140
  "resolved": "https://registry.npmjs.org/xterm/-/xterm-5.3.0.tgz",
18141
  "integrity": "sha512-8QqjlekLUFTrU6x7xck1MsPzPA571K5zNqWm0M0oroYEWVOptZ0+ubQSkQ3uxIEhcIHRujJy6emDWX4A7qyFzg=="
18142
  },
18143
+ "node_modules/xterm-addon-fit": {
18144
+ "version": "0.8.0",
18145
+ "resolved": "https://registry.npmjs.org/xterm-addon-fit/-/xterm-addon-fit-0.8.0.tgz",
18146
+ "integrity": "sha512-yj3Np7XlvxxhYF/EJ7p3KHaMt6OdwQ+HDu573Vx1lRXsVxOcnVJs51RgjZOouIZOczTsskaS+CpXspK81/DLqw==",
18147
+ "peerDependencies": {
18148
+ "xterm": "^5.0.0"
18149
+ }
18150
+ },
18151
  "node_modules/y18n": {
18152
  "version": "5.0.8",
18153
  "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
package.json CHANGED
@@ -4,6 +4,7 @@
4
  },
5
  "dependencies": {
6
  "react-scripts": "^5.0.1",
7
- "xterm": "^5.3.0"
 
8
  }
9
  }
 
4
  },
5
  "dependencies": {
6
  "react-scripts": "^5.0.1",
7
+ "xterm": "^5.3.0",
8
+ "xterm-addon-fit": "^0.8.0"
9
  }
10
  }