meeting_cost_tracker

Crates.iomeeting_cost_tracker
lib.rsmeeting_cost_tracker
version1.1.1
created_at2025-07-13 03:45:39.144538+00
updated_at2025-07-17 00:06:14.750862+00
descriptionA terminal UI tool to track meeting cost in real time based on employee salaries.
homepagehttps://github.com/Andrewsimsd/meeting_cost_tracker
repositoryhttps://github.com/Andrewsimsd/meeting_cost_tracker
max_upload_size
id1749938
size365,960
Andrew Sims (Andrewsimsd)

documentation

README

Meeting Cost Tracker

Crates.io Documentation CI License GitHub

Meeting Cost Tracker provides a Rust library and accompanying terminal user interface (TUI) for monitoring the real‑time cost of meetings. Costs are calculated from each attendee's salary and the time elapsed.

The library is lightweight and can be embedded in your own tools. A fully featured TUI application is also provided for quick tracking from the command line.

demo

Installation

From crates.io

Add the library to your project with:

$ cargo add meeting_cost_tracker

Install the standalone TUI application:

$ cargo install meeting_cost_tracker

From source

Clone the repository and build:

$ git clone https://github.com/Andrewsimsd/meeting_cost_tracker
$ cd meeting_cost_tracker
$ cargo install --path .

Example

use meeting_cost_tracker::{EmployeeCategory, Meeting};

let category = EmployeeCategory::new("Engineer", 120_000).unwrap();
let mut meeting = Meeting::new();
meeting.add_attendee(&category, 3);
meeting.start();
std::thread::sleep(std::time::Duration::from_secs(1));
meeting.stop();
println!("Cost: ${:.2}", meeting.total_cost());

TUI Usage

Run the interactive tracker with:

$ mct

Keyboard shortcuts:

  • s – start/stop the meeting
  • c – reset accumulated time and cost
  • a – add a new salary category
  • d – delete an existing category
  • e – add attendees
  • r – remove attendees
  • w – save attendees to a file
  • l – load attendees from a file (opens file picker)
  • p – toggle salary visibility
  • q – quit

Categories are persisted to data/categories.toml next to the executable. Attendee lists can be saved and loaded from the same directory using the w key. Press l to open a file picker showing available attendee lists in that directory.

See Also

License

Licensed under either the MIT license or Apache License 2.0 at your option.

Commit count: 0

cargo fmt