n8n-nodes-daytona
v0.1.2
Published
n8n community node for Daytona sandbox management and code execution
Downloads
172
Maintainers
Readme
A community node for n8n that integrates with the Daytona API. Create and manage sandboxes, execute code, handle snapshots, volumes, and more.
API Coverage
The table below shows which endpoints are currently implemented:
| API Resource | Status | Operations | | ------------------- | ------- | ----------------------------------------------------------------------------------------------------------------- | | Sandbox | ✅ Full | Create, Delete, Get, Get Many, Start, Stop | | Code Execution | ✅ Full | Run Code, Run Command | | Runner | ✅ Full | Create, Delete, Get, Get by Sandbox ID, Get Many, Set Draining, Set Scheduling | | User | ✅ Full | Create, Enroll in SMS MFA, Get, Get Account Providers, Get Many, Get Me, Link Account, Regenerate Key Pair, Unlink Account | | Snapshot | ✅ Full | Activate, Create, Deactivate, Delete, Get, Get Many | | Volume | ✅ Full | Create, Delete, Get, Get Many | | Docker Registry | ✅ Full | Create, Delete, Get, Get Many, Set Default, Update | | API Key | ✅ Full | Create, Delete, Get, Get Current, Get Many | | Organization | ✅ Full | Create, Delete, Get, Get Many |
Installation
- Make a new workflow or open an existing one
- Open the nodes panel by selecting + or pressing Tab
- Search for Daytona
- Select Install to install the node for your instance
Credentials
- Get your API key from the Daytona Dashboard
- In n8n, go to Credentials > Add credential
- Search for Daytona API and paste your key
Resources
| Operation | Description | | --------- | ------------------------------------ | | Create | Create a new sandbox | | Delete | Remove a sandbox | | Get | Retrieve sandbox details | | Get Many | List sandboxes | | Start | Start a stopped sandbox | | Stop | Stop a running sandbox |
| Operation | Description | | ----------- | ---------------------------------- | | Run Code | Execute code in a sandbox | | Run Command | Run a shell command in a sandbox |
| Operation | Description | | ------------------ | -------------------------------------- | | Create | Create a new runner | | Delete | Remove a runner | | Get | Retrieve runner details | | Get by Sandbox ID | Get the runner for a specific sandbox | | Get Many | List runners | | Set Draining | Enable or disable runner draining | | Set Scheduling | Enable or disable runner scheduling |
| Operation | Description | | ---------------------- | ------------------------------------ | | Create | Create a new user | | Enroll in SMS MFA | Enroll a user in SMS-based MFA | | Get | Retrieve user details | | Get Account Providers | List linked account providers | | Get Many | List users | | Get Me | Get the current authenticated user | | Link Account | Link an external account provider | | Regenerate Key Pair | Regenerate a user's key pair | | Unlink Account | Unlink an external account provider |
| Operation | Description | | ---------- | ------------------------------ | | Activate | Activate a snapshot | | Create | Create a new snapshot | | Deactivate | Deactivate a snapshot | | Delete | Remove a snapshot | | Get | Retrieve snapshot details | | Get Many | List snapshots |
| Operation | Description | | --------- | ------------------------- | | Create | Create a new volume | | Delete | Remove a volume | | Get | Retrieve volume details | | Get Many | List volumes |
| Operation | Description | | ----------- | ---------------------------------- | | Create | Add a Docker registry | | Delete | Remove a registry | | Get | Retrieve registry details | | Get Many | List registries | | Set Default | Set a registry as default | | Update | Modify registry settings |
| Operation | Description | | ----------- | -------------------------------- | | Create | Create a new API key | | Delete | Revoke an API key | | Get | Retrieve API key details | | Get Current | Get the currently used API key | | Get Many | List API keys |
| Operation | Description | | --------- | -------------------------------- | | Create | Create a new organization | | Delete | Remove an organization | | Get | Retrieve organization details | | Get Many | List organizations |
Development
git clone https://github.com/hansdoebel/n8n-nodes-daytona.git
cd n8n-nodes-daytona
npm install
npm run build
npm run lint