---
title: Deploy LibreSpeed with AI on Blossom
url: "/deploy/librespeed/"
canonical_url: https://blossom88.com/deploy/librespeed/
markdown_url: https://blossom88.com/deploy/librespeed.md
summary: Run a private browser speed test against your own server and save a result
  you can reopen.
categories:
- deployment
- networking
- monitoring
stack:
- JavaScript
- PHP
- SQLite
---

# Deploy LibreSpeed with AI on Blossom

[LibreSpeed](https://librespeed.org/) measures the connection between your
browser and a server you control. Run one test and keep the result so you
can compare it later.

## Ask Your Agent

> **Ask your AI agent:** Deploy LibreSpeed on Blossom. Help me run a private connection test and save the result.
>
> Follow this guide: https://blossom88.com/deploy/librespeed/

[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).

## Have Ready

- **Privacy contact** (Required): Provide an email for requests about saved results when telemetry is enabled.

## How It Runs

| Part | Role | Where |
|---|---|---|
| LibreSpeed | Serve the test and generate result cards | One Persistent Service |
| SQLite | Store completed readings | Volume mounted at /database |

## Deploy a Private Test

Choose the official LibreSpeed image on the Environment. Expose its web
Service on port 8080 with Blossom Account access and mount a Volume at
`/database` for saved readings.

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

Use the [sample startup script](/deploy/recipes/librespeed/launcher-runtime.sh)
to skip the browser's address and ISP lookup. Set `MODE=standalone`,
`WEBPORT=8080`, `TELEMETRY=true`, and `REDACT_IP_ADDRESSES=true`. Give
the stats page a strong password and set `GDPR_EMAIL` for privacy
requests. For obfuscated links, enable `ENABLE_ID_OBFUSCATION` and keep
the same `OBFUSCATION_SALT` through updates.

</details>

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

    blossom app_plan:preview --data librespeed-plan.yml
    blossom app:create --data librespeed-app.yml
    blossom environment:create --data librespeed-environment.yml
    blossom service:create --data librespeed-web.yml
    blossom env_var:push --environment environment-100 --file librespeed.env
    blossom environment:deploy --id environment-100 --follow

</details>

## Run a Test and Save Its Link

Open LibreSpeed, start one test, then choose **Share results** and copy
the link. The result describes this browser's connection to this server.

![Run a private test against your own Service.](/deploy/assets/images/librespeed/librespeed-run-complete.webp)

> **Ask your AI agent:** Open my private LibreSpeed page, run one connection test against my own Service, and save the result link.

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



## Reopen the Same Result

Replace the Container and keep the Volume and salt. Sign in again and open
the saved link to see the original reading.

![Reopen the original result card after a Container update.](/deploy/assets/images/librespeed/librespeed-saved-result.webp)


> **Ask your AI agent:** Replace the LibreSpeed Container and check that the saved link still shows the same reading.

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



## What You Get

- A speed test behind Blossom Account access
- A result card for one browser-to-server connection
- Saved readings on a Volume

Tested on Blossom: The same private result link reopened with the original measurements after a Container update.
