daytona-electron-den

Solid

Electron and Den, desktop plus cloud, two-sandbox e2e, cloud auth, marketplace, org policy, worker proxy, provider sync, desktop handoff. Validate Electron against a Daytona Den server with unified proof.

AI & Automation 4,373 stars 848 forks Updated today NOASSERTION

Install

View on GitHub

Quality Score: 83/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Daytona Electron Against Den Use this skill for full-stack cloud behavior: one Daytona sandbox runs Den, and a separate Daytona sandbox runs the real Electron app pointed at that Den server. ## Start The Server Sandbox Use the server skill first: ```bash bash .devcontainer/test-server-on-daytona.sh <branch-or-commit> ``` Record the printed values: - `SERVER_SANDBOX` - `DEN_WEB_URL` - `DEN_API_URL` - `DEN_WORKER_PROXY_URL` Validate server health: ```bash curl -sf "$DEN_WEB_URL/api/den/health" curl -sf "$DEN_API_URL/health" ``` ## Start Electron Against Den ```bash bash .devcontainer/test-on-daytona.sh <branch-or-commit> \ --den-base-url "$DEN_WEB_URL" \ --den-api-base-url "$DEN_API_URL" \ --artifacts-volume ``` Add `--require-signin` when the expected behavior must be signed-out until cloud auth completes. Add `--record-video --recording-name <name>` when PR evidence is needed. ## Validate Bootstrap Before testing cloud behavior, prove Electron is using the Daytona Den server: ```js JSON.stringify({ hash: location.hash, text: document.body.innerText.slice(0, 1000) }) ``` Then inspect the desktop bootstrap file: ```bash daytona exec "$SANDBOX" -- 'cat /workspace/.ipollowork-daytona/desktop-bootstrap.json' ``` Expected: `baseUrl` is `DEN_WEB_URL` and `apiBaseUrl` is `DEN_API_URL`, not production. ## Desktop Handoff Pattern For seeded/demo auth, create the handoff URL from the Den API, then paste it into Electron's Cloud Account sign-in code field. Do n...

Details

Author
Devin-AXIS
Repository
Devin-AXIS/iPolloWork
Created
12 months ago
Last Updated
today
Language
TypeScript
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category