Skip to content

nadyawyn/daytimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

daytimer

A browser script recording what time you devote to work or other activities during the day.

! It uses the local storage of your browser and does not require any server part to store data.

!! It records the time you spend on a certain kind of activity and then presents it on various scales:

  • by time of beginning
  • by total time spent on this activity
  • by sequence
  • and by share of time, as a pie-chart

How to use

  1. Fork this repository
  2. Go to dist/SETTINGS.json
  3. In SETTINGS.json set the activities you need in the following format: "name": "activity name", "color": "activity color in hex or word format"
  4. Open dist/INDEX.html: now you should see the list of activities you have set in SETTINGS.json, as well as START & STOP buttons and empty scales below
  5. START button is greyed out and shows text "Set a tag". Go ahead and click on any activity on the left.
  6. START button becomes active. Press it to launch the counter.
  7. When you are done, press STOP button: the data will be recorded on the scales
  8. To clear the Local Storage, press RESET button in bottom left corner of the screen

Advantages to this script:

  • Totally autonomous, does not require a server or internet connection
  • Any number of activities and corresponding colors can be set through SETTINGS.json
  • Gives bright visual representation of your daily activities in time and correlation

To get the idea of how it works:

Go to the live preview here.

About

A script in vanilla js for recording what time you devote to work or other activities during the day. Saves the data in your local storage and then represents as colored scales.

Topics

Resources

Stars

Watchers

Forks

Contributors