Go to file
Torjus Håkestad b559d28a38
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Add url to upload response
2022-01-24 19:03:20 +01:00
.vscode Handle multipart form files 2022-01-16 21:29:42 +01:00
api Add url to upload response 2022-01-24 19:03:20 +01:00
client Add delete 2022-01-21 07:17:52 +01:00
cmd Fix Dockerfile 2022-01-21 18:03:49 +01:00
files Improve filestore test 2022-01-24 16:38:17 +01:00
users Add user list 2022-01-21 14:04:41 +01:00
.gitignore Fix gitignore for goreleaser 2022-01-15 19:09:13 +01:00
.goreleaser.yaml Stop bulding for darwin 2022-01-15 19:13:03 +01:00
.woodpecker.yml Update pipeline 2022-01-22 09:55:24 +01:00
auth_test.go Add custom claims 2022-01-20 13:33:11 +01:00
auth.go Add client package 2022-01-20 17:50:56 +01:00
config_test.go Add signing secret to config 2022-01-19 22:28:08 +01:00
config.go Add signing secret to config 2022-01-19 22:28:08 +01:00
Dockerfile Fix Dockerfile 2022-01-21 18:03:49 +01:00
go.mod Add save/load for client config 2022-01-21 02:40:33 +01:00
go.sum Add save/load for client config 2022-01-21 02:40:33 +01:00
gpaste-server.toml Add auth middleware 2022-01-20 01:04:44 +01:00
README.md Add readme 2022-01-22 10:27:21 +01:00

status-badge

gpaste

Simple pastebin-style webapp.

Build

gpaste-server

go build -o gpaste-server cmd/server/server.go

gpaste-client

go build -o gpaste cmd/client/client.go

Run using docker

From registry

docker pull registry.t-juice.club/gpaste:latest
docker run --rm -it -p 8080:8080 registry.t-juice.club/gpaste:latest

From Dockerfile

docker build -t gpaste:latest .
docker run --rm -it p 8080:8080 gpaste:latest