File size: 2,233 Bytes
c677d26
ccb935d
 
c677d26
ccb935d
c677d26
ccb935d
 
c677d26
 
c4c43f1
 
 
 
 
c677d26
 
ccb935d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
title: SoniCoder
emoji: 🚀
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 6.14.0
python_version: '3.11'
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_scopes:
  - read-repos
  - write-repos
  - manage-repos
---

## SoniCoder

An AI-powered fullstack application generator running **entirely locally** with no external API dependencies. Powered by [MiniCPM5-1B](https://huggingface.co/openbmb/MiniCPM5-1B) (2.17 GB).

### Features

- **Local Inference**: Uses MiniCPM5-1B running locally via `transformers` — no API keys needed
- **Multi-Language Support**: Generate apps in Python, JavaScript, TypeScript, Java, Go, Rust, PHP, Ruby, C#, Swift, Kotlin, and more
- **Framework Support**: Choose from popular frameworks like React, Vue, Flask, Django, Express, Spring Boot, and others
- **Live Preview**: See generated web apps in a sandboxed iframe preview
- **Code Execution**: Run generated Python code and see output
- **Project Download**: Download generated projects as ZIP files
- **HuggingFace Deploy**: Push generated projects directly to HuggingFace Spaces

### Supported Languages & Frameworks

| Language | Frameworks |
|----------|-----------|
| Python | Flask, Django, FastAPI, Streamlit, Plain Python |
| JavaScript | React, Vue.js, Next.js, Express.js, Node.js, Vanilla JS |
| TypeScript | React, Next.js, Express.js, NestJS |
| HTML/CSS/JS | Tailwind CSS, Bootstrap, Vanilla |
| Java | Spring Boot, Maven, Gradle |
| Go | Gin, Fiber, Echo, Plain Go |
| Rust | Actix, Axum, Rocket |
| PHP | Laravel, Symfony, Plain PHP |
| Ruby | Rails, Sinatra |
| C# | ASP.NET, Blazor |
| Swift | Vapor, SwiftUI |
| Kotlin | Ktor, Spring Boot |

### Local Run

```bash
pip install -r requirements.txt
python app.py
```

The model (MiniCPM5-1B, ~2.17 GB) will be automatically downloaded on first run.

### HuggingFace Deploy

1. Generate your application
2. Go to the "Deploy" tab in the output panel
3. Enter your HuggingFace repository name and token
4. Select the Space SDK (Static, Gradio, Streamlit, or Docker)
5. Click "Push to HuggingFace"

### No External APIs

This application does not use any external API calls. All model inference runs locally using the `transformers` library with MiniCPM5-1B.