a tiny koreader sync server rewritten by golang according to koreader-sync, it uses sqlite3 file as the database by default, tables will be auto created while the programm runs
if you are using the newer go version with modle
CGO_ENABLED=1 //sqlite3 needs it
go mod init kosyncsrv
go build
run:
kosyncsrv [-h] [-t 127.0.0.1] [-p 8080] [-ssl -c "./cert.pem" -k "./cert.key"]
$ git clone https://git.apiote.xyz/git/kosyncsrv.git