Coder Social home page Coder Social logo

activitywatch / aw-server Goto Github PK

View Code? Open in Web Editor NEW
83.0 9.0 49.0 652 KB

ActivityWatch server for storage of all your Quantified Self data.

License: Mozilla Public License 2.0

Python 97.12% Makefile 2.88%
activitywatch server rest-api python sqlite

aw-server's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.