HUB
Sign inSign up

albru123/pastebin-go

By albru123

•Updated almost 8 years ago

Golang pastebin

Image
0

231

albru123/pastebin-go repository overview

⁠Pastebin

Fancy pastebin written in GO and Redis.

⁠Features

  • User defined expiration of pastes.
  • Works with or without Javascript.
  • Syntax highlighting while viewing or creating a paste (when JS is enabled).
  • Simple API

main

save

⁠Demo

https://a.sp44.me⁠

⁠Installation

⁠Requirements
  • Golang
  • Redis
⁠Compiling
go get .
go build pastebin.go
./pastebin 
⁠Configuration

See config.json

⁠Persistence

You should probably enable AOF persistence if you don't want to lose all your data when the Redis server goes offline for whatever reason. More info here https://redis.io/topics/persistence⁠

Tag summary
Recent tags
Content type
Image
Digest
Size
8.8 MB
Last updated
almost 8 years ago
docker pull albru123/pastebin-go:latest