Skip to content

Latest commit

 

History

History

basic-javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Desktop Sandbox JavaScript Example

This is a basic example of how to use the Desktop Sandbox JavaScript SDK with streaming and moving mouse around inside an Electron app.

How to run

1. Create .env file

cp .env.example .env

2. Set E2B_API_KEY in .env file

Get your API key at e2b.dev/dashboard.

E2B_API_KEY="your_api_key"

3. Install dependencies

npm install

4. Run

npm start