ThongCoder commited on
Commit
fd7b298
·
verified ·
1 Parent(s): a6337ea

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -5
README.md CHANGED
@@ -1,11 +1,35 @@
1
  ---
2
- title: Vscode
3
  emoji: 💻
4
- colorFrom: green
5
- colorTo: pink
6
  sdk: docker
7
- pinned: false
8
  license: mit
 
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Visual Studio Code
3
  emoji: 💻
4
+ colorFrom: blue
5
+ colorTo: indigo
6
  sdk: docker
7
+ pinned: true
8
  license: mit
9
+ short_description: An online VS Code, now equipped with compilers.
10
  ---
11
 
12
+ # VS Code Web IDE with Auto Backup
13
+
14
+ This Space runs **VS Code on the Web** with:
15
+ - Python 3.12
16
+ - C++ (gcc, g++)
17
+ - Git
18
+ - Node.js (JavaScript)
19
+ - C# (Mono + .NET SDK 8)
20
+ - Java (OpenJDK 17)
21
+
22
+ ### Auto Backup
23
+ Every 45 minutes, `/workspace` is automatically uploaded to your Hugging Face repo defined in env:
24
+
25
+ - `BACKUP_REPO` → target repo (e.g. `username/my-backup`)
26
+ - `HF_TOKEN` → your HF API token
27
+
28
+ Files are uploaded using a cache-safe trick to avoid LFS errors.
29
+
30
+ ### Usage
31
+ 1. Set secrets in Space Settings:
32
+ - `BACKUP_REPO`
33
+ - `HF_TOKEN`
34
+ 2. Launch Space → Access VS Code on port 7860.
35
+ 3. Work normally, backups run in the background.