{"id":20659043,"url":"https://github.com/berrnd/qstools-whatpulse","last_synced_at":"2025-11-07T11:04:37.135Z","repository":{"id":71289243,"uuid":"100384705","full_name":"berrnd/qstools-whatpulse","owner":"berrnd","description":"A set of (PowerShell) scripts around WhatPulse to keep your statistics private and visualizing them with InfluxDB and Grafana","archived":false,"fork":false,"pushed_at":"2017-10-26T18:03:44.000Z","size":1133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-17T11:45:33.226Z","etag":null,"topics":["ownyourdata","quantified-self","self-hosted"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berrnd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-15T14:16:44.000Z","updated_at":"2023-10-12T19:24:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"43a68f0e-56d3-4cd6-a444-84dde8ea4aba","html_url":"https://github.com/berrnd/qstools-whatpulse","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fqstools-whatpulse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fqstools-whatpulse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fqstools-whatpulse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berrnd%2Fqstools-whatpulse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berrnd","download_url":"https://codeload.github.com/berrnd/qstools-whatpulse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242768074,"owners_count":20182098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ownyourdata","quantified-self","self-hosted"],"created_at":"2024-11-16T18:29:46.361Z","updated_at":"2025-11-07T11:04:35.361Z","avatar_url":"https://github.com/berrnd.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qstools-whatpulse\nA collection of (PowerShell) scripts around [WhatPulse](https://whatpulse.org/) to keep your statistics private - the scripts transfer them to a (private) [InfluxDB](https://github.com/influxdata/influxdb) database.\n\n\u003e This only works on windows!\n\n## Motivation\nWhatPulse is a great tool to capture mainly your keyboard and mouse usage statistics, I use it for many years. Although I don't not trust them, I wanted to have my statistics with me, and only me.\nUnfortunately WhatPulse does not have a fully capable local API, but records everything in a SQLite database - these scripts querying this database directly and pushes everything to a InfluxDB database.\nPerfect to visualize the result with [Grafana](https://grafana.com/), for example.\n\n## What currently is supported/collected\nNot everything WhatPulse collects is currently also handled by these scripts - supported metrics:\n\n- Application usage (per application)\n- PC boot times\n- Keyboard key presses\n- Mouse clicks\n\n## Scripts/files/directories explained\n### `data` directory\nContains data about the last sync, a text file per computer with the last sync timestamp as content\n\n### `vendor` directory\nThird party dependencies (SQLite and so on)\n\n### `*.sql` files\nPredefined SQL queries used by `whatpulse2influxdb.ps1`\n\n### `config-dist.ps1`\nThe default/example config file, copy it to `data/config.ps1` and edit there to your needs\n\n### `create_scheduled_task.bat`\nCreates a scheduled task to execute `whatpulse2influxdb_hidden.vbs` when the computer is idle\n\n### `firewall.bat`\nRestricts internet access for WhatPulse completely\n\n### `whatpulse2influxdb.ps1`\nThe main scripts, this reads the database and pushes the statistics to InfluxDB\n\n### `whatpulse2influxdb_hidden.vbs`\nJust a wrapper around `whatpulse2influxdb.ps1` to hide the PowerShell window, this is also used by the scheduled task created by `create_scheduled_task.bat`\n\n## How to install\nJust unpack the [latest release](https://github.com/berrnd/qstools-whatpulse/releases/latest), copy `config-dist.ps1` to `data/config.ps1`, edit it to your needs, ensure that the `data` directory is writable and you're ready to go - just start `whatpulse2influxdb.ps1` as explained above.\nAlternatively clone this repository.\n\n## Screenshots of the Grafana dashboard\nComing soon...\n\n## License\nThe MIT License (MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberrnd%2Fqstools-whatpulse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberrnd%2Fqstools-whatpulse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberrnd%2Fqstools-whatpulse/lists"}