Spaces:
Paused
Paused
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,9 +22,19 @@ This Space runs **VS Code on the Web** with a **full developer toolchain**, read
|
|
| 22 |
- **Java**: OpenJDK 17
|
| 23 |
- **C#/.NET**: .NET SDK 8.0
|
| 24 |
- **Node.js 20**: npm, yarn, pnpm, TypeScript, ts-node, nodemon
|
| 25 |
-
- **CLI Productivity Tools**: git, git-lfs, htop, fzf, ripgrep, silversearcher-ag, rsync, sqlite3, tree, jq, net-tools
|
| 26 |
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
---
|
| 30 |
|
|
@@ -37,7 +47,7 @@ Every 45 minutes, `/workspace` is automatically uploaded to your Hugging Face re
|
|
| 37 |
|
| 38 |
> ⚠️ On first launch, the backup service will attempt to restore `/workspace` from your `BACKUP_REPO`. Make sure the repo exists. If empty, a fresh workspace will be created.
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
---
|
| 43 |
|
|
@@ -49,9 +59,9 @@ Files are uploaded using a **cache-safe method** to avoid LFS errors.
|
|
| 49 |
|
| 50 |
**Notes**:
|
| 51 |
- Leaving either secret empty will **disable Auto Backup** and restore.
|
| 52 |
-
- All files are wiped on Space restart. Using
|
| 53 |
|
| 54 |
-
2. Launch the Space → Access VS Code at `http://<space-url
|
| 55 |
- No authentication by default (`--auth none`).
|
| 56 |
- Optional: enable a password via environment variables if desired.
|
| 57 |
|
|
@@ -59,10 +69,14 @@ Files are uploaded using a **cache-safe method** to avoid LFS errors.
|
|
| 59 |
|
| 60 |
---
|
| 61 |
|
| 62 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
python3 myscript.py
|
| 67 |
-
pip install <package>
|
| 68 |
-
jupyter lab
|
|
|
|
| 22 |
- **Java**: OpenJDK 17
|
| 23 |
- **C#/.NET**: .NET SDK 8.0
|
| 24 |
- **Node.js 20**: npm, yarn, pnpm, TypeScript, ts-node, nodemon
|
| 25 |
+
- **CLI Productivity Tools**: git, git-lfs, htop, fzf, ripgrep, silversearcher-ag, rsync, sqlite3, tree, jq, net-tools
|
| 26 |
|
| 27 |
+
---
|
| 28 |
+
|
| 29 |
+
### 🔒 Security Hardening
|
| 30 |
+
|
| 31 |
+
- **Bash history is disabled globally**:
|
| 32 |
+
All interactive shells inside this container are launched with:
|
| 33 |
+
- `HISTFILE` unset
|
| 34 |
+
- `HISTSIZE=0`, `HISTFILESIZE=0`
|
| 35 |
+
- `.bash_history` linked to `/dev/null`
|
| 36 |
+
|
| 37 |
+
👉 This ensures **no command history is ever logged to disk**, protecting sensitive tokens and commands.
|
| 38 |
|
| 39 |
---
|
| 40 |
|
|
|
|
| 47 |
|
| 48 |
> ⚠️ On first launch, the backup service will attempt to restore `/workspace` from your `BACKUP_REPO`. Make sure the repo exists. If empty, a fresh workspace will be created.
|
| 49 |
|
| 50 |
+
Backups are uploaded with a **cache-safe method** to avoid LFS errors.
|
| 51 |
|
| 52 |
---
|
| 53 |
|
|
|
|
| 59 |
|
| 60 |
**Notes**:
|
| 61 |
- Leaving either secret empty will **disable Auto Backup** and restore.
|
| 62 |
+
- All files are wiped on Space restart. Using either persistent storage space or the Auto Backup Service is highly recommended.
|
| 63 |
|
| 64 |
+
2. Launch the Space → Access VS Code at `http://<space-url>`
|
| 65 |
- No authentication by default (`--auth none`).
|
| 66 |
- Optional: enable a password via environment variables if desired.
|
| 67 |
|
|
|
|
| 69 |
|
| 70 |
---
|
| 71 |
|
| 72 |
+
### ⚠️ Important Notes
|
| 73 |
+
|
| 74 |
+
1. I **STRONGLY ADVISE** against putting credentials directly into the IDE. If you must use them, *remove them immediately* after use to prevent accidental leaks and misuse.
|
| 75 |
+
2. All command history is disabled for your safety — but *always treat the `/workspace` folder contents as sensitive*.
|
| 76 |
+
3. If you plan to duplicate this Space for backups, **DO NOT** make the Space public! Environment variables in Hugging Face Spaces can be exposed to anyone with container access (e.g., via `env`, `printenv`, or process inspection).
|
| 77 |
+
4. I am **NOT** responsible for any damages caused by leaked passwords/tokens from this Space — so take extreme care with your credentials.
|
| 78 |
+
|
| 79 |
+
### ℹ️ Additional Notes
|
| 80 |
|
| 81 |
+
- Since this Space is hosted remotely (not local), you may experience some latency when performing actions.
|
| 82 |
+
- This IDE is designed for collaborative coding — so feel free to invite friends and enjoy a **feature-packed online coding adventure**! 🚀
|
|
|
|
|
|
|
|
|