randrem

Crates.iorandrem
lib.rsrandrem
version1.0.0
sourcesrc
created_at2023-04-17 20:23:34.591186
updated_at2023-04-17 20:23:34.591186
descriptionsending random remainders to be more healthy
homepagehttps://github.com/lquenti/randrem
repositoryhttps://github.com/lquenti/randrem
max_upload_size
id841865
size47,179
Lars Quentin (lquenti)

documentation

README

randrem - Random Reminder

Randrem sends you random remainders via notification!

Installation

cargo install randrem

Usage

  1. Define a JSON file, see ./example.json for example:
[
    {
      "min_sec": 900,
      "max_sec": 3600,
      "text": "Remember to have good posture."
    },
    {
      "min_sec": 900,
      "max_sec": 3600,
      "text": "Remember to breathe through your nose."
    },
    {
      "min_sec": 3600,
      "max_sec": 7200,
      "text": "Remember to drink more water."
    }
]

  1. Call the program with
randrem ./path/to/example.json
  1. Be happy :)

LICENSE

MIT

Commit count: 20

cargo fmt