kosyncsrv.git

ref: main

./README.md


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# kosyncsrv
a tiny koreader sync server rewritten by golang according to
[koreader-sync](https://github.com/myelsukov/koreader-sync),
it uses sqlite3 file as the database by default, tables will be auto created while the programm runs

## build and run
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"]
```