paste.based.lol

API

POST   /             - Create a new paste
GET    /<slug>       - View a paste
GET    /<slug>/raw   - Get raw paste content
GET    /<slug>/plain - Get plain paste content
GET    /key          - Generate a new API key
GET    /owned        - List pastes owned by API key
DELETE /<slug>       - Delete a paste (requires API key)

Using curl(1)

$ bat --color always --theme gruvbox-dark --plain prog.c \
    | curl -X POST --data-binary @- https://paste.based.lol/

Using nc(1)

$ git diff | nc paste.based.lol 9999

Style options

?bg=dark|light|<hex>    - Set body background color
?fg=dark|light|<hex>    - Set default foreground color
?nonu                   - Hide line numbers

paste.based.lol

Paste some code below and press the Share button to generate a link you can share with others :)