{"id":13476254,"url":"https://github.com/ActivityWatch/aw-watcher-web","last_synced_at":"2025-03-27T02:31:53.183Z","repository":{"id":37736011,"uuid":"79119055","full_name":"ActivityWatch/aw-watcher-web","owner":"ActivityWatch","description":"Browser watcher for ActivityWatch","archived":false,"fork":false,"pushed_at":"2024-09-26T17:19:27.000Z","size":255,"stargazers_count":324,"open_issues_count":45,"forks_count":46,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-30T00:54:48.678Z","etag":null,"topics":["activitywatch","chrome-extension","firefox-extension","quantified-self","time-tracker","webextension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ActivityWatch.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},"funding":{"github":["ActivityWatch"],"open_collective":"activitywatch","liberapay":"ActivityWatch","custom":["https://activitywatch.net/donate/"]}},"created_at":"2017-01-16T13:06:56.000Z","updated_at":"2024-10-23T17:32:41.000Z","dependencies_parsed_at":"2023-09-28T20:15:21.493Z","dependency_job_id":"dbb47357-e060-4fe8-abe9-40b66a699e4d","html_url":"https://github.com/ActivityWatch/aw-watcher-web","commit_stats":{"total_commits":111,"total_committers":19,"mean_commits":5.842105263157895,"dds":0.5135135135135135,"last_synced_commit":"e2cc98c3ac02cba86f8ee2d7141f71d47ebcacc0"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-watcher-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-watcher-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-watcher-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivityWatch%2Faw-watcher-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActivityWatch","download_url":"https://codeload.github.com/ActivityWatch/aw-watcher-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245402395,"owners_count":20609339,"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":["activitywatch","chrome-extension","firefox-extension","quantified-self","time-tracker","webextension"],"created_at":"2024-07-31T16:01:28.142Z","updated_at":"2025-03-27T02:31:53.175Z","avatar_url":"https://github.com/ActivityWatch.png","language":"JavaScript","readme":"# aw-watcher-web\n\n[![Chrome Web Store](https://img.shields.io/chrome-web-store/v/nglaklhklhcoonedhgnpgddginnjdadi.svg)][chrome]\n[![Mozilla Add-on](https://img.shields.io/amo/v/aw-watcher-web.svg)][firefox]\n\nA cross-browser WebExtension that serves as a web browser watcher for [ActivityWatch][activitywatch].\n\n## Installation\n\n### Official Releases\n\nInstall from official stores:\n\n- [Chrome Web Store][chrome]\n- [Firefox Add-ons][firefox]\n\n### Development Build\n\nDownload the latest development build from our [GitHub Actions][gh-actions]:\n\n1. Click on the latest successful workflow run\n2. Scroll down to \"Artifacts\"\n3. Download either `firefox.zip` or `chrome.zip`\n\n\u003e [!NOTE]\n\u003e\n\u003e - GitHub login is required to download artifacts\n\u003e - These builds are unsigned and require developer mode/settings\n\n### Firefox Enterprise Policy\n\n\u003e [!NOTE]\n\u003e Due to Mozilla Add-on Policy, this is not possible with the Mozilla-hosted versions of the extension. You will need to fork the extension and change a hardcoded value to make this work.\n\nDue to the above issue, a privacy notice must be displayed to comply with the Mozilla Add-on Policy. This can be pre-accepted by setting the following Firefox Enterprise Policy ([More about Firefox Policies][mozilla-policy]):\n\n```json\n{\n    \"policies\": {\n        \"3rdparty\": {\n            \"Extensions\": {\n                \"{ef87d84c-2127-493f-b952-5b4e744245bc}\": {\n                    \"consentOfflineDataCollection\": true\n                }\n            }\n        }\n    }\n}\n```\n\n## Building from Source\n\n### Prerequisites\n\n- Node.js (23 or higher)\n- Git\n- Make\n\n### Build Steps\n\n1. Clone the repository with submodules:\n\n```sh\ngit clone --recurse-submodules https://github.com/ActivityWatch/aw-watcher-web.git\ncd aw-watcher-web\n```\n\n2. Install dependencies:\n\n```sh\nmake install\n```\n\n3. Build the extension:\n\n```sh\n# For Firefox:\nmake build-firefox\n\n# For Chrome:\nmake build-chrome\n```\n\nThis will create zip files in the `artifacts` directory:\n\n- `artifacts/firefox.zip` for Firefox\n- `artifacts/chrome.zip` for Chrome\n\n### Installing the Development Build\n\n#### Chrome\n\n1. Extract `artifacts/chrome.zip` to a folder\n2. Go to `chrome://extensions`\n3. Enable \"Developer mode\"\n4. Click \"Load unpacked\" and select the extracted folder\n\n#### Firefox\n\n1. Go to `about:addons`\n2. Click the gear icon (⚙️) and select \"Install Add-on From File...\"\n3. Navigate to and select the `artifacts/firefox.zip` file\n\n\u003e [!NOTE]\n\u003e For Firefox, installing unsigned extensions requires Firefox Developer Edition or Nightly.\n\u003e In Firefox Developer Edition, you need to set `xpinstall.signatures.required` to `false` in `about:config`.\n\n[activitywatch]: https://github.com/ActivityWatch/activitywatch\n[firefox]: https://addons.mozilla.org/en-US/firefox/addon/aw-watcher-web/\n[chrome]: https://chromewebstore.google.com/detail/activitywatch-web-watcher/nglaklhklhcoonedhgnpgddginnjdadi\n[mozilla-policy]: https://mozilla.github.io/policy-templates/\n[gh-actions]: https://github.com/ActivityWatch/aw-watcher-web/actions/workflows/build.yml?query=branch%3Amaster+is%3Asuccess\n","funding_links":["https://github.com/sponsors/ActivityWatch","https://opencollective.com/activitywatch","https://liberapay.com/ActivityWatch","https://activitywatch.net/donate/"],"categories":["TypeScript","Browser Watchers :globe_with_meridians:"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FActivityWatch%2Faw-watcher-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FActivityWatch%2Faw-watcher-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FActivityWatch%2Faw-watcher-web/lists"}