---
title: Deploy PrivateBin with AI on Blossom
url: "/deploy/privatebin/"
canonical_url: https://blossom88.com/deploy/privatebin/
markdown_url: https://blossom88.com/deploy/privatebin.md
summary: Share a browser-encrypted paste with an expiration or let the recipient open
  it once.
categories:
- deployment
- productivity
stack:
- PHP
- JavaScript
- Nginx
---

# Deploy PrivateBin with AI on Blossom

[PrivateBin](https://privatebin.info/) lets you share text your browser
encrypts before sending it. You can choose an expiration or make a paste
readable only once.

## Ask Your Agent

> **Ask your AI agent:** Deploy PrivateBin privately on Blossom. Help me share a sample paste that can be opened once.
>
> Follow this guide: https://blossom88.com/deploy/privatebin/

[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/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| PrivateBin | Serve the paste editor and store encrypted pastes | Blossom Persistent Service |

## Deploy PrivateBin

Use one Persistent Service with Blossom Account access so your team can
open the app and its paste links. Keep the app on HTTPS so the browser
can use Web Crypto.

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

Use the [official PrivateBin image](https://github.com/PrivateBin/docker-nginx-fpm-alpine)
on port 8080. Mount a Volume at `/srv/data` for the encrypted files and
service state. The image uses UID 65534 and GID 82. Keep the same Volume
when you update the app.

</details>

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

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

</details>

## Share a Sample Paste

Enter a short note and choose when it expires. Open the generated link
in a second signed-in session. To try one-time access, create a second
paste with **Burn after reading** and confirm the first read.

![Write a workshop handoff and choose its expiration.](/deploy/assets/images/privatebin/privatebin-compose.webp)

> **Ask your AI agent:** Help me create two sample pastes and verify that the one-time link only works once.

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



## Reopen the Paste After an Update

Update PrivateBin with the same Volume. Reopen the unexpired paste and
check that the consumed one is still unavailable. Share live paste links
privately. The URL fragment carries the decryption key.

![Reopen the original paste after replacing the Container.](/deploy/assets/images/privatebin/privatebin-paste.webp)


> **Ask your AI agent:** Update PrivateBin and check that my unexpired sample paste still opens.

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



## What You Get

- A private place to create browser-encrypted pastes
- Expiration and burn-after-reading controls
- A Volume that keeps unexpired pastes through app updates

Tested on Blossom: The same unexpired paste opened from the retained Volume, and the one-time paste stayed deleted after Container replacement.
