---
title: Deploy Blinko with AI on Blossom
url: "/deploy/blinko/"
canonical_url: https://blossom88.com/deploy/blinko/
markdown_url: https://blossom88.com/deploy/blinko.md
summary: Run a private Blinko notebook with managed PostgreSQL and keep your tagged
  text notes through an app update.
categories:
- deployment
- productivity
stack:
- TypeScript
- React
- Node.js
- PostgreSQL
---

# Deploy Blinko with AI on Blossom

[Blinko](https://github.com/blinkospace/blinko) is an open-source
notebook for quick notes. You can tag a note as you write it and open
the tag later to see related notes.

## Ask Your Agent

> **Ask your AI agent:** Deploy Blinko privately on Blossom with managed PostgreSQL. Help me save my first tagged note.
>
> Follow this guide: https://blossom88.com/deploy/blinko/

[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 |
|---|---|---|
| Blinko | Serve the notebook and its editor | App Capacity |
| PostgreSQL | Store accounts, text notes, and tags | Blossom Managed Data |

## Deploy Blinko

Run one Blinko Service on App Capacity and link managed PostgreSQL.
Use Blossom Account access while creating your first Blinko account.

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

Use the official image on port 1111. Link `DATABASE_URL` and set a
stable `NEXTAUTH_SECRET`. The
[tested startup script](/deploy/recipes/blinko/start-blinko.sh) sets
the public origin from `BLOSSOM_SERVICE_URL` and runs the bundled
Prisma migrations and seed before starting the server. Run it through
the image's `dumb-init` entrypoint with `/bin/sh`.
Use `/` for the HTTP readiness probe. Blinko's local uploads and the
welcome notes' sample images need persistent file storage if you
want them to survive an update.
[Upstream configuration](https://github.com/blinkospace/blinko/blob/main/docker-compose.prod.yml).

</details>

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

    blossom app_plan:preview --data blinko-plan.yml
    blossom database_instance:create --data blinko-postgres.yml --follow
    blossom environment_link:create --data blinko-link.yml
    blossom service:create --data blinko.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Save Your First Tagged Note

Create your private account, then write a short note and add a hashtag.
Save it and select the tag to open its notes.

![Save a private workshop note with a tag.](/deploy/assets/images/blinko/blinko-notebook.webp)

> **Ask your AI agent:** Help me save a short note and find it by its tag.

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



## Reopen the Note After an Update

Update Blinko and sign in again. Open the same tag to find the saved note.

![Open the same tagged note after Container replacement.](/deploy/assets/images/blinko/blinko-tagged.webp)


> **Ask your AI agent:** Update Blinko and check that my note and tag are still there.

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



## What You Get

- A private Blinko notebook and your own account
- Text notes you can organize by tag
- Notes and tags stored in managed PostgreSQL

Tested on Blossom: The same private note and tag reopened after web Container replacement using managed PostgreSQL.
