API for our upcoming pubnix. Maintained by @Odyssium and @arya
Go to file
Odyssey a10b9a75c2 Fix newline escape character on /online
Signed-off-by: Odyssey <odyssey346@disroot.org>
2023-01-07 19:43:20 +01:00
pages fix password part 2023-01-07 23:08:21 +05:30
.gitignore remove binary wtf 2023-01-07 19:16:48 +01:00
go.mod Switch logger 2023-01-07 17:54:04 +01:00
go.sum Switch logger 2023-01-07 17:54:04 +01:00
LICENSE Arya fix it 2023-01-07 16:33:51 +01:00
main.go Fix newline escape character on /online 2023-01-07 19:43:20 +01:00
readme.md ok commited 2023-01-07 18:16:35 +01:00

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.