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
- Host: GitHub
- URL: https://github.com/thesephi/rust-volunteerer
- Owner: Thesephi
- License: mit
- Created: 2024-05-17T02:24:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-27T01:22:38.000Z (over 1 year ago)
- Last Synced: 2025-12-22T08:49:50.563Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.