kspchary commited on
Commit
975bf36
·
verified ·
1 Parent(s): d2b47e6

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -0
README.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Vibe Coder Free
3
+ emoji: 🚀
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: docker
7
+ app_file: app.py
8
+ pinned: false
9
+ ---
10
+
11
+ # Vibe Coding Backend (100% FREE)
12
+
13
+ This is a premium FastAPI backend designed for "Vibe Coding" applications.
14
+
15
+ ## Deployment on Hugging Face Spaces (100% FREE)
16
+
17
+ This backend uses the **Hugging Face Serverless Inference API**, which means you don't pay for tokens or GPU time. It is 100% free.
18
+
19
+ 1. **Create a New Space**:
20
+ - Go to [huggingface.co/new-space](https://huggingface.co/new-space).
21
+ - Select **Docker** as the SDK.
22
+ - Choose a name (e.g., `vibe-coding-free`).
23
+
24
+ 2. **Add Files**:
25
+ - Upload `app.py`, `index.html`, `Dockerfile`, and `requirements.txt`.
26
+ - **Crucial**: Make sure this `README.md` is also uploaded as it contains the Space configuration!
27
+
28
+ 3. **Set your FREE Token**:
29
+ - In your Space's **Settings**, go to **Variables and Secrets**.
30
+ - Add a new **Secret**:
31
+ - Key: `HF_TOKEN`
32
+ - Value: your_hf_token (Get it for free at [huggingface.co/settings/tokens](https://huggingface.co/settings/tokens))
33
+
34
+ ## API Usage
35
+ - Your backend will be available at `https://your-username-vibe-coder-free.hf.space`.
36
+ - Use the `/vibe` endpoint with a POST request to generate code.
37
+
38
+ ## Features
39
+ - **100% Free**: No DeepSeek credits needed.
40
+ - **Unlimited Usage**: Powered by HF Serverless.
41
+ - **Streaming Support**: Get real-time code generation.
42
+ - **CORS Enabled**: Ready to be called from any frontend.