GithubHelp home page GithubHelp logo

fingolfin7 / time-tracker Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.57 MB

A simple time tracking program I made to track my study time

License: MIT License

Batchfile 0.26% Lua 3.49% C++ 84.94% Python 11.31%
study timer time-tracker studying productivity chrono-library

time-tracker's Introduction

Time-Tracker

A simple time tracking program I made to track my study time using the <chrono> library

Getting Started

Visual Studio 2019 is recommended,

Start by cloning the repository or downloading the zip file.

Once downloaded, open folder and run the GenerateProject.bat file, which will be inside the "Generate Project" folder. This will run the "premake5.lua" and create a Visual Studio 2019 solution.

Alternatively, you can enter this command on the command prompt within the folder -> premake5.exe vs2019 You can generate solutions for vs2019, vs2017, vs2010 etc.

How to use it

Included is a .txt file called Saves.txt this contains a list of all the activities you want to keep track of. Just add the activities you want to keep a track of to the file. Each activity should be on a new line. For example:

Chess: 0

Programming: 0

Chess Engine: 0

Home Screen

image

Once you compile and run the program you will be greated with the options to:

  1. Create a New Session,

  2. Show Totals,

  3. Edit Subjects,

  4. Change Settings and,

  5. Exit.

A bell sound (loaded from the clock-chimes-daniel_simon.wav file) will ring every 30 minutes.

Press Enter during a new session to stop the counter and save the time total.

Time totals are saved in the same Saves.txt file

Totals Page

Shows a pie char or bar graph of your activities and the total hours from the "show totals" page:

image

Bar Graph

Figure_1

The chart is created with the Bar Graph.py python script

Pie Chart

Figure_2

The pie chart is created with the Pie Chart.py python script

Contribute to the project

Take a look, run the code, and contribute if you'd like!

time-tracker's People

Contributors

fingolfin7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.