Go to file
Sebastian Hugentobler cdf08451b9
All checks were successful
Build Multiarch Container Image / call-reusable-workflow (push) Successful in 32m57s
remove debug print statements
2024-07-11 08:01:49 +02:00
.gitea/workflows add containerfile and gitea ci 2024-07-10 15:36:25 +02:00
app remove debug print statements 2024-07-11 08:01:49 +02:00
entity initial commit 2024-07-10 14:30:26 +02:00
migration initial commit 2024-07-10 14:30:26 +02:00
.containerignore add containerfile and gitea ci 2024-07-10 15:36:25 +02:00
.gitignore initial commit 2024-07-10 14:30:26 +02:00
Cargo.lock release 0.2.0 2024-07-11 07:39:46 +02:00
Cargo.toml removeswagger ui, itis nice but I don't need it 2024-07-11 07:39:03 +02:00
Containerfile shut down on ctrl+c 2024-07-10 20:56:48 +02:00
COPYING add AGPL license 2024-07-10 14:50:59 +02:00
flake.lock initial commit 2024-07-10 14:30:26 +02:00
flake.nix initial commit 2024-07-10 14:30:26 +02:00
README.md removeswagger ui, itis nice but I don't need it 2024-07-11 07:39:03 +02:00
rust-toolchain.toml initial commit 2024-07-10 14:30:26 +02:00

Hesinde Sync

A reimplementation of the Koreader Sync Server because I wanted to try poem openapi.

Building

Nix

A nix environment with enabled nix-commands in order to use nix develop.

Run nix develop to be dropped into a shell with everything installed and configured. From there all the usual cargo commands are accessible.

Classic

A recent rust installation is all that is needed.

From there on cargo run and cargo build and so on can be used.

Usage

Usage: hesinde-sync [OPTIONS]

Options:
  -a, --address <ADDRESS>              Address to listen on [env: ADDRESS=] [default: localhost:3030]
  -d, --db-connection <DB_CONNECTION>  From which file to read the database connection string ("-" for stdin) [env: DB_CONNECTION=] [default: -]
  -a, --allow-registering              Whether new users can register [env: ALLOW_REGISTERING=]
  -h, --help                           Print help
  -V, --version                        Print version

The url for koreader is http://<ADDRESS>.