Skip to content

ActivityWatch/aw-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cfba0b2 · Oct 13, 2024
Mar 23, 2023
Oct 5, 2024
Oct 13, 2024
Dec 7, 2020
Dec 7, 2020
Oct 19, 2023
Aug 2, 2023
Nov 2, 2017
Mar 29, 2017
Jun 10, 2024
Nov 8, 2022
Jul 8, 2016
May 6, 2024
Oct 25, 2023
Oct 13, 2024

Repository files navigation

aw-server

Build Status Coverage Status

ActivityWatch server, for secure storage and retrieval of all your Quantified Self data.

Note: In the future this will no longer be the default server used by ActivityWatch, instead we will be using aw-server-rust. The fate of this repo is uncertain, but it will likely be around and maintained for a while (as a reference implementation, for prototyping, etc).

Build and Install

To install program and dependencies, Poetry is required. You'll want to activate a venv before building.

make build

The aw-server binary should now be available to you in your PATH (if it is set correctly).

Usage

Run aw-server:

aw-server

Development

If you want to run aw-server in development, you probably want to run a development instance beside your personal (stable) instance. You can do this by giving aw-server the --testing flag. This will start the server on another port and use a separate datastore.

aw-server --testing

API Examples

You can also get a very decent API browser by browsing to localhost:5600 after starting the server.

There are also some API examples in the documentation.