VibeVM 🚀
██╗ ██╗██╗██████╗ ███████╗██╗ ██╗███╗ ███╗
██║ ██║██║██╔══██╗██╔════╝██║ ██║████╗ ████║
██║ ██║██║██████╔╝█████╗ ██║ ██║██╔████╔██║
╚██╗ ██╔╝██║██╔══██╗██╔══╝ ╚██╗ ██╔╝██║╚██╔╝██║
╚████╔╝ ██║██████╔╝███████╗ ╚████╔╝ ██║ ╚═╝ ██║
╚═══╝ ╚═╝╚═════╝ ╚══════╝ ╚═══╝ ╚═╝ ╚═╝
Good Vibes, Zero Trust Required
Powered by Phala Cloud x dstack
Overview
VibeVM is a secure, lightweight development environment running in a Confidential VM (CVM) on Phala Cloud.
Quickstart
To launch in a CVM on Phala Cloud from the CLI (requires Phala Cloud API Key), clone this repo or launch the template in the Phala Cloud Templates dashboard.
# Clone the github repo
git clone https://github.com/Phala-Network/VibeVM.git
cd VibeVM
# Edit .env file for your environment
cp .env.example .env
# Get your Phala Cloud API key at https://cloud.phala.network/dashboard/tokens
export PHALA_CLOUD_API_KEY=sk-sasdf
phala deploy -e .env --vcpu 4 --memory 8192 --disk-size 80 docker-compose.yaml
Example CLI Output
Deploying CVM vibevm...
CVM created successfully!
CVM ID: 0ae6f811-35a8-4183-a229-93bccb264403
Name: vibevm
App ID: 9c4e3f6bda4ab645d784109e5b0d192654d30f5a
Dashboard URL: https://cloud.phala.network/dashboard/cvms/0ae6f811-35a8-4183-a229-93bccb264403
cURL: Direct API Access
# Get TEE information
curl --unix-socket /var/run/dstack.sock \
http://localhost/info | jq .
# Derive a key in TEE
curl --unix-socket /var/run/dstack.sock \
-X POST http://localhost/prpc/DeriveKey \
-H "Content-Type: application/json" \
-d '{"path": "/my-app/key"}' | jq .
Support & Community
Related Projects
- 🔒 Dstack TEE - Trusted Execution Environment SDK
- 🌐 Phala Cloud - Private Compute Cloud Service to Host dstack CVMs
Contributing
We welcome contributions! If you've built something cool with VibeVM or have improvements to suggest:
- Fork this repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
🚀 Sign up for Phala Cloud • 📖 Read the Docs • ⭐ Star on GitHub
Built with ❤️ by the Phala Network community
**Powered by Dstack TEE