Go to file
Torjus Håkestad c6eb147e2c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Use configured store
2022-01-25 01:57:28 +01:00
.vscode Handle multipart form files 2022-01-16 21:29:42 +01:00
api Use configured store 2022-01-25 01:57:28 +01:00
client Add aggressive linting 2022-01-24 20:25:52 +01:00
cmd Use configured store 2022-01-25 01:57:28 +01:00
files Fix error in memorystore 2022-01-24 23:18:13 +01:00
users Add aggressive linting 2022-01-24 20:25:52 +01:00
.gitignore Fix gitignore for goreleaser 2022-01-15 19:09:13 +01:00
.golangci.yml Fix linting error 2022-01-24 20:32:49 +01:00
.goreleaser.yaml Fix scoop url 2022-01-24 20:50:42 +01:00
.woodpecker.yml Fix linting error 2022-01-24 20:32:49 +01:00
auth_test.go Add custom claims 2022-01-20 13:33:11 +01:00
auth.go Add aggressive linting 2022-01-24 20:25:52 +01:00
config_test.go Add signing secret to config 2022-01-19 22:28:08 +01:00
config.go Add aggressive linting 2022-01-24 20:25:52 +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