---
title: "Deploy Chirp Paste"
description: "Deploy an expiring snippet vault with safe raw-text sharing."
category: "Starters"
url: https://railway.com/deploy/chirp-paste
---

# Deploy Chirp Paste

Deploy an expiring snippet vault with safe raw-text sharing.

**[Deploy Chirp Paste on Railway](https://railway.com/template/chirp-paste)**

- **Creator:** Lawrence Lane's Projects
- **Category:** Starters

## Template content

### Postgres https://devicons.railway.app/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### web https://raw.githubusercontent.com/lbliii/chirp-paste/v0.1.1/favicon.svg

- **Source:** https://github.com/lbliii/chirp-paste
- **Health check:** /ready
- **Public domain:** Yes

## Documentation

# Deploy and Host Chirp Paste on Railway

Chirp Paste is a compact self-hosted vault for code snippets, notes, configuration fragments, and other text you need to share without opening an account system or handing content to a third-party paste service.

Create public or unlisted sheets, set an expiry, copy a read-only URL, and save the separate management capability for editing or deletion. The deployed application includes a searchable owner archive and safe raw-text delivery.

## About Hosting Chirp Paste

The template deploys one Chirp web service and one PostgreSQL service. Railway generates the application signing key and owner token, connects the private database URL, runs migrations before each release, and mounts PostgreSQL's persistent volume.

No user-entered environment variables are required.

## Why Deploy Chirp Paste on Railway

- Keep snippets and operational notes in a database you control.
- Share without user accounts or a separate identity provider.
- Use explicit public or unlisted visibility and bounded expiry choices.
- Render hostile-looking source safely while preserving a plain-text raw route.
- Retain data through application restarts, upgrades, and rollbacks.
- Start with generated secrets and private service-to-service networking.

## Common Use Cases

- Share a deployment checklist with a teammate.
- Publish a short configuration or code example.
- Send an expiring troubleshooting note.
- Keep frequently reused shell, SQL, or Markdown fragments.
- Replace an ad-supported public paste service for a small team.

## Dependencies for Chirp Paste Hosting

Chirp Paste uses Chirp, Pygments, Python 3.14, and PostgreSQL 18. The application is server-rendered HTML with htmx enhancement; it does not require a frontend build system.

### Deployment Dependencies

- Railway web service built with Railpack
- Railway PostgreSQL 18 service
- Persistent PostgreSQL volume at `/var/lib/postgresql/data`
- Private `${{Postgres.DATABASE_URL}}` service reference
- Generated `CHIRP_SECRET_KEY`
- Generated `PASTE_ADMIN_TOKEN`


## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/chirp-paste
