Skip to content

Krishnamohan33/Game-Time-Tracker-Dynamic-Mode-Smart-Customizable-Game-Session-Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Game Time Tracker

A lightweight and modern game session logger with focus-aware stats.

GitHub Stars License: MIT PRs Welcome Donate on Razorpay Buy Me a Coffee

๐Ÿ“Œ Overview

Game Time Tracker (Dynamic Mode) is a desktop application to track your game sessions, playtime, and focus using only your game's .exe name.

It helps you:

  • Understand your play habits
  • Stay mindful of gaming time
  • Log accurate session durations
  • Track daily and total usage

๐Ÿ’ก Features

  • ๐Ÿ” Dynamic Game Detection
    Enter any .exe nameโ€”no setup or integrations required.

  • ๐Ÿ“Š Session Analytics

    • Total playtime (hours)
    • Average session duration
    • Daily session length
  • ๐Ÿง  Focus Score System

    • Color-coded (๐ŸŸข๐ŸŸ ๐Ÿ”ด) feedback based on daily usage target (2 hours/day)
    • Visual indicators help reduce screen overuse
  • ๐Ÿ’พ Session Logging

    • All game activity is stored locally in sessions.db (SQLite)
    • Persistent session history
  • ๐Ÿ–ฅ๏ธ Modern GUI

    • Responsive and clean Tkinter interface
    • Dark mode, elegant fonts, color-coded metrics
    • GitHub link and license embedded in the footer

โœ… Version 1.0 Includes

  • Support for any .exe name
  • Real-time tracking and updates
  • Local database session saving
  • Stats dashboard with session summaries
  • Daily focus goal calculation
  • Exportable, customizable source

๐Ÿ›  Tech Stack

  • Python 3.10+
  • tkinter (for GUI)
  • psutil (for detecting processes)
  • sqlite3 (for saving sessions)
  • threading (for non-blocking logic)

๐Ÿš€ Getting Started

  1. Clone or download this repository
  2. Run main.py
  3. Enter your gameโ€™s .exe name (e.g., Cyberpunk2077.exe)
  4. Start playing โ€” the app will track everything automatically

To build an .exe, use PyInstaller (see docs for more).


๐Ÿ“š Documentation

  • Code is clean, modular, and beginner-friendly
  • Functions are documented inline
  • Refer to main.py and tracker.py for core logic
  • All logic uses standard Python libraries, no complex dependencies

๐Ÿ™Œ Contributors

๐Ÿ‘ค Lead Developer

Krishnamohan Yagneswaran
๐Ÿ”— GitHub


๐Ÿ‘ฅ Become a Contributor

Want to contribute? Hereโ€™s how:

  • Fork the repo
  • Make changes and improvements
  • Submit a Pull Request (PR)
  • Get listed here once merged!

โค๏ธ Support & Donations

If you enjoy using this tool, consider supporting development:

Your support keeps this project open and maintained.


๐Ÿ“„ License

MIT License โ€“ Non-Commercial Use Only
ยฉ 2025 Krishnamohan Yagneswaran

You are free to use, modify, and share this software for personal or educational purposes.
Commercial use or resale is strictly prohibited without prior permission.

All copies must include this license notice.


๐ŸŒŸ Star this repo if you find it useful. Contributions welcome!
GitHub Repo โ†—

About

๐ŸŽฎ Game Time Tracker โ€” Smart desktop app built with Python to monitor PC game sessions, track focus time, and view usage stats. Fully customizable, modern, and open-source.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors