initial commit

This commit is contained in:
Pierre de Lacroix 2026-06-22 16:49:17 +02:00
commit f83fded289
Signed by: lateralus23
GPG key ID: 53E0CEC29C24EF39
15 changed files with 6084 additions and 0 deletions

29
README.md Normal file
View file

@ -0,0 +1,29 @@
# Shift bot
A bot for handling shifts.
## Build
Build with
```bash
> cargo build --release
[...]
# executable is here
> ls target/release/shift_bot
target/release/shift_bot
```
## Usage
Make sure `shift_bot` is in your path for what follows. Alternatively, you can replace command
`shift_bot` with `cargo run --release --` in the instructions below, assuming you are at the root
of this repository.
```bash
shift_bot --username shift_bot --homeserver interhacker.space --password SO_SECRET --grist_api_key SECRET_TOO
# alternatively
shift_bot -u neko -s interhacker.space -p SO_SECRET --grist_api_key SECRET_TOO
# or, if the homeserver is `matrix.org`
shift_bot -u neko -p SO_SECRET --GRIST_API_KEY SECRET_TOO
```