mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 03:07:40 +02:00
d4f58696425888535611f950f10bb305ee35319f
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")
-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>
Languages
Go
73.7%
CSS
11.8%
JavaScript
6.2%
HTML
5.8%
Just
1.5%
Other
1%