API for our upcoming pubnix.
Maintained by @Odyssium and @arya
a10b9a75c2
Signed-off-by: Odyssey <odyssey346@disroot.org> |
||
---|---|---|
pages | ||
.gitignore | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
readme.md |
Publapi
Publapi is a simple API for Project Segfault's public shared system (pubnix).
Install
An installation of Go 1.19 or higher is required.
git clone https://github.com/ProjectSegfault/publapi
go mod download
go build
./publapi
By default it listens to port 3000 on 127.0.0.1. You can change the port with the environment variable PUBLAPI_PORT.