| name | lelantos-sandbox |
| description | Guide for creating and managing Lelantos sandboxes using ComputeSDK. Use when building applications that need Lelantos provider for ComputeSDK - EU-native Firecracker microVM sandboxes (E2B-API-compatible) with full Linux environments, filesystem access, and per-port preview URLs. |
Lelantos Sandboxes with ComputeSDK
Lelantos provider for ComputeSDK - EU-native Firecracker microVM sandboxes (E2B-API-compatible) with full Linux environments, filesystem access, and per-port preview URLs.
Setup
npm install computesdk @computesdk/lelantos
Set your credentials:
E2B_API_KEY=your_e2b_api_key
E2B_API_URL=your_e2b_api_url
E2B_DOMAIN=your_e2b_domain
LELANTOS_API_KEY=your_lelantos_api_key
LELANTOS_API_URL=your_lelantos_api_url
LELANTOS_DOMAIN=your_lelantos_domain
Quick Start
import { compute } from 'computesdk';
import { lelantos } from '@computesdk/lelantos';
compute.setConfig({
provider: lelantos({
apiKey: process.env.LELANTOS_API_KEY,
apiUrl: process.env.LELANTOS_API_URL,
domain: process.env.LELANTOS_DOMAIN,
}),
});
const sandbox = await compute.sandbox.create();
const result = await sandbox.runCommand('echo "Hello from Lelantos!"');
console.log(result.stdout);
await sandbox.destroy();
You can also call the provider factory directly:
import { lelantos } from '@computesdk/lelantos';
const sdk = lelantos({
apiKey: process.env.LELANTOS_API_KEY,
apiUrl: process.env.LELANTOS_API_URL,
domain: process.env.LELANTOS_DOMAIN,
});
const sandbox = await sdk.sandbox.create();
Lelantos Configuration
interface LelantosConfig {
apiKey?: string;
domain?: string;
apiUrl?: string;
timeout?: number;
}
Full API
ComputeSDK exposes the same universal sandbox API across providers: sandbox.create(), sandbox.getById(), sandbox.destroy(), sandbox.runCommand(), sandbox.getInfo(), sandbox.getUrl(), and sandbox.filesystem.*.
Install the main skill for the complete reference:
npx skills add https://github.com/computesdk/sandbox-skills --skill computesdk
Or see https://www.computesdk.com/docs/reference/sandbox/.