How camellia2077/time_master_cpp works
Project type and purpose
• This is a multi-tool, open-source time-tracking suite. It contains:
• A C++ “Time_Master” CLI/interactive app that ingests raw text logs, validates & converts them, inserts structured data into a SQLite database, and runs queries/reports.
• A Python “graph_generator” tool that reads the same SQLite database and produces charts (timelines, bar charts, heatmaps).
• A small C++ “log_generator” test harness to produce synthetic logs for testing the ingestion pipeline.
High-level file structure analysis
• Top-level:
• time_master/ — C++ source, organized into subpackages (action_handler, file_handler, db_inserter, queries, reprocessing, UI) plus CMakeLists.txt and main entry points.
• test/log_generator/ — C++ test generator with its own CMakeLists and build script.
• Configuration files live under time_master/config and graph_generator/configs.
• CMakeLists.txt orchestrates the C++ builds; Python scripts are invoked directly.
Key insights from README
• Dependencies: SQLite C API, nlohmann/json for C++; Python’s json + sqlite3; Matplotlib.
• Detailed descriptions of each subproject’s purpose, directory layout, CLI flags, and config formats.