@chahuadev/chahuadev-hub-app 2.0.0 → 2.0.1
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 +23 -62
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @chahuadev/chahuadev-hub-app
|
|
2
2
|
|
|
3
|
-
**Chahuadev Hub** — The official
|
|
3
|
+
**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.
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img src="https://huggingface.co/datasets/chahuadev/chahuadev-
|
|
8
|
+
<img src="https://huggingface.co/datasets/chahuadev/chahuadev-hub/resolve/main/chahuadev-hub.png" width="600" alt="Chahuadev Hub">
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
|
|
22
22
|
## ⚙️ Installation
|
|
23
23
|
|
|
24
|
-
> **
|
|
24
|
+
> **Requires Node.js 18+.** Use `--foreground-scripts` to see install progress.
|
|
25
25
|
|
|
26
26
|
### 🪟 Windows — Global Install
|
|
27
27
|
|
|
@@ -54,58 +54,39 @@ sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
|
54
54
|
```bash
|
|
55
55
|
chahuadev-hub
|
|
56
56
|
```
|
|
57
|
-
> **Note:** Downloaded apps will be automatically saved to your `Downloads/ChahuadevHub` folder.
|
|
58
57
|
|
|
59
|
-
> **
|
|
60
|
-
|
|
61
|
-
> ```bash
|
|
62
|
-
> cd ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app/bin
|
|
63
|
-
> ./chahuadev_hub
|
|
64
|
-
> ```
|
|
65
|
-
>
|
|
66
|
-
> If you installed with `sudo`, the folder may be under `/usr/local/lib/` instead:
|
|
67
|
-
> ```bash
|
|
68
|
-
> cd /usr/local/lib/node_modules/@chahuadev/chahuadev-hub-app/bin
|
|
69
|
-
> ./chahuadev_hub
|
|
70
|
-
> ```
|
|
58
|
+
> **Note:** Downloaded apps are saved automatically to your `Downloads/ChahuadevHub` folder.
|
|
59
|
+
|
|
71
60
|
---
|
|
72
61
|
|
|
73
|
-
##
|
|
62
|
+
## 🛠️ Troubleshooting
|
|
74
63
|
|
|
75
|
-
### `node\r: No such file or directory`
|
|
64
|
+
### `node\r: No such file or directory` (Linux)
|
|
76
65
|
|
|
77
|
-
|
|
78
|
-
If you're on an older version, reinstall:
|
|
66
|
+
The entry script has Windows line endings (CRLF). Reinstall to fix:
|
|
79
67
|
|
|
80
68
|
```bash
|
|
81
69
|
rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
|
|
82
70
|
npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
83
71
|
```
|
|
84
72
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
cd ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app/bin
|
|
89
|
-
./chahuadev_hub
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### ENOTEMPTY error on Linux (directory not empty)
|
|
73
|
+
### `ENOTEMPTY` error on Linux
|
|
93
74
|
|
|
94
|
-
|
|
75
|
+
A previous failed install left files behind. Clear them first:
|
|
95
76
|
|
|
96
77
|
```bash
|
|
97
|
-
#
|
|
78
|
+
# With npm-global prefix
|
|
98
79
|
rm -rf ~/.npm-global/lib/node_modules/@chahuadev/chahuadev-hub-app
|
|
99
80
|
npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
100
81
|
|
|
101
|
-
#
|
|
82
|
+
# With sudo
|
|
102
83
|
sudo rm -rf /usr/lib/node_modules/@chahuadev/chahuadev-hub-app
|
|
103
84
|
sudo npm install -g @chahuadev/chahuadev-hub-app --foreground-scripts --force
|
|
104
85
|
```
|
|
105
86
|
|
|
106
|
-
###
|
|
87
|
+
### `chahuadev-hub` command not found
|
|
107
88
|
|
|
108
|
-
|
|
89
|
+
Make sure `~/.npm-global/bin` is in your PATH:
|
|
109
90
|
|
|
110
91
|
```bash
|
|
111
92
|
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
|
|
@@ -113,44 +94,24 @@ source ~/.bashrc
|
|
|
113
94
|
chahuadev-hub
|
|
114
95
|
```
|
|
115
96
|
|
|
116
|
-
### `ModuleNotFoundError: No module named 'tkinter'` (Linux)
|
|
117
|
-
|
|
118
|
-
The Linux binary requires `tkinter` to be present at build time. If you see this error, the downloaded binary was built on a system without `tkinter` installed. You need to build from source:
|
|
119
|
-
|
|
120
|
-
```bash
|
|
121
|
-
# 1. Install tkinter
|
|
122
|
-
sudo apt-get install python3-tk python3-dev -y
|
|
123
|
-
|
|
124
|
-
# 2. Install Python dependencies
|
|
125
|
-
pip3 install customtkinter requests pyinstaller
|
|
126
|
-
|
|
127
|
-
# 3. Go into the project folder
|
|
128
|
-
cd /path/to/Chahuadev-Hub-Python
|
|
129
|
-
|
|
130
|
-
# 4. Build the binary
|
|
131
|
-
python3 -m PyInstaller --onefile chahuadev_hub.py
|
|
132
|
-
|
|
133
|
-
# 5. Run it
|
|
134
|
-
cd dist
|
|
135
|
-
./chahuadev_hub
|
|
136
|
-
```
|
|
137
|
-
|
|
138
97
|
---
|
|
139
98
|
|
|
140
|
-
##
|
|
99
|
+
## 🚀 What It Does
|
|
141
100
|
|
|
142
|
-
|
|
101
|
+
Chahuadev Hub is an Electron desktop app that brings everything from the Chahuadev ecosystem into one place.
|
|
143
102
|
|
|
144
103
|
### ✨ Features
|
|
145
104
|
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
105
|
+
- 📊 **Dashboard** — Live stats and a full landing page webview with real-time download counts
|
|
106
|
+
- 📦 **npm Packages** — Browse all `@chahuadev` packages with version, description, and monthly download stats
|
|
107
|
+
- 🤗 **Hugging Face** — Explore all public datasets, models, and spaces with file browser and commit history
|
|
108
|
+
- ⬇️ **Downloads** — Download and manage official Chahuadev desktop apps (Windows & Linux) with progress tracking
|
|
109
|
+
- 💬 **Community Chat** — Real-time chat via Firebase with auto-translation across 11 languages
|
|
110
|
+
- 🌐 **Cross-Platform** — Windows & Linux
|
|
150
111
|
|
|
151
112
|
---
|
|
152
113
|
|
|
153
114
|
## 🔗 Links
|
|
154
115
|
|
|
116
|
+
- [npm](https://www.npmjs.com/package/@chahuadev/chahuadev-hub-app)
|
|
155
117
|
- [Hugging Face](https://huggingface.co/chahuadev)
|
|
156
|
-
- [PyPI](https://pypi.org/project/chahuadev-hub/)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chahuadev/chahuadev-hub-app",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Chahuadev Hub
|
|
3
|
+
"version": "2.0.1",
|
|
4
|
+
"description": "Chahuadev Hub” Official app launcher and distribution hub by Chahuadev",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"chahuadev-hub": "index.js"
|