A pastebin service that you can actually own.
Scroll down the README for some pretty gifs
- A good looking web client, powered by Vue.JS & Nuxt UI
- Beautiful syntax highlighting, powered by Shiki
- Automatic language detecting powered by Flourite
- Administration capabilities
- Opt-in caching, powered by Redis.py
Use the docker-compose.yaml file to setup the service. Follow the instructions below:
- Run the
prestart.shscript. It sets up the migration for the database schema:
docker compose run --rm api bash prestart.sh- Then, run the compose template in detached mode:
docker compose run -dThe compose template defines two services:
-
A PostgreSQL database container
dbwhich stores all the persistent data. -
Api service which runs the Pastore api and hosts its front-end client.
After that, your service is ready to be served at port 8080. You can serve it either directly, or by using a reverse proxy like Caddy or Nginx.
Make sure to install the following dependencies:
This project uses uv and pnpm as a package manager toolkit for back-end
and front-end side, respectively.
Also, just, the command runner, defines some common development tasks to help
you get started.
All three of these should automatically be installed by mise.
- Install the project's dependencies:
mise install- Use the
justfileto help you get started:
just setup-api
just setup-db
just run-apiSee the complete list of commands using just --list.
