xylix / aw-webui

Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aw-webui

A webui for ActivityWatch built in Vue.js

Build Status Known Vulnerabilities

Getting started

# update submodule
git submodule update --init --recursive

# install aw-client-js and aw-webui
make install

# Make sure you have aw-server running, the testing port will be used by default
# so make sure you are running with the --testing flag
aw-server --testing

# start aw-webui in dev mode
npm run serve

Development

CORS

For development you'll also have to add/change CORS configuration in the aw-server config 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.

Building

# build for production
npm run build

About

Webapp for visualizing and browsing ActivityWatch data, built with Vue.js.

License:Mozilla Public License 2.0


Languages

Language:Vue 56.2%Language:JavaScript 30.1%Language:TypeScript 12.9%Language:HTML 0.5%Language:Makefile 0.2%Language:CSS 0.0%