2025-08-01 22:01:43 +02:00
2025-08-01 22:01:43 +02:00
2025-08-01 05:52:06 +02:00
2025-08-01 05:52:06 +02:00
2025-08-01 22:01:32 +02:00
2025-08-01 05:52:06 +02:00
2025-08-01 05:52:06 +02:00
2025-08-01 22:01:43 +02:00
2025-08-01 22:01:43 +02:00
2025-08-01 22:01:19 +02:00

pastebin

a simple and lightweight pastebin service written in go and templ

Usage

$ ./pastebin

Usage: pastebin [-addr <port>] [-max-size <size>]

Options:
  -addr string
    	port to listen on (default ":3000")
  -max-size int
    	maximum size of a paste in bytes (default 32kB)

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%