ارو میاد روی فضای برنامه.configuration error
Browse filesMissing configuration in READMEدرستش کن - Follow Up Deployment
- README.md +73 -20
- prompts.txt +3 -1
README.md
CHANGED
|
@@ -12,44 +12,97 @@ pinned: false
|
|
| 12 |
|
| 13 |
# DeepSite-Termux-App-Builder
|
| 14 |
|
| 15 |
-
|
| 16 |
|
| 17 |
-
## Features
|
| 18 |
|
| 19 |
-
- Bilingual UI (English/Persian)
|
| 20 |
-
-
|
| 21 |
-
- Real-time
|
| 22 |
-
- AutoFix error
|
| 23 |
-
- Termux &
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
-
##
|
| 26 |
|
| 27 |
-
1.
|
| 28 |
```bash
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
pip install -r requirements.txt
|
| 31 |
```
|
| 32 |
|
| 33 |
-
2. Clone
|
| 34 |
```bash
|
| 35 |
-
git clone https://huggingface.co/spaces/username/DeepSite-Termux-App-Builder
|
| 36 |
cd DeepSite-Termux-App-Builder
|
| 37 |
```
|
| 38 |
|
| 39 |
-
3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
```bash
|
| 41 |
python app.py
|
| 42 |
```
|
| 43 |
|
| 44 |
-
## Usage
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
-
##
|
|
|
|
| 53 |
|
| 54 |
If you encounter connection issues:
|
| 55 |
- Ensure Termux has storage permission
|
|
|
|
| 12 |
|
| 13 |
# DeepSite-Termux-App-Builder
|
| 14 |
|
| 15 |
+
🚀 Professional AI App Builder for Termux & Android with Hugging Face Integration
|
| 16 |
|
| 17 |
+
## 🔥 Key Features
|
| 18 |
|
| 19 |
+
- 🌐 Bilingual UI (English/Persian)
|
| 20 |
+
- 🤖 DeepSeek-V3.1 & multiple model support
|
| 21 |
+
- 📊 Real-time D3.js performance monitoring
|
| 22 |
+
- 🔧 AutoFix error correction system
|
| 23 |
+
- 📱 Termux integration & APK export
|
| 24 |
+
- 🔄 Model switching & configuration
|
| 25 |
+
- 📝 Code generation with syntax highlighting
|
| 26 |
+
- Connection status indicators
|
| 27 |
|
| 28 |
+
## ⚙️ Configuration
|
| 29 |
|
| 30 |
+
1. Create `.env` file with your Hugging Face token:
|
| 31 |
```bash
|
| 32 |
+
HF_TOKEN=your_huggingface_token_here
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
2. Set Termux permissions:
|
| 36 |
+
```bash
|
| 37 |
+
termux-setup-storage
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
## 📦 Installation
|
| 41 |
+
|
| 42 |
+
1. Install dependencies in Termux:
|
| 43 |
+
```bash
|
| 44 |
+
pkg update && pkg upgrade
|
| 45 |
+
pkg install python git cmake
|
| 46 |
+
pip install --upgrade pip
|
| 47 |
pip install -r requirements.txt
|
| 48 |
```
|
| 49 |
|
| 50 |
+
2. Clone the repository:
|
| 51 |
```bash
|
| 52 |
+
git clone https://huggingface.co/spaces/your-username/DeepSite-Termux-App-Builder
|
| 53 |
cd DeepSite-Termux-App-Builder
|
| 54 |
```
|
| 55 |
|
| 56 |
+
3. Configure environment:
|
| 57 |
+
```bash
|
| 58 |
+
cp .env.example .env
|
| 59 |
+
# Edit .env with your credentials
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
4. Run the application:
|
| 63 |
```bash
|
| 64 |
python app.py
|
| 65 |
```
|
| 66 |
|
| 67 |
+
## ️ Usage
|
| 68 |
+
|
| 69 |
+
1. Click "Connect Termux" in sidebar and grant permissions
|
| 70 |
+
2. Enter your Hugging Face token in Settings
|
| 71 |
+
3. Select model from Models tab
|
| 72 |
+
4. Describe your app in Chat/Code tab
|
| 73 |
+
5. Generate and refine code
|
| 74 |
+
6. Save to Termux or export as APK
|
| 75 |
+
|
| 76 |
+
## Common Issues & Solutions
|
| 77 |
+
|
| 78 |
+
### Connection Errors
|
| 79 |
+
```bash
|
| 80 |
+
ERROR: Could not connect to Termux
|
| 81 |
+
```
|
| 82 |
+
✅ Solution:
|
| 83 |
+
- Ensure Termux has storage permissions
|
| 84 |
+
- Run `termux-setup-storage`
|
| 85 |
+
|
| 86 |
+
### Model Loading Failures
|
| 87 |
+
```bash
|
| 88 |
+
ERROR: Model loading failed
|
| 89 |
+
```
|
| 90 |
+
✅ Solutions:
|
| 91 |
+
- Check internet connection
|
| 92 |
+
- Verify HF_TOKEN in .env
|
| 93 |
+
- Try different model
|
| 94 |
|
| 95 |
+
### Dependency Issues
|
| 96 |
+
```bash
|
| 97 |
+
ERROR: Missing dependencies
|
| 98 |
+
```
|
| 99 |
+
✅ Solution:
|
| 100 |
+
```bash
|
| 101 |
+
pip install --force-reinstall -r requirements.txt
|
| 102 |
+
```
|
| 103 |
|
| 104 |
+
## 📜 License
|
| 105 |
+
MIT License - See [LICENSE](LICENSE) for details
|
| 106 |
|
| 107 |
If you encounter connection issues:
|
| 108 |
- Ensure Termux has storage permission
|
prompts.txt
CHANGED
|
@@ -71,4 +71,6 @@ app_file: app.py
|
|
| 71 |
pinned: false
|
| 72 |
---
|
| 73 |
|
| 74 |
-
Check out the configuration
|
|
|
|
|
|
|
|
|
| 71 |
pinned: false
|
| 72 |
---
|
| 73 |
|
| 74 |
+
Check out the configuration
|
| 75 |
+
ارو میاد روی فضای برنامه.configuration error
|
| 76 |
+
Missing configuration in READMEدرستش کن
|