# Pasty

## About

I was looking for an open source self-hosted alternative to something like paste bin. That's when I found [Pasty](https://github.com/lus/pasty). I've been using it for about 4 months now and its good at what it does! No complaints. One thing I like about it is that it sets a modification password and users will only be able to edit a created paste is by entering the password.

![](/files/5iab8UpG5WP8D5B1ZIVs)

![](/files/Nn8blCO34RiNWPSArk6J)

## Docker-Compose

```
version: '3.3'
services:
    lus:
        restart: unless-stopped
        ports:
            - '8080:8080'
        container_name: pasty
        environment:
            - PASTY_AUTODELETE=true
        image: 'ghcr.io/lus/pasty:latest'
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://homelab.4pfsec.com/self-hosted-services/pasty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
