Skip to content

Application that tracks your time by monitoring your active windows (only titles) and idle time.

License

Notifications You must be signed in to change notification settings

rexfordkelly-on-electron/tockler

 
 

Repository files navigation

Tockler

Automatically track applications usage and working time.

Features

  • Timeline chart
  • Pie charts
  • View application usage and online time in timeline and table
  • Add log items
  • Statistics and summaries
  • Remind user to start new log item.
  • Group log items (e.g 'Working with tockler' or 'JIRA-1234')

Features to be implemented

  • Remind to take a break

alt text alt text alt text alt text alt text alt text alt text alt text

Donations

This project needs you! If you would like to support this project's further development, feel free to donate. Your donation is highly appreciated. Thank you!

Feel free to make feature requests and 'Star' this project.

Flattr this git repo

Click here to lend your support to: Tockler and make a donation at pledgie.com !

paypal

Development

Project is boilerplated from https://github.com/chuyik/electron-boilerplate

Quick Start

Prerequisites: Node, Git.

git clone https://github.com/Maygo/tockler.git  # Download this project

cd tockler  # Switch directory
npm install              # Install dev dependencies
Two package.json structure as is recommended in electron-builder: https://github.com/electron-userland/electron-builder#two-packagejson-structure
cd app
npm install            # Install dependencies
bower install
gulp                     # Start application

Compiling sqlite3

cd ./node_modules/sqlite3 npm install nan@~2.3.3 npm run prepublish node-gyp configure --module_name=node_sqlite3 --module_path=../lib/binding/node-v48-darwin-x64 node-gyp rebuild --target=1.2.5 --arch=x64 --target_platform=darwin --dist-url=https://atom.io/download/atom-shell --module_name=node_sqlite3 --module_path=../lib/binding/node-v48-darwin-x64

rename folder binding/node-v48-darwin-x64 to electron-v1.2-darwin-x64

Other way win

npm run rebuild-sqlite-win rmdir .\app\node_modules\sqlite3 /s xcopy .\node_modules\sqlite3 .\app\node_modules\sqlite3 /s /e /h

Other way osx

npm run rebuild-sqlite-osx

Gulp Commands

# Most Frequently Used
gulp dev     # [default] Run the app in debugging mode (Reload automatically)
gulp run     # Run the app in production mode

# Other available commands
gulp serve     # Run the app in debugging mode (Reload with CMD+R/F5)
gulp prebuild  # Package OSX app for predistribution (Mainly for preview)
gulp build     # Package windows and OSX app for distribution
gulp sass      # Compile SASS files

signing

https://4sysops.com/archives/sign-your-powershell-scripts-to-increase-security/' in powershell as admin

$cert = Get-ChildItem -Path Cert:\CurrentUser\My -CodeSigningCert
Set-AuthenticodeSignature -FilePath '.\app\get-foreground-window-title.ps1' -Certificate $cert
Set-AuthenticodeSignature -FilePath '.\app\get-user-idle-time.ps1' -Certificate $cert

License

GNU General Public License v2.0 Copyright (c) 2016 MayGo @ trimatech.ee

About

Application that tracks your time by monitoring your active windows (only titles) and idle time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.4%
  • HTML 20.5%
  • CSS 7.1%
  • PowerShell 3.8%
  • Other 1.2%