{"id":19212338,"url":"https://github.com/leafo/selfwatch","last_synced_at":"2025-05-12T20:37:17.261Z","repository":{"id":27384618,"uuid":"30860627","full_name":"leafo/selfwatch","owner":"leafo","description":"inspired by selfspy","archived":false,"fork":false,"pushed_at":"2024-10-22T04:55:51.000Z","size":1479,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-23T07:10:33.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/leafo.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}},"created_at":"2015-02-16T09:00:37.000Z","updated_at":"2024-10-22T04:55:54.000Z","dependencies_parsed_at":"2022-08-20T07:50:21.788Z","dependency_job_id":null,"html_url":"https://github.com/leafo/selfwatch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fselfwatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fselfwatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fselfwatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leafo%2Fselfwatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leafo","download_url":"https://codeload.github.com/leafo/selfwatch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223835399,"owners_count":17211158,"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":[],"created_at":"2024-11-09T13:46:34.546Z","updated_at":"2024-11-09T13:46:35.128Z","avatar_url":"https://github.com/leafo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# selfwatch\n\nSelfwatch is a program that monitors how you use your computer. It's inspired by\n[selfspy](https://github.com/gurgeh/selfspy).\n\nThis project is in it's very early stages, currently it only tracks number of\nkeys pressed over time, and only runs on Linux. In the future it will collect\nmore detailed information about applications used and the things typed.\n\nIt supports sending key counts to a remote server, which can be used to create\na graph of your activity: \u003chttp://leafo.net/#typing\u003e\n\n## Usage\n\n```\n\u003e selfwatch --help\n\nUsage of selfwatch:\n  -config string\n    \tPath to json config file (default \"selfwatch.json\")\n```\n\n## Config\n\nThe following options can be specified in the configuration json file:\n\n* `DbName` - The name of the sqlite database to load to store data (default: `\"selfwatch.json\"`)\n* `RemoteUrl` - A URL to flush key press counts to every `RemoteFlushDelay` seconds. Data is encoded as JSON and sent as a post request. It's formatted as an array of arrays: `[id, \"YYYY:DD:MM HH:MM:SS\", count]`\n* `RemoteFlushDelay` - How long to wait between flushing key counts to remote server, default 60\n* `SyncDelay` - How long to buffer key counts in memory before flushing to database (application switches will trigger immediate flush)\n\n## About\n\nAuthor: Leaf Corcoran (leafo) ([@moonscript](http://twitter.com/moonscript))  \nEmail: leafot@gmail.com  \nHomepage: \u003chttp://leafo.net\u003e  \nLicense: MIT, Copyright (C) 2017 by Leaf Corcoran\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fselfwatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleafo%2Fselfwatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleafo%2Fselfwatch/lists"}