V

VibeVM

Added by Phala-Network
Vibe Code in a Tamper-Proof Isolated Sandbox Running in a Confidential VM on Phala Cloud. A place to develop your applications in peace with security, privacy, and verifiability baked in. When your applications are ready, deploy them to a production CVM on Phala Cloud.
VibeVMTEEAIVSCode

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:

  1. Fork this repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. 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