@chahuadev/chahuadev-hub-app 2.0.0 → 3.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.
Files changed (3) hide show
  1. package/LICENSE.md +54 -0
  2. package/README.md +23 -62
  3. package/package.json +3 -3
package/LICENSE.md ADDED
@@ -0,0 +1,54 @@
1
+ # CHAHUADEV NON-COMMERCIAL & ACCEPTABLE USE LICENSE
2
+
3
+ Copyright (c) 2026 Chahuadev. All rights reserved.
4
+
5
+ This software and its source code are provided for educational, personal, and open-source community use. By downloading, accessing, or using this software, you agree to the following conditions:
6
+
7
+ ---
8
+
9
+ ## 1. FREE DISTRIBUTION ONLY (การแจกจ่ายต้องฟรีเท่านั้น)
10
+
11
+ You are permitted to download, copy, modify, and distribute the software and its source code, provided that such distribution is **strictly free of charge**.
12
+
13
+ ---
14
+
15
+ ## 2. NO COMMERCIAL USE (ห้ามใช้หรือดัดแปลงเพื่อการค้า)
16
+
17
+ You may **NOT** use, modify, distribute, or incorporate this software (or any of its parts) for any commercial purposes. This includes, but is not limited to:
18
+
19
+ - Selling the software or derived versions.
20
+ - Locking the software behind a paywall or subscription.
21
+ - Using the software to provide commercial services.
22
+ - Placing advertisements within the software.
23
+
24
+ ---
25
+
26
+ ## 3. ACCEPTABLE USE / NO MALICIOUS USE (ห้ามใช้ในทางที่ผิด)
27
+
28
+ This software must not be used for any illegal, malicious, or harmful activities. You are strictly prohibited from using this codebase to:
29
+
30
+ - Create malware, ransomware, or any destructive software.
31
+ - Bypass security systems, steal data, or perform unauthorized access.
32
+ - Violate any local, national, or international laws.
33
+
34
+ If the software is found to be used in violation of these terms, your license to use it is immediately and permanently terminated without notice.
35
+
36
+ ---
37
+
38
+ ## 4. ATTRIBUTION (ต้องแสดงแหล่งที่มา)
39
+
40
+ Any permitted distribution or modification must clearly credit the original author:
41
+
42
+ > Original work by **Chahuadev** — https://chahuadev.com
43
+
44
+ You may not remove, obscure, or alter any copyright notices or attribution present in the source code or documentation.
45
+
46
+ ---
47
+
48
+ ## 5. DISCLAIMER OF LIABILITY (ข้อสงวนสิทธิ์ความรับผิดชอบ)
49
+
50
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
51
+
52
+ ---
53
+
54
+ For questions regarding licensing, contact: **Chahuadev** via https://chahuadev.com
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # @chahuadev/chahuadev-hub-app
2
2
 
3
- **Chahuadev Hub** — The official app launcher and distribution hub by Chahuadev.
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-framework-binaries/resolve/main/chahuadev_hub.png" width="600" alt="Chahuadev Hub — App Launcher">
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
- > **Auto-download:** On install, the binary for your platform is downloaded automatically. Use `--foreground-scripts` to see the progress bar.
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
- > **If the command fails, go into the bin folder and run it directly:**
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
- ## �️ Troubleshooting
62
+ ## 🛠️ Troubleshooting
74
63
 
75
- ### `node\r: No such file or directory` error (Linux)
64
+ ### `node\r: No such file or directory` (Linux)
76
65
 
77
- This means the installed `index.js` has Windows line endings (CRLF). Fixed in v1.0.4+.
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
- Or run the binary directly without going through the Node wrapper:
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
- If you see `ENOTEMPTY` during install, a previous failed install left files behind. Clear them first:
75
+ A previous failed install left files behind. Clear them first:
95
76
 
96
77
  ```bash
97
- # If installed with npm-global prefix
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
- # If installed with sudo
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
- ### Executable not found after install
87
+ ### `chahuadev-hub` command not found
107
88
 
108
- If `chahuadev-hub` command is not found after install, make sure `~/.npm-global/bin` is in your PATH:
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
- ## �🚀 What It Does
99
+ ## 🚀 What It Does
141
100
 
142
- Download and manage all Chahuadev apps in one place including **Chahuadev Framework**, **Emoji Cleaner**, and **Junk Sweeper** through a sleek dark-mode GUI.
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
- - 🌐 **Cloud Sync** — Fetches the latest app list directly from the Chahuadev Hugging Face repository
147
- - ⬇️ **Smart Download** — Real-time progress bar with file size and integrity verification
148
- - 🪟 **Windows Support** — Native `.exe` installer for Windows 64-bit and 32-bit
149
- - 🔍 **Filtering** — Sort available apps by platform
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.0",
4
- "description": "Chahuadev Hub โ€” Official app launcher and distribution hub by Chahuadev",
3
+ "version": "3.0.0",
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"
@@ -27,7 +27,7 @@
27
27
  "email": "chahuadev@gmail.com",
28
28
  "url": "https://huggingface.co/chahuadev"
29
29
  },
30
- "license": "MIT",
30
+ "license": "SEE LICENSE IN LICENSE.md",
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },