@chahuadev/chahuadev-hub-app 3.0.4 → 7.0.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 +34 -8
- package/install.js +4 -1
- package/package.json +39 -39
package/README.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
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
|
+
|
|
1
19
|
# @chahuadev/chahuadev-hub-app
|
|
2
20
|
|
|
3
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.
|
|
@@ -12,7 +30,7 @@
|
|
|
12
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>
|
|
13
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>
|
|
14
32
|
<img src="https://img.shields.io/badge/Platform-Windows%20%7C%20Linux-0078D4?style=for-the-badge" alt="Windows | Linux">
|
|
15
|
-
<img src="https://img.shields.io/badge/License-
|
|
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>
|
|
16
34
|
</p>
|
|
17
35
|
|
|
18
36
|
</div>
|
|
@@ -27,7 +45,11 @@
|
|
|
27
45
|
|
|
28
46
|
```bash
|
|
29
47
|
npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
48
|
+
|
|
30
49
|
```
|
|
50
|
+
> The installer auto-downloads the correct binary for your platform. Use `--foreground-scripts` to see the download progress bar.
|
|
51
|
+
|
|
52
|
+
---
|
|
31
53
|
|
|
32
54
|
### 🐧 Linux — Global Install
|
|
33
55
|
|
|
@@ -49,7 +71,7 @@ sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
|
49
71
|
> npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
50
72
|
> ```
|
|
51
73
|
|
|
52
|
-
###
|
|
74
|
+
### Launch
|
|
53
75
|
|
|
54
76
|
```bash
|
|
55
77
|
chahuadev-hub
|
|
@@ -57,9 +79,7 @@ chahuadev-hub
|
|
|
57
79
|
|
|
58
80
|
> **Note:** Downloaded apps are saved automatically to your `Downloads/ChahuadevHub` folder.
|
|
59
81
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
## � Running the AppImage on Linux / WSL2 (Ubuntu)
|
|
82
|
+
### 🐧 Running the AppImage on Linux / WSL2 (Ubuntu)
|
|
63
83
|
|
|
64
84
|
First install the required system libraries (one-time setup):
|
|
65
85
|
|
|
@@ -83,9 +103,12 @@ DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 \
|
|
|
83
103
|
> ```bash
|
|
84
104
|
> # Path after: npm install -g @chahuadev/chahuadev-hub-app
|
|
85
105
|
> # (no sudo)
|
|
106
|
+
>
|
|
86
107
|
> cp ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
|
|
108
|
+
>
|
|
87
109
|
> # (with sudo)
|
|
88
110
|
> # cp /usr/lib/node_modules/@chahuadev/chahuadev-hub-app/bin/Chahuadev-Hub.AppImage /tmp/ChahuadevHub.AppImage
|
|
111
|
+
>
|
|
89
112
|
> chmod +x /tmp/ChahuadevHub.AppImage
|
|
90
113
|
> DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 /tmp/ChahuadevHub.AppImage \
|
|
91
114
|
> --appimage-extract-and-run --no-sandbox --disable-gpu
|
|
@@ -93,7 +116,10 @@ DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 \
|
|
|
93
116
|
|
|
94
117
|
---
|
|
95
118
|
|
|
96
|
-
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## Troubleshooting
|
|
97
123
|
|
|
98
124
|
### `node\r: No such file or directory` (Linux)
|
|
99
125
|
|
|
@@ -130,11 +156,11 @@ chahuadev-hub
|
|
|
130
156
|
|
|
131
157
|
---
|
|
132
158
|
|
|
133
|
-
##
|
|
159
|
+
## What It Does
|
|
134
160
|
|
|
135
161
|
Chahuadev Hub is an Electron desktop app that brings everything from the Chahuadev ecosystem into one place.
|
|
136
162
|
|
|
137
|
-
###
|
|
163
|
+
### Features
|
|
138
164
|
|
|
139
165
|
- 📊 **Dashboard** — Live stats and a full landing page webview with real-time download counts
|
|
140
166
|
- 📦 **npm Packages** — Browse all `@chahuadev` packages with version, description, and monthly download stats
|
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';
|
|
10
|
+
const R2_BASE = 'https://pub-419d22521da042dfb27d1f404b3eb8a6.r2.dev/hub';
|
|
11
11
|
|
|
12
12
|
let downloadUrl = '';
|
|
13
13
|
let fileName = '';
|
|
@@ -18,6 +18,9 @@ if (platform === 'win32') {
|
|
|
18
18
|
} else if (platform === 'linux') {
|
|
19
19
|
downloadUrl = `${R2_BASE}/Chahuadev-Hub.AppImage`;
|
|
20
20
|
fileName = 'Chahuadev-Hub.AppImage';
|
|
21
|
+
} else if (platform === 'darwin') {
|
|
22
|
+
downloadUrl = `${R2_BASE}/Chahuadev-Hub`;
|
|
23
|
+
fileName = 'Chahuadev-Hub';
|
|
21
24
|
} else {
|
|
22
25
|
console.warn(`Chahuadev Hub does not support ${platform} ${arch} yet.`);
|
|
23
26
|
process.exit(0);
|
package/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
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
|
+
}
|