Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://maygo.github.io/tockler/
An application that tracks your time by monitoring your active window title and idle time.
https://maygo.github.io/tockler/
electron electron-app osx productivity timeline timetracker windows
Last synced: about 2 months ago
JSON representation
An application that tracks your time by monitoring your active window title and idle time.
- Host: GitHub
- URL: https://maygo.github.io/tockler/
- Owner: MayGo
- License: gpl-2.0
- Created: 2016-02-28T08:32:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T09:39:07.000Z (11 months ago)
- Last Synced: 2024-05-22T22:21:25.765Z (7 months ago)
- Topics: electron, electron-app, osx, productivity, timeline, timetracker, windows
- Language: TypeScript
- Homepage: http://maygo.github.io/tockler/
- Size: 65.4 MB
- Stars: 848
- Watchers: 17
- Forks: 101
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Support Tockler by visiting my Etsy Store**Automatically track applications usage and working time.**
> With Tockler you can go back in time and see what you were working on. You can get information on what apps were used - exactly at what time - and what title the application had at that moment. This is enough to determine how much you did something.
**Track how you spent your time on a computer.**
> Tockler tracks active applications usage and computer state. It records active application titles. It tracks idle, offline, and online state. You can see this data with a nice interactive timeline chart.
**Analyze your computer usage**
> See you total online time today, yesterday, or any other day. In monthly calendar views and with charts.
Tockler needs YOUR support. Currently, every expense is coming from my pocket. And this project has Zero backers
It would be awesome if this project would keep itself alive from donations.
Tockler is free to download and use.
Light theme
![Timeline](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-timeline.png 'Timeline')
![Settings](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-settings.png 'Settings')
![Summary](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-summary-calendar.png 'Summary')
![Summary](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-summary-chart.png 'Summary')
![Search](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-search.png 'Search')
![Tray window](https://github.com/MayGo/tockler/raw/master/screenshots/light/tockler-tray.png 'Tray window')Dark theme
![Timeline](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-timeline.png 'Timeline')
![Settings](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-settings.png 'Settings')
![Summary](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-summary-calendar.png 'Summary')
![Summary](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-summary-chart.png 'Summary')
![Search](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-search.png 'Search')
![Tray window](https://github.com/MayGo/tockler/raw/master/screenshots/dark/tockler-tray.png 'Tray window')Theme by StyleStack.com
# Feedback
Feel free to make feature requests by creating a issue and 'Star' this project.
# Made with
- [Electron](https://electron.atom.io/) with [Webpack](https://webpack.github.io/) and [Typescript](https://www.typescriptlang.org/)
- [React](https://reactjs.org/)
- [D3 v4](https://d3js.org/) and [Victory Chart](http://formidable.com/open-source/victory/docs/victory-chart/)
- [Chakra UI](https://chakra-ui.com/)## Logs
By default, tockler writes logs to the following locations:
Linux: `~/.config/tockler/logs/main.log`
macOS: `~/Library/Logs/tockler/main.log`
Windows: `%USERPROFILE%\AppData\Roaming\tockler\logs\main.log`
## Development
### Quick Start
> Prerequisites: [Node](https://nodejs.org/), [Git](https://git-scm.com/).
```bash
git clone https://github.com/Maygo/tockler.git # Download this projectnpm install yarn -g # install yarn or binary from https://yarnpkg.com
```### Start application
Renderer and main process builds have been separated. It's easier to boilerplate this project and switch client framework.
#### React client (renderer)
```
cd client/
yarn install # Install dependencies
yarn start
```#### Electron (main)
```
cd electron/
yarn install # Install dependencies
yarn start
```Build scripts samples are in travis/appveyor files.
### Testing MAS build
In electron-builder.yml replace
type: development
provisioningProfile: development.provisionprofile# 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
```# Snapcraft token
To generate SNAP_TOKEN run
`snapcraft export-login --snaps=tockler --acls=package_upload,channel --channels=stable -`
Copy output and Add SNAP_TOKEN to travis environment variables.
In travis we have:
`echo "$SNAP_TOKEN" | snapcraft login --with -`# Errors
### while installing electron deps: electron-builder Error: Unresolved node modules: ref
Quick fix: ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true yarn
# License
GNU General Public License v2.0
2021 MayGo (https://github.com/MayGo)