https://github.com/activitywatch/aw-webui
Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.
Science Score: 26.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
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.4%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.
Basic Info
Statistics
- Stars: 122
- Watchers: 7
- Forks: 122
- Open Issues: 88
- Releases: 0
Topics
Metadata Files
README.md
aw-webui
A web-based UI for ActivityWatch, built with Vue.js
Getting started
Getting started with setting up the development environment is pretty straightforward:
```bash
Start an instance of aw-server running in testing mode (on port 5666, with a separate database),
This is what the web UI will connect to by default when run in development mode.
aw-qt --testing
or, to run without watchers:
aw-server --testing
Install dependencies
npm install
or, to get exact versions of dependencies:
npm ci
start aw-webui in dev mode
npm run serve ```
Alternatively, you can run make dev to install dependencies and serve the application locally.
You might have to configure CORS for it to work, see the CORS section below.
You may also want to generate fake data so you have something to test with, see: https://github.com/ActivityWatch/aw-fakedata/
Building
To build the production bundle, simply run the following:
```bash
Install dependencies
npm ci
Build for production
npm run build ```
Using a pre-release with your main install
Note: Running a development version of aw-webui with an old aw-server can lead to issues due to version incompatibilities.
By copying the web-assets to your main install
You can run a development version of aw-webui with your main version of ActivityWatch by building it (or fetching the latest build from CI) and replacing placing the contents of the static directory of your aw-server (or aw-server-rust) installation. For simplicity, back up the original directory for easier switching back.
The assets are stored in the following directories (relative to your installation directory), depending on if you use aw-server-python (default) or aw-server-rust:
- aw-server-python:
activitywatch/aw-server/aw_server/static/ - aw-server-rust:
activitywatch/aw-server-rust/static/
You can copy the assets manually from your make build or npm run build output to the above locations.
Once you've put the files in the directories, you may have to do a hard refresh in your browser to invalidate any stale caches.
Using your main install's data
If you want to actively iterate on aw-webui with your local production data (with your production server running), you'll want to use a development build, automatically update it, and connect to your production data. To do this, in aw-webui source directory, in one terminal window run:
bash
AW_SERVER_URL="'http://localhost:5600'" npx vue-cli-service build --watch --dest=../aw-server/static
If you want to add debugger statements in your code and otherwise break linting rules, you'll need to add a --skip-plugins=no-debugger to that command.
Then, in another terminal (with your venv activated) run:
shell
python3 -m http.server --bind 127.0.0.1 27180 --directory ../aw-server/static
Tests
Tests can be run with:
bash
npm test
There are also E2E tests. You need to have an aw-server and the web UI running in development mode (with npm run serve, as instructed above). After you have that setup, you can run the tests with:
bash
make test-e2e
Development
CORS
For development, you'll also have to add/change CORS configuration in the aw-server configs by adding cors_origins = http://localhost:27180 to your
configuration file /activitywatch/aw-server/aw-server.toml under respective sections (server-testing section when running server in testing mode).
Code structure
One of the first things that happen in the application is the execution of src/main.js. This loads things such as bootstrap-vue and a bunch of other stuff that's globally used (filters, resources).
The main.js file then loads the src/App.vue file, which is the root component of the application.
Owner
- Name: ActivityWatch
- Login: ActivityWatch
- Kind: organization
- Website: https://activitywatch.net
- Twitter: ActivityWatchIt
- Repositories: 57
- Profile: https://github.com/ActivityWatch
Open source time-tracking application with a focus on extensibility and privacy.
GitHub Events
Total
- Create event: 41
- Commit comment event: 69
- Issues event: 18
- Watch event: 21
- Delete event: 32
- Issue comment event: 121
- Push event: 29
- Pull request review comment event: 14
- Pull request review event: 55
- Pull request event: 113
- Fork event: 28
Last Year
- Create event: 41
- Commit comment event: 69
- Issues event: 18
- Watch event: 21
- Delete event: 32
- Issue comment event: 121
- Push event: 29
- Pull request review comment event: 14
- Pull request review event: 55
- Pull request event: 113
- Fork event: 28
Committers
Last synced: 8 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Erik Bjäreholt | e****k@b****t | 683 |
| Johan Bjäreholt | j****n@b****t | 211 |
| dependabot[bot] | 4****] | 55 |
| Michael Bianco | i****y@g****m | 18 |
| BelKed | 6****d | 17 |
| Bill-linux | b****i@h****m | 11 |
| Nicolae | s****e@g****m | 11 |
| Harsha Raghu | n****u@g****m | 6 |
| Tatsuyuki Ishi | i****i@g****m | 6 |
| Daniele Scasciafratte | m****t@g****m | 5 |
| Patrik Laurell | p****l@g****m | 4 |
| Ayush | a****h@l****m | 4 |
| Nicolai Weitkemper | n****o@g****m | 4 |
| Ian Obermiller | i****n@o****m | 3 |
| Pavel Kvach | p****h@g****m | 3 |
| Steven Weiss | s****e@g****m | 3 |
| Marco Schmidlin | mb@t****m | 2 |
| nikanar | n****6@g****m | 2 |
| Brayo | 6****p | 2 |
| Anthon Holmqvist | a****l@g****m | 2 |
| wojnilowicz | l****z@g****m | 2 |
| Chrisando Pramudhita | c****p@p****m | 1 |
| Chaoky | l****a@g****m | 1 |
| David Fraser | d****r | 1 |
| Denys Otrishko | s****i@g****m | 1 |
| Alwin J. Schuster | a****s@a****t | 1 |
| Ali Al Amine | a****i@t****m | 1 |
| 750 | 3****0 | 1 |
| Elijah Bodden | 1****n | 1 |
| Gabriel Le Breton | l****l@g****m | 1 |
| and 37 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 46
- Total pull requests: 408
- Average time to close issues: 3 months
- Average time to close pull requests: about 2 months
- Total issue authors: 32
- Total pull request authors: 49
- Average comments per issue: 1.0
- Average comments per pull request: 1.38
- Merged pull requests: 167
- Bot issues: 0
- Bot pull requests: 231
Past Year
- Issues: 19
- Pull requests: 126
- Average time to close issues: 3 days
- Average time to close pull requests: 18 days
- Issue authors: 17
- Pull request authors: 16
- Average comments per issue: 0.26
- Average comments per pull request: 0.99
- Merged pull requests: 48
- Bot issues: 0
- Bot pull requests: 69
Top Authors
Issue Authors
- BelKed (8)
- ErikBjare (4)
- brayo-pip (3)
- davidfraser (2)
- HadrienG2 (2)
- martin-kokos (1)
- baker221 (1)
- mosaleh52 (1)
- Dimava (1)
- Caellian (1)
- CowboyBebop (1)
- migueldeoleiros (1)
- AlexanderMakarov (1)
- RTnhN (1)
- bekicot (1)
Pull Request Authors
- dependabot[bot] (230)
- ErikBjare (52)
- BelKed (35)
- iloveitaly (7)
- ShootingKing-AM (6)
- wojnilowicz (6)
- pkvach (6)
- brayo-pip (6)
- nerumo (4)
- HomeArchbishop (2)
- Senophyx (2)
- 8Dion8 (2)
- RTnhN (2)
- nickcomua (2)
- ideadapt (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- actions/github-script v3.1.0 composite
- iterative/setup-cml v1 composite
- actions/checkout v2 composite
- actions/setup-node v1 composite
- DevExpress/testcafe-action latest composite
- actions/checkout v2 composite
- actions/setup-node v1 composite
- actions/setup-python v1 composite
- actions/upload-artifact v2-preview composite
- dawidd6/action-download-artifact v2 composite
- 1570 dependencies
- @babel/cli ^7.16.0 development
- @babel/core ^7.16.0 development
- @babel/plugin-proposal-nullish-coalescing-operator ^7.16.7 development
- @babel/plugin-syntax-dynamic-import ^7.8.3 development
- @babel/plugin-transform-runtime ^7.16.4 development
- @babel/preset-env ^7.16.4 development
- @babel/runtime ^7.16.3 development
- @typescript-eslint/eslint-plugin ^5.21 development
- @typescript-eslint/parser ^5.21 development
- @vue/cli-plugin-babel ^5.0 development
- @vue/cli-plugin-eslint ^5.0 development
- @vue/cli-plugin-pwa ^5.0 development
- @vue/cli-plugin-typescript ^5.0 development
- @vue/cli-plugin-unit-jest ^5.0 development
- @vue/cli-service ^5.0 development
- @vue/eslint-config-typescript ^10.0 development
- @vue/test-utils ^1.3.0 development
- @vue/vue2-jest ^27.0.0-alpha.4 development
- babel-loader ^8.2.3 development
- babel-plugin-lodash ^3.3.4 development
- connect-history-api-fallback ^1.5.0 development
- copy-webpack-plugin ^5.1.1 development
- crypto-js ^3.3.0 development
- css-loader ^3.6.0 development
- eslint ^7.0 development
- eslint-config-prettier ^6.11.0 development
- eslint-plugin-jest ^23.18 development
- eslint-plugin-prettier ^3.1 development
- eslint-plugin-vue ^8.0 development
- eventsource-polyfill ^0.9.6 development
- express ^4.16.3 development
- file-loader ^6.2 development
- function-bind ^1.0.2 development
- html-loader ^0.5.5 development
- html-webpack-plugin ^5.5.0 development
- http-proxy-middleware ^0.18.0 development
- json-loader ^0.5.7 development
- lodash ^4.17.19 development
- moment ^2.29.4 development
- moment-range ^3.1.1 development
- ora ^0.2.0 development
- prettier ^2.5.1 development
- pug ^3.0 development
- pug-plain-loader ^1.0.0 development
- sass-loader ^8.0.2 development
- shelljs ^0.8.5 development
- ts-jest ^27.0 development
- ts-loader ^9.0 development
- tslint ^5.20.1 development
- typescript ^4.5 development
- url-loader ^4.1 development
- vue ^2.7 development
- vue-cli-plugin-pug ^2.0.0 development
- vue-eslint-parser ^7.1 development
- vue-hot-reload-api ^2.3.4 development
- vue-loader ^17.0 development
- vue-router ^3.5.3 development
- vue-style-loader ^4.1.0 development
- webpack ^5.0 development
- webpack-dev-middleware ^3.7.2 development
- webpack-hot-middleware ^2.22.2 development
- webpack-merge ^4.2.2 development
- @egjs/hammerjs ^2.0.17
- @fullcalendar/timegrid ^5.10.1
- @fullcalendar/vue ^5.10.1
- @pinia/testing ^0.0.11
- @types/chart.js ^2.9.23
- @types/chrome 0.0.89
- @types/color ^3.0.1
- @types/d3 ^6.3.0
- @types/d3-hierarchy ^3.1.0
- @types/jest ^27
- @types/lodash ^4.14.178
- @types/node ^12.20.37
- ajv ^6.12.3
- ajv-keywords ^3.5.1
- aw-client ^0.3.2
- bootstrap ^4.6.1
- bootstrap-vue ^2.15.0
- chart.js ^3.8.0
- color ^3.0.0
- component-emitter ^1.3.0
- core-js ^3.19.3
- d3 ^6.7.0
- d3-scale ^4.0.2
- d3-scale-chromatic ^3.0.0
- domain-browser ^4.22.0
- dompurify ^2.3.4
- exports-loader ^0.7.0
- imports-loader ^0.8.0
- jest ^27
- jquery ^3.5.1
- jsdom ^16.5.0
- keycharm ^0.3.1
- less ^3.12.0
- less-loader ^10.2
- luxon ^1.24.1
- papaparse ^5.3.2
- pinia ^2.0.13
- propagating-hammerjs ^1.4.7
- sass ^1.44.0
- style-loader ^0.21.0
- typeface-varela-round 0.0.54
- uuid ^7.0.3
- vis-data ^7.1.2
- vis-timeline ^7.5.0
- vis-util ^5.0.2
- vue-awesome ^3.5.1
- vue-chartjs ^4.1.0
- vue-color ^2.8.1
- vue-d3-sunburst ^1.9.0
- vue-datetime ^1.0.0-beta.13
- vuedraggable ^2.24.3
- weekstart ^1.0.1
- xss ^1.0.8
- ridedott/merge-me-action v2 composite