@chahuadev/chahuadev-hub-app 7.0.0 → 7.0.3

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 +181 -177
  2. package/install.js +1 -1
  3. package/package.json +38 -38
package/README.md CHANGED
@@ -1,177 +1,181 @@
1
- ---
2
- license: other
3
- language:
4
- - en
5
- tags:
6
- - code-analysis
7
- - static-analysis
8
- - javascript
9
- - electron
10
- - emoji-cleaner
11
- - junk-sweeper
12
- - plugin-management
13
- - desktop-app
14
- - electron-app
15
- - security
16
- ---
17
- # Chahuadev Hub
18
-
19
- # @chahuadev/chahuadev-hub-app
20
-
21
- **Chahuadev Hub** — The official desktop hub by Chahuadev. Browse repositories, download apps, explore npm packages, and chat with the community — all in one dark-mode Electron app.
22
-
23
- <div align="center">
24
-
25
- <p align="center">
26
- <img src="https://huggingface.co/datasets/chahuadev/chahuadev-png/resolve/main/chahuadev-hub.png" width="600" alt="Chahuadev Hub">
27
- </p>
28
-
29
- <p align="center">
30
- <a href="https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app"><img src="https://img.shields.io/npm/v/@chahuadev/chahuadev-hub-app?style=for-the-badge&color=blue" alt="NPM Version"></a>
31
- <a href="https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app"><img src="https://img.shields.io/npm/dt/@chahuadev/chahuadev-hub-app?style=for-the-badge&color=success" alt="NPM Downloads"></a>
32
- <img src="https://img.shields.io/badge/Platform-Windows%20%7C%20Linux-0078D4?style=for-the-badge" alt="Windows | Linux">
33
- <a href="LICENSE.md"><img src="https://img.shields.io/badge/License-Non--Commercial-blue?style=for-the-badge" alt="Non-Commercial License"></a>
34
- </p>
35
-
36
- </div>
37
-
38
- ---
39
-
40
- ## ⚙️ Installation
41
-
42
- > **Requires Node.js 18+.** Use `--foreground-scripts` to see install progress.
43
-
44
- ### 🪟 Windows — Global Install
45
-
46
- ```bash
47
- npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
48
-
49
- ```
50
- > The installer auto-downloads the correct binary for your platform. Use `--foreground-scripts` to see the download progress bar.
51
-
52
- ---
53
-
54
- ### 🐧 Linux — Global Install
55
-
56
- Linux requires `sudo` for global npm packages:
57
-
58
- ```bash
59
- sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
60
- ```
61
-
62
- > **Alternative (no sudo required):** Set npm prefix to your home folder first:
63
- > ```bash
64
- > mkdir -p ~/.npm-global
65
- > npm config set prefix '~/.npm-global'
66
- > echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
67
- > source ~/.bashrc
68
- > ```
69
- > Then install without sudo:
70
- > ```bash
71
- > npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
72
- > ```
73
-
74
- ### Launch
75
-
76
- ```bash
77
- chahuadev-hub
78
- ```
79
-
80
- > **Note:** Downloaded apps are saved automatically to your `Downloads/ChahuadevHub` folder.
81
-
82
- ### 🐧 Running the AppImage on Linux / WSL2 (Ubuntu)
83
-
84
- First install the required system libraries (one-time setup):
85
-
86
- ```bash
87
- sudo apt-get update && sudo apt-get install -y \
88
- libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 \
89
- libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 \
90
- libxrandr2 libgbm1 libasound2
91
- ```
92
-
93
- Then run the AppImage:
94
-
95
- ```bash
96
- chmod +x "Chahuadev-Hub.AppImage"
97
- DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 \
98
- ./"Chahuadev-Hub.AppImage" \
99
- --appimage-extract-and-run --no-sandbox --disable-gpu
100
- ```
101
-
102
- > **WSL2 tip:** Copy to WSL native filesystem first:
103
- > ```bash
104
- > # Path after: npm install -g @chahuadev/chahuadev-hub-app
105
- > # (no sudo)
106
- >
107
- > cp ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
108
- >
109
- > # (with sudo)
110
- > # cp /usr/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
111
- >
112
- > chmod +x /tmp/ChahuadevHub.AppImage
113
- > DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 /tmp/ChahuadevHub.AppImage \
114
- > --appimage-extract-and-run --no-sandbox --disable-gpu
115
- > ```
116
-
117
- ---
118
-
119
-
120
- ---
121
-
122
- ## Troubleshooting
123
-
124
- ### `node\r: No such file or directory` (Linux)
125
-
126
- The entry script has Windows line endings (CRLF). Reinstall to fix:
127
-
128
- ```bash
129
- rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
130
- npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
131
- ```
132
-
133
- ### `ENOTEMPTY` error on Linux
134
-
135
- A previous failed install left files behind. Clear them first:
136
-
137
- ```bash
138
- # With npm-global prefix
139
- rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
140
- npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
141
-
142
- # With sudo
143
- sudo rm -rf /usr/lib/node_modules/@chahuadev/chahuadev-hub-app
144
- sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
145
- ```
146
-
147
- ### `chahuadev-hub` command not found
148
-
149
- Make sure `~/.npm-global/bin` is in your PATH:
150
-
151
- ```bash
152
- echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
153
- source ~/.bashrc
154
- chahuadev-hub
155
- ```
156
-
157
- ---
158
-
159
- ## What It Does
160
-
161
- Chahuadev Hub is an Electron desktop app that brings everything from the Chahuadev ecosystem into one place.
162
-
163
- ### Features
164
-
165
- - 📊 **Dashboard** — Live stats and a full landing page webview with real-time download counts
166
- - 📦 **npm Packages** — Browse all `@chahuadev` packages with version, description, and monthly download stats
167
- - 🤗 **Hugging Face** — Explore all public datasets, models, and spaces with file browser and commit history
168
- - ⬇️ **Downloads** — Download and manage official Chahuadev desktop apps (Windows & Linux) with progress tracking
169
- - 💬 **Community Chat** — Real-time chat via Firebase with auto-translation across 11 languages
170
- - 🌐 **Cross-Platform** — Windows & Linux
171
-
172
- ---
173
-
174
- ## 🔗 Links
175
-
176
- - [npm](https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app)
177
- - [Hugging Face](https://huggingface.co/chahuadev)
1
+ ---
2
+ license: other
3
+ language:
4
+ - en
5
+ tags:
6
+ - code-analysis
7
+ - static-analysis
8
+ - javascript
9
+ - electron
10
+ - emoji-cleaner
11
+ - junk-sweeper
12
+ - plugin-management
13
+ - desktop-app
14
+ - electron-app
15
+ - security
16
+ ---
17
+ # Chahuadev Hub
18
+
19
+ # @chahuadev/chahuadev-hub-app
20
+
21
+ **Chahuadev Hub** — The official desktop hub by Chahuadev. Browse repositories, download apps, explore npm packages, and chat with the community — all in one dark-mode Electron app.
22
+
23
+ <div align="center">
24
+
25
+ <p align="center">
26
+ <img src="https://huggingface.co/datasets/chahuadev/chahuadev-png/resolve/main/chahuadev-hub.png" width="600" alt="Chahuadev Hub">
27
+ </p>
28
+
29
+ <p align="center">
30
+ <a href="https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app"><img src="https://img.shields.io/npm/v/@chahuadev/chahuadev-hub-app?style=for-the-badge&color=blue" alt="NPM Version"></a>
31
+ <a href="https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app"><img src="https://img.shields.io/npm/dt/@chahuadev/chahuadev-hub-app?style=for-the-badge&color=success" alt="NPM Downloads"></a>
32
+ <img src="https://img.shields.io/badge/Platform-Windows%20%7C%20Linux-0078D4?style=for-the-badge" alt="Windows | Linux">
33
+ <a href="LICENSE.md"><img src="https://img.shields.io/badge/License-Non--Commercial-blue?style=for-the-badge" alt="Non-Commercial License"></a>
34
+ </p>
35
+
36
+ </div>
37
+
38
+ ---
39
+
40
+ ## ⚙️ Installation
41
+
42
+ > **Requires Node.js 18+.** Use `--foreground-scripts` to see install progress.
43
+
44
+ ### 🪟 Windows — Global Install
45
+
46
+ ```bash
47
+ npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
48
+
49
+ ```
50
+ > The installer auto-downloads the correct binary for your platform. Use `--foreground-scripts` to see the download progress bar.
51
+
52
+ ---
53
+
54
+ ### 🐧 Linux — Global Install
55
+
56
+ Linux requires `sudo` for global npm packages:
57
+
58
+ ```bash
59
+ sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
60
+ ```
61
+
62
+ > **Alternative (no sudo required):** Set npm prefix to your home folder first:
63
+ > ```bash
64
+ > mkdir -p ~/.npm-global
65
+ > npm config set prefix '~/.npm-global'
66
+ > echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
67
+ > source ~/.bashrc
68
+ > ```
69
+ > Then install without sudo:
70
+ > ```bash
71
+ > npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
72
+ > ```
73
+
74
+ ### Launch
75
+
76
+ ```bash
77
+ chahuadev-hub
78
+ ```
79
+
80
+ > **Note:** Downloaded apps are saved automatically to your `Downloads/ChahuadevHub` folder.
81
+
82
+ ### 🐧 Running the AppImage on Linux / WSL2 (Ubuntu)
83
+
84
+ First install the required system libraries (one-time setup):
85
+
86
+ ```bash
87
+ sudo apt-get update && sudo apt-get install -y \
88
+ libnss3 libatk1.0-0 libatk-bridge2.0-0 libcups2 \
89
+ libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 \
90
+ libxrandr2 libgbm1 libasound2
91
+ ```
92
+
93
+ Then run the AppImage:
94
+
95
+ ```bash
96
+ chmod +x "Chahuadev-Hub.AppImage"
97
+ DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 \
98
+ ./"Chahuadev-Hub.AppImage" \
99
+ --appimage-extract-and-run --no-sandbox --disable-gpu
100
+ ```
101
+
102
+ > **WSL2 tip:** Copy to WSL native filesystem first:
103
+ > ```bash
104
+ > # Path after: npm install -g @chahuadev/chahuadev-hub-app
105
+ > # (no sudo)
106
+ >
107
+ > cp ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
108
+ >
109
+ > # (with sudo)
110
+ > # cp /usr/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
111
+ >
112
+ > chmod +x /tmp/ChahuadevHub.AppImage
113
+ > DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 /tmp/ChahuadevHub.AppImage \
114
+ > --appimage-extract-and-run --no-sandbox --disable-gpu
115
+ > ```
116
+
117
+ ---
118
+
119
+
120
+ ---
121
+
122
+ ## Troubleshooting
123
+
124
+ ### `node\r: No such file or directory` (Linux)
125
+
126
+ The entry script has Windows line endings (CRLF). Reinstall to fix:
127
+
128
+ ```bash
129
+ rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
130
+ npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
131
+ ```
132
+
133
+ ### `ENOTEMPTY` error on Linux
134
+
135
+ A previous failed install left files behind. Clear them first:
136
+
137
+ ```bash
138
+ # With npm-global prefix
139
+ rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
140
+ npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
141
+
142
+ # With sudo
143
+ sudo rm -rf /usr/lib/node_modules/@chahuadev/chahuadev-hub-app
144
+ sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
145
+ ```
146
+
147
+ ### `chahuadev-hub` command not found
148
+
149
+ Make sure `~/.npm-global/bin` is in your PATH:
150
+
151
+ ```bash
152
+ echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
153
+ source ~/.bashrc
154
+ chahuadev-hub
155
+ ```
156
+
157
+ ---
158
+
159
+ ## What It Does
160
+
161
+ Chahuadev Hub is an Electron desktop app that brings everything from the Chahuadev ecosystem into one place.
162
+
163
+ ### Features
164
+
165
+ - 📊 **Dashboard** — Live stats and a full landing page webview with real-time download counts
166
+ - 📦 **npm Packages** — Browse all `@chahuadev` packages with version, description, and monthly download stats
167
+ - 🤗 **Hugging Face** — Explore all public datasets, models, and spaces with file browser and commit history
168
+ - ⬇️ **Downloads** — Download and manage official Chahuadev desktop apps (Windows & Linux) with progress tracking
169
+ - 💬 **Community Chat** — Real-time chat via Firebase with auto-translation across 11 languages
170
+ - 🌐 **Cross-Platform** — Windows & Linux
171
+
172
+ ---
173
+
174
+ ## 🔗 Links
175
+
176
+ - [npm](https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app)
177
+ - [Hugging Face](https://huggingface.co/chahuadev)
178
+ ## 💖 Support the Project
179
+ Chahuadev tools are 100% free and open-source. If this project helped you save time, please consider buying me a coffee to help keep the servers running!
180
+
181
+ <a href="https://www.buymeacoffee.com/chahuadevm" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
package/install.js CHANGED
@@ -7,7 +7,7 @@ const os = require('os');
7
7
  const platform = os.platform();
8
8
  const arch = os.arch();
9
9
 
10
- const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev/hub';
10
+ const R2_BASE = 'https://r2.chahuadev.com/hub';
11
11
 
12
12
  let downloadUrl = '';
13
13
  let fileName = '';
package/package.json CHANGED
@@ -1,39 +1,39 @@
1
1
  {
2
- "name": "@chahuadev/chahuadev-hub-app",
3
- "version": "7.0.0",
4
- "description": "Chahuadev Hub” Official app launcher and distribution hub by Chahuadev",
5
- "main": "index.js",
6
- "bin": {
7
- "chahuadev-hub": "index.js"
8
- },
9
- "scripts": {
10
- "postinstall": "node install.js"
11
- },
12
- "files": [
13
- "index.js",
14
- "install.js"
15
- ],
16
- "keywords": [
17
- "chahuadev",
18
- "chahuadev-hub",
19
- "app-launcher",
20
- "distribution",
21
- "hub",
22
- "electron",
23
- "python"
24
- ],
25
- "author": {
26
- "name": "Chahuadev",
27
- "email": "chahuadev@gmail.com",
28
- "url": "https://huggingface.co/chahuadev"
29
- },
30
- "license": "SEE LICENSE IN LICENSE.md",
31
- "publishConfig": {
32
- "access": "public"
33
- },
34
- "repository": {
35
- "type": "git",
36
- "url": "https://huggingface.co/datasets/chahuadev/chahuadev-hub"
37
- },
38
- "homepage": "https://huggingface.co/chahuadev"
39
- }
2
+ "name": "@chahuadev/chahuadev-hub-app",
3
+ "version": "7.0.3",
4
+ "description": "Chahuadev Hub” Official app launcher and distribution hub by Chahuadev",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "chahuadev-hub": "index.js"
8
+ },
9
+ "scripts": {
10
+ "postinstall": "node install.js"
11
+ },
12
+ "files": [
13
+ "index.js",
14
+ "install.js"
15
+ ],
16
+ "keywords": [
17
+ "chahuadev",
18
+ "chahuadev-hub",
19
+ "app-launcher",
20
+ "distribution",
21
+ "hub",
22
+ "electron",
23
+ "python"
24
+ ],
25
+ "author": {
26
+ "name": "Chahuadev",
27
+ "email": "chahuadev@gmail.com",
28
+ "url": "https://huggingface.co/chahuadev"
29
+ },
30
+ "license": "SEE LICENSE IN LICENSE.md",
31
+ "publishConfig": {
32
+ "access": "public"
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "https://huggingface.co/datasets/chahuadev/chahuadev-hub"
37
+ },
38
+ "homepage": "https://huggingface.co/chahuadev"
39
+ }