Skip to content

PhilippePitzClairoux/game-tracker

Repository files navigation

Game-Tracker

Personnal tool to help manage my gaming addiction. This program will scan for all your installed games and track how long you've been playing. Once you've reach that limit, a notification is sent and all games are killed.

Currently tested on Fedora only - but should technically work on windows as well. (might need to implement a config file specifying game directories).

You can specify seconds, minutes and hours - they will all be converted to seconds and they will be added up.

How to build

cargo build --release

How to run

game-tracker --session_duration 2h30m # allow 2 hours and 30 minutes of game time

TODO

  • Implement protections to make the program unkillable
  • Find other ways to scan for games
  • implement tests
  • add cache (for game sessions)
  • integrate sessions per day
  • date/time tampering detection ?
  • make rampage mode a little more extra spicy
  • move session calculations to database
  • check to see if ProcessInformation.start_time matches session.start_time (an other sign of tampering)
  • pack executable ? Could be fun eh ?

About

Acountability buddy to fight gaming addiction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages