All Projects → ActivityWatch → aw-webui

ActivityWatch / aw-webui

Licence: MPL-2.0 license
Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.

Programming Languages

Vue
7211 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to aw-webui

TerraDepot
A terraform http backend written in python, deployed on aws lambda.
Stars: ✭ 60 (-11.76%)
Mutual labels:  webui
angular-alerta-webui
Alerta Web UI 6.0 (DEPRECATED) - See latest version Web UI 7.0
Stars: ✭ 69 (+1.47%)
Mutual labels:  webui
machinaris
An easy-to-use WebUI for crypto plotting and farming. Offers Plotman, MadMax, Chiadog, Bladebit, Farmr, and Forktools in a Docker container. Supports Chia, MMX, Chives, Flax, HDDCoin, and BPX among others.
Stars: ✭ 324 (+376.47%)
Mutual labels:  webui
WebView
Efficient UE browser uses CEF open source kernel; When the frame rate is 60 per second and the resolution is 4K, a single GPU is rendered, and the UE and browser will not lose frames. 8K frame rate does not decrease under multi GPU binding.
Stars: ✭ 157 (+130.88%)
Mutual labels:  webui
coctohug
Coctohug - Manage dozens of chia forks mining from a web browser! Nice localization with support of dozens of languages. Runs on Linux, Windows, MacOS, and more...
Stars: ✭ 36 (-47.06%)
Mutual labels:  webui
aw-watcher-spotify
Logs what you listen to on Spotify
Stars: ✭ 41 (-39.71%)
Mutual labels:  activitywatch
aw-watcher-jetbrains
This extension allows the open source tracking tool ActivityWatch to keep track of the projects and coding languages you use in jetbrains IDEs.
Stars: ✭ 36 (-47.06%)
Mutual labels:  activitywatch
roxy-wi
Web interface for managing Haproxy, Nginx, Apache and Keepalived servers
Stars: ✭ 1,109 (+1530.88%)
Mutual labels:  webui
s9k
dashboard/web app for managing kubernetes clusters, with similar functionality as k9s
Stars: ✭ 15 (-77.94%)
Mutual labels:  webui
aw-client
Client library for ActivityWatch
Stars: ✭ 27 (-60.29%)
Mutual labels:  activitywatch
Molder
BDD steps libraries for test automation databases, web services, and WebUI
Stars: ✭ 16 (-76.47%)
Mutual labels:  webui
oraclesolaris-contrib
oraclesolaris-contrib is a repository focussed on the Oracle Solaris 11.4 StatsStore, using methodologies like REST to connect to Oracle Solaris 11.4 and the new features being introduced in Oracle Solaris 11.4 OS.
Stars: ✭ 46 (-32.35%)
Mutual labels:  webui
NetworkManager-WiFi-WebUI
Web interface (python2/twisted) for NetworkManager daemon to manage WiFi connections
Stars: ✭ 42 (-38.24%)
Mutual labels:  webui
ServerStatus-web
Web UI for ServerStatus
Stars: ✭ 96 (+41.18%)
Mutual labels:  webui
handbrake-nvenc-docker
Handbrake GUI with Web browser and VNC access. Supports NVENC encoding
Stars: ✭ 32 (-52.94%)
Mutual labels:  webui
Activitywatch
The goal of ActivityWatch is simple: Enable the collection of as much valuable lifedata as possible without compromising user privacy.
Stars: ✭ 5,927 (+8616.18%)
Mutual labels:  activitywatch
thesis
MSc thesis on: Classifying brain activity using EEG and automated time tracking of computer use (using ActivityWatch)
Stars: ✭ 44 (-35.29%)
Mutual labels:  activitywatch
OPQBot-GroupManager
OPQBot 群管理机器人
Stars: ✭ 25 (-63.24%)
Mutual labels:  webui
aw-server-rust
High-performance implementation of the ActivityWatch server, written in Rust
Stars: ✭ 76 (+11.76%)
Mutual labels:  activitywatch
gsn
Global Sensor Networks
Stars: ✭ 53 (-22.06%)
Mutual labels:  webui

aw-webui

A web-based UI for ActivityWatch, built with Vue.js

Build Status Coverage Status Known Vulnerabilities

Getting started

Getting started with setting up the development environment is pretty straight forward:

# 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:

# 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.

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/

Either copy the assets manually, or run make build from the aw-server parent directory to rebuild and copy the assets for you.

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.

If you want to actively iterate on aw-webui with your local production data, you'll want to use a development build, automatically update it, and connect a aw-server running against production data. To do this, in one terminal window run:

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, assuming you are using python aw-server) run:

poetry install
aw-server

Tests

Tests can be run with:

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:

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 ~/.config/activitywatch/aw-server/aw-server.ini under the server-testing section.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].