---
title: Deploy PairDrop with AI on Blossom
url: "/deploy/pairdrop/"
canonical_url: https://blossom88.com/deploy/pairdrop/
markdown_url: https://blossom88.com/deploy/pairdrop.md
summary: Transfer a sample file between two browsers through your own PairDrop instance.
categories:
- deployment
- file-transfer
- websockets
stack:
- JavaScript
- Node.js
- WebSockets
---

# Deploy PairDrop with AI on Blossom

[PairDrop](https://github.com/schlagmichdoch/PairDrop) lets browsers send
files to each other. Try a small workshop checklist first.

## Ask Your Agent

> **Ask your AI agent:** Deploy PairDrop on Blossom. Help me send a sample file between two browsers.
>
> Follow this guide: https://blossom88.com/deploy/pairdrop/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## How It Runs

| Part | Role | Where |
|---|---|---|
| PairDrop | Connect browsers and relay the sample transfer | One Service on regular App Capacity |
| Two browsers | Choose, accept and download the test file | Separate browser sessions |

## Deploy PairDrop

Run the maintained image on port 3000 and enable Blossom Account access.
Open the same HTTPS address in both browsers.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Select the PairDrop image on the Environment. Set the web Service
entrypoint to `npm` and its command to `start`.

Set `WS_FALLBACK=true` to try PairDrop's WebSocket transport when a
browser has WebRTC disabled. The fallback carries file bytes through
your PairDrop Service. Use two signed-in browsers and a synthetic file
for the test.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data pairdrop-plan.yml
    blossom app:create --data pairdrop-app.yml
    blossom environment:create --data pairdrop-environment.yml
    blossom service:create --data pairdrop-web.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Send a Sample File

Choose the second browser in PairDrop, select the checklist, and accept
the transfer in the receiving browser. Download the file and compare
its checksum with the original.

![Accept the workshop checklist in the receiving browser.](/deploy/assets/images/pairdrop/pairdrop-file-offer.webp)

> **Ask your AI agent:** Send a small sample file between two browsers and compare the downloaded file's checksum with the original.

> Follow this guide: https://blossom88.com/deploy/pairdrop/



## Reconnect After an Update

Replace the PairDrop Container and reopen the page in both browsers.
Repeat the transfer with the same sample file.

![Download the same file after reconnecting.](/deploy/assets/images/pairdrop/pairdrop-file-received.webp)


> **Ask your AI agent:** Replace the PairDrop Container, reconnect both browsers, and check that the same file downloads with its original checksum.

> Follow this guide: https://blossom88.com/deploy/pairdrop/



## What You Get

- A PairDrop instance behind Blossom Account access
- A sample file sent and accepted in two browsers
- The same file downloaded after reconnecting to a replacement Container

Tested on Blossom: Two fresh browser sessions transferred the same file through WebSockets after Container replacement. The name and checksum matched.
