https://github.com/activitywatch/aw-watcher-web

Browser watcher for ActivityWatch

https://github.com/activitywatch/aw-watcher-web

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 20 committers (5.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary

Keywords

activitywatch chrome-extension firefox-extension quantified-self time-tracker webextension

Keywords from Contributors

timetracker webui productivity afk time-tracking sequences projection interactive charting archival
Last synced: 5 months ago · JSON representation

Repository

Browser watcher for ActivityWatch

Basic Info
  • Host: GitHub
  • Owner: ActivityWatch
  • License: mpl-2.0
  • Language: TypeScript
  • Default Branch: master
  • Homepage:
  • Size: 430 KB
Statistics
  • Stars: 436
  • Watchers: 10
  • Forks: 67
  • Open Issues: 37
  • Releases: 7
Topics
activitywatch chrome-extension firefox-extension quantified-self time-tracker webextension
Created about 9 years ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

aw-watcher-web

Chrome Web Store Mozilla Add-on

A cross-browser WebExtension that serves as a web browser watcher for ActivityWatch.

Installation

Official Releases

Install from official stores:

Development Build

Download the latest development build from our GitHub Actions:

  1. Click on the latest successful workflow run
  2. Scroll down to "Artifacts"
  3. Download either firefox.zip or chrome.zip

[!NOTE]

  • GitHub login is required to download artifacts
  • These builds are unsigned and require developer mode/settings

Firefox Enterprise Policy

[!NOTE] 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.

Due 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):

json { "policies": { "3rdparty": { "Extensions": { "{ef87d84c-2127-493f-b952-5b4e744245bc}": { "consentOfflineDataCollection": true } } } } }

Building from Source

Prerequisites

  • Node.js (23 or higher)
  • Git
  • Make

Build Steps

  1. Clone the repository with submodules:

sh git clone --recurse-submodules https://github.com/ActivityWatch/aw-watcher-web.git cd aw-watcher-web

  1. Install dependencies:

sh make install

  1. Build the extension:

```sh

For Firefox:

make build-firefox

For Chrome:

make build-chrome ```

This will create zip files in the artifacts directory:

  • artifacts/firefox.zip for Firefox
  • artifacts/chrome.zip for Chrome

if you want to build safari version

  1. First follow the steps above to build the extension:

sh make install make build-safari

  1. Convert the extension to Safari format:

sh xcrun safari-web-extension-converter ./build

after finished, xcode will open automatically.

  1. In Xcode:
  • Select build target of macOS
  • Build the project (⌘B)
  • Run the extension (⌘R)
  1. Enable the extension in Safari:
    • Open Safari
    • Go to Safari > Settings > Extensions
    • Enable "aw-watcher-web"

[!NOTE]

  • You need Xcode installed to build Safari extensions
  • The extension needs to be signed with your Apple Developer account
  • Safari extensions require macOS 11.0 or later

Installing the Development Build

Chrome

  1. Extract artifacts/chrome.zip to a folder
  2. Go to chrome://extensions
  3. Enable "Developer mode"
  4. Click "Load unpacked" and select the extracted folder

Firefox

  1. Go to about:addons
  2. Click the gear icon (⚙️) and select "Install Add-on From File..."
  3. Navigate to and select the artifacts/firefox.zip file

[!NOTE] For Firefox, installing unsigned extensions requires Firefox Developer Edition or Nightly. In Firefox Developer Edition, you need to set xpinstall.signatures.required to false in about:config.

Owner

  • Name: ActivityWatch
  • Login: ActivityWatch
  • Kind: organization

Open source time-tracking application with a focus on extensibility and privacy.

GitHub Events

Total
  • Create event: 9
  • Release event: 2
  • Issues event: 52
  • Watch event: 98
  • Delete event: 5
  • Issue comment event: 195
  • Push event: 22
  • Pull request review event: 62
  • Pull request review comment event: 43
  • Pull request event: 59
  • Fork event: 20
Last Year
  • Create event: 9
  • Release event: 2
  • Issues event: 52
  • Watch event: 98
  • Delete event: 5
  • Issue comment event: 195
  • Push event: 22
  • Pull request review event: 62
  • Pull request review comment event: 43
  • Pull request event: 59
  • Fork event: 20

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 167
  • Total Committers: 20
  • Avg Commits per committer: 8.35
  • Development Distribution Score (DDS): 0.569
Past Year
  • Commits: 59
  • Committers: 6
  • Avg Commits per committer: 9.833
  • Development Distribution Score (DDS): 0.424
Top Committers
Name Email Commits
Erik Bjäreholt e****k@b****t 72
BelKed 6****d 34
Johan Bjäreholt j****n@b****t 32
Liam Dyer l****r@g****m 7
dependabot[bot] 4****] 5
je-l j****l 3
A_A a****a@a****1 1
wiaterb w****b@g****l 1
A_A 2****A 1
Adam Kwoska a****a@f****e 1
Aditya Raj Singh 4****j 1
Artur 5****n 1
Juan Castro-Varón j****n@c****m 1
Mathias 1****4 1
Morpheus0x m****x@p****e 1
Simon Slamka S****0@p****h 1
Zinkelburger 6****r 1
idevlp 9****p 1
lgtm-com[bot] 4****] 1
wiaterb w****b@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 106
  • Total pull requests: 107
  • Average time to close issues: 6 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 90
  • Total pull request authors: 31
  • Average comments per issue: 3.58
  • Average comments per pull request: 1.74
  • Merged pull requests: 56
  • Bot issues: 1
  • Bot pull requests: 21
Past Year
  • Issues: 27
  • Pull requests: 59
  • Average time to close issues: 23 days
  • Average time to close pull requests: 10 days
  • Issue authors: 24
  • Pull request authors: 14
  • Average comments per issue: 2.19
  • Average comments per pull request: 1.34
  • Merged pull requests: 28
  • Bot issues: 1
  • Bot pull requests: 8
Top Authors
Issue Authors
  • ErikBjare (9)
  • BelKed (3)
  • johan-bjareholt (2)
  • powellnorma (2)
  • dufferzafar (2)
  • je-l (2)
  • watertrainer (2)
  • Victor239 (2)
  • JSteeleIR (1)
  • abinayajay (1)
  • youve (1)
  • jon-chard (1)
  • phandox (1)
  • KillyMXI (1)
  • binishjoshi (1)
Pull Request Authors
  • BelKed (32)
  • dependabot[bot] (20)
  • ErikBjare (9)
  • johan-bjareholt (7)
  • justadityaraj (4)
  • cweiske (2)
  • simonSlamka (2)
  • bartlomiejwiater (2)
  • ItsMeRomian (2)
  • Saghen (2)
  • marleypowell (2)
  • zackwithak13 (2)
  • haroon7v (2)
  • bugparty (2)
  • jjcastro (2)
Top Labels
Issue Labels
bug (2) question (1) invalid (1) duplicate (1)
Pull Request Labels
dependencies (20) javascript (8) review (1)

Dependencies

package-lock.json npm
  • 143 dependencies
package.json npm
  • browserify ^16.5.2
  • p-retry ^4.4.0
  • ua-parser-js ^0.7.24
.github/workflows/build.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v1 composite
  • actions/upload-artifact v2-preview composite
.github/workflows/codeql.yml actions
  • actions/checkout v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/autobuild v2 composite
  • github/codeql-action/init v2 composite