An open API service indexing awesome lists of open source software.

https://github.com/thesephi/rust-volunteerer

Little silly(-ish) program for roster management
https://github.com/thesephi/rust-volunteerer

Last synced: 2 months ago
JSON representation

Little silly(-ish) program for roster management

Awesome Lists containing this project

README

          

# rust-volunteerer

Ever felt the awkward silence when we need someone in a group to do something,
but then nobody raises a hand?

`rust-volunteerer` comes to the rescue. This little program saves us from those awkward moments. Also it's not just time that we save, it's the mental overhead
for everyone involved. So, the larger the group, the more energy we save.

## usages

Heads up: this (overly-simple) program expects 2 `.csv` files as its "database". There's a command that generates the seed database.

```bash
# generate an example "colleagues" db
rust-volunteerer seed

# populate the roster for a certain amount of weeks from now
rust-volunteerer populate

# return from the roster name of a colleague
# who should be the "volunteer" for the current week
rust-volunteerer current

# display all names from the "colleagues" db
rust-volunteerer colleagues

# given a name existing in the "colleagues" db,
# return the one right after it;
# if all fails, return the 1st name from the list
rust-volunteerer next [name]

# invoking the binary without any argument will enter GUI mode
rust-volunteerer
```

## build

Prerequisite: [rustup toolchain](https://rustup.rs/)

```bash

# build only
cargo build [--release]

# or to run immediately after build
cargo run [--release]

# hacking mode
rustc -L /path/to/dependencies -o build/main main.rs
```

## miscellaneous

"Why volunteer*er* but not volunteer"? Asked a grammar police once.

"If people actually volunteer, do we still need to make them volunteer?" - answered the project author.