render-sandbox
Render Sandboxes with ComputeSDK
Self-host sandbox environments on Render's cloud platform through ComputeSDK's unified API. Render provides a unified cloud platform with zero infrastructure setup — ideal for self-hosted sandbox environments where you want full control over your compute.
Setup
npm install computesdk
# .env
COMPUTESDK_API_KEY=your_computesdk_api_key
RENDER_API_KEY=your_render_api_key
RENDER_OWNER_ID=your_render_owner_id
Get your ComputeSDK key at https://console.computesdk.com/register
Quick Start
import { compute } from 'computesdk';
// Auto-detects Render from environment variables
const sandbox = await compute.sandbox.create();
const result = await sandbox.runCode('print("Hello from Render!")');
console.log(result.output);
await sandbox.destroy();
Explicit Configuration
For multi-provider setups or when you want to be explicit:
import { compute } from 'computesdk';
compute.setConfig({
computesdkApiKey: process.env.COMPUTESDK_API_KEY,
provider: 'render',
render: {
apiKey: process.env.RENDER_API_KEY,
ownerId: process.env.RENDER_OWNER_ID,
}
});
const sandbox = await compute.sandbox.create();
Render Configuration Options
interface RenderConfig {
apiKey?: string; // Uses RENDER_API_KEY env var if not set
ownerId?: string; // Uses RENDER_OWNER_ID env var if not set
}
Full API
ComputeSDK provides the same API across all providers: filesystem operations, shell commands, managed servers, overlays, terminals, and client access.
Install the main skill for the complete reference:
npx skills add https://github.com/computesdk/sandbox-skills --skill computesdk
More from computesdk/sandbox-skills
e2b-sandbox
Guide for creating and managing E2B sandboxes using ComputeSDK. Use when building applications that need E2B Firecracker microVM sandboxes for secure code execution, AI code runners, or isolated development environments on E2B.
57computesdk
Guide for building sandbox applications with ComputeSDK, a unified TypeScript SDK for running untrusted code in sandboxed environments across multiple compute providers (E2B, Daytona, Vercel, Modal, Railway, Namespace, Render). Use this skill when implementing sandboxed code execution, creating isolated development environments, running LLM-generated code safely, building app builders, or integrating dynamic code execution into applications.
11daytona-sandbox
Guide for creating and managing Daytona sandboxes using ComputeSDK. Use when building applications that need Daytona development workspace environments for code execution, full-featured dev environments, or isolated coding workspaces.
10vercel-sandbox
Guide for creating and managing Vercel sandboxes using ComputeSDK. Use when building applications that need Vercel's globally distributed serverless sandbox environments for code execution with Node.js or Python runtimes.
6railway-sandbox
Guide for creating and managing Railway sandboxes using ComputeSDK. Use when building applications that need self-hosted sandbox environments on Railway's infrastructure for code execution, containerized development, or persistent services.
5modal-sandbox
Guide for creating and managing Modal sandboxes using ComputeSDK. Use when building applications that need Modal's GPU-accelerated sandbox environments for machine learning workloads, AI inference, or compute-intensive code execution.
4