2025-10-13 13:41:34 +02:00
2025-08-08 17:49:36 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
2025-08-08 17:47:16 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00
v2
2025-10-13 13:41:34 +02:00

pastebin

a simple and lightweight pastebin service written in go and templ

Usage

$ ./pastebin -help

Usage of ./pastebin:
  -addr string
    	socket address to bind to (default ":3000")
  -db-path string
        path to the database file (default "pastebin.db")
  -max-size int
    	maximum size of a paste in bytes (default 32kB)
  -ttl duration
        time to live for pastes (e.g., 72h, 30m) (default 168h0m0s)

Highlighting

To get syntax highlighting, you must add the file extension at the end of your paste URL: /<paste_id>.<extension>

Supported languages can be found here

Themes

Themes can be applied by specifying in the URL: /<paste_id>.<extension>/<theme>

List of available themes

Description
No description provided
Readme 63 KiB
Languages
Go 80.5%
CSS 9.6%
templ 5%
Dockerfile 2.6%
Makefile 2.3%