🎯

connect

🎯Skill

from popmechanic/vibes-cli

VibeIndex|
What it does

Deploys a personal Fireproof Connect sync backend to a dedicated Studio VM on exe.dev, configuring cloud synchronization for Vibes apps.

πŸ“¦

Part of

popmechanic/vibes-cli(8 items)

connect

Installation

Add MarketplaceAdd marketplace to Claude Code
/plugin marketplace add popmechanic/vibes-cli
Install PluginInstall plugin from marketplace
/plugin install vibes@vibes-cli
Claude CodeAdd plugin in Claude Code
/plugin update vibes@vibes-cli
git cloneClone repository
git clone https://github.com/popmechanic/vibes-cli.git ~/.vibes
Claude CodeAdd plugin in Claude Code
/plugin marketplace remove vibes-cli

+ 2 more commands

πŸ“– Extracted from docs: popmechanic/vibes-cli
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Deploy Fireproof Connect to a dedicated Studio VM on exe.dev. Sets up cloud sync backend for all your Vibes apps.

Deploy Connect Studio

Deploy Fireproof Connect to exe.dev as your personal sync backend. Your Studio VM runs the full Fireproof sync stack and can be used by multiple apps.

Prerequisites

  1. SSH key in ~/.ssh/ (id_ed25519, id_rsa, or id_ecdsa)
  2. exe.dev account - run ssh exe.dev once to create your account
  3. Clerk credentials from [clerk.com](https://clerk.com):

- Publishable Key (pk_test_... or pk_live_...)

- Secret Key (sk_test_... or sk_live_...)

Gather Config

Use AskUserQuestion to collect deployment config before running the deploy script.

```

Question 1: "What codename for your Studio? (becomes .exe.xyz)"

Header: "Studio"

Options: Suggest "${username}-studio" + user enters via "Other"

Question 2: "Do you have your Clerk keys ready?"

Header: "Clerk"

Options: ["Yes, I have them", "No, I need to get them first"]

```

If user needs Clerk keys, provide these instructions:

  1. Go to [clerk.com](https://clerk.com) and sign in
  2. Select your application (or create one)
  3. Go to API Keys in the sidebar
  4. Copy both the Publishable Key and Secret Key

After receiving the codename, ask for the keys:

```

Question: "Paste your Clerk Publishable Key (starts with pk_test_ or pk_live_)"

Header: "Publishable"

Options: [User enters via "Other"]

Question: "Paste your Clerk Secret Key (starts with sk_test_ or sk_live_)"

Header: "Secret"

Options: [User enters via "Other"]

```

Deploy Command

```bash

cd "${CLAUDE_PLUGIN_ROOT}/scripts" && [ -d node_modules ] || npm install

node "${CLAUDE_PLUGIN_ROOT}/scripts/deploy-connect.js" \

--studio \

--clerk-publishable-key "pk_test_..." \

--clerk-secret-key "sk_test_..."

```

What It Does

  1. SSH to .exe.xyz - Creates VM if needed
  2. Clone fireproof repo - selem/docker-for-all branch to /opt/fireproof
  3. Generate security tokens - Session tokens and device CA keys
  4. Create .env - All credentials for Docker services
  5. Run ./docker/start.sh - Starts the full Fireproof stack
  6. Wait for services - Confirms port 8080 is responding
  7. Write local .connect - Saves studio info for future reference

Architecture

```

Studio VM (.exe.xyz)

β”œβ”€β”€ /opt/fireproof/

β”‚ β”œβ”€β”€ docker-compose.yaml (from repo)

β”‚ β”œβ”€β”€ docker/

β”‚ β”‚ β”œβ”€β”€ nginx.conf (routes all traffic)

β”‚ β”‚ └── start.sh (orchestrates services)

β”‚ └── .env (generated credentials)

└── Docker services (port 8080 exposed)

β”œβ”€β”€ nginx proxy

β”œβ”€β”€ dashboard (internal 7370)

└── cloud-backend (internal 8909)

```

Public URLs

After deployment, your Studio exposes:

| Endpoint | URL | Purpose |

|----------|-----|---------|

| Token API | https://.exe.xyz/api | Token issuance for auth |

| Cloud Sync | fpcloud://.exe.xyz?protocol=wss | Real-time sync |

Local `.connect` File

The deploy script creates a .connect file in your project:

```

studio:

api_url: https://.exe.xyz/api

cloud_url: fpcloud://.exe.xyz?protocol=wss

clerk_publishable_key: pk_test_...

```

This file is gitignored and used to auto-configure app deployments.

Update Your App's Environment

After deploying Connect, update your app's .env:

```bash

VITE_CLERK_PUBLISHABLE_KEY=pk_test_...

VITE_API_URL=https://.exe.xyz/api

VITE_CLOUD_URL=fpcloud://.exe.xyz?protocol=wss

```

Troubleshooting

Check Docker status:

```bash

ssh .exe.xyz "cd /opt/fireproof && sudo docker compose ps"

```

View logs:

```bash

ssh .exe.xyz "cd /opt/fireproof && sudo docker compose logs -f"

```

Restart services:

```bash

ssh .exe.xyz "cd /opt/fireproof && sudo docker compose restart"

```

CLI Options

| Option | Description |

|--------|-------------|

| --studio | Studio VM name (required) |

| --clerk-publishable-key | Clerk publishable key (required) |

| --clerk-secret-key | Clerk secret key (required) |

| --dry-run | Show what would be done without executing |

---

What's Next?

After successful deployment, present these options using AskUserQuestion:

```

Question: "Your Connect Studio is live at https://${studio}.exe.xyz! What's next?"

Header: "Next"

Options:

  • Label: "Deploy an app that uses this Studio"

Description: "Generate and deploy a Vibes app configured to sync through your Studio. I'll set up the environment automatically."

  • Label: "Update an existing app to use Connect"

Description: "Configure an existing app's .env to point to your new Studio for cloud sync."

  • Label: "I'm done for now"

Description: "Your Studio is running 24/7 on exe.dev. Any app configured with these URLs will sync through it."

```