Giter Club home page Giter Club logo

aw-watcher-netstatus's Introduction

aw-watcher-netstatus

An ActivityWatch monitor for observing the network connection status.

Purpose

On the internet, Wonderland is recursive, with rabbit holes opening up to yet more rabbit holes; you never stop falling.

Henrik Karlsson

Librar𝘪𝘦𝘴 of Alexandria, brimming with knowledge, promise, culture; an unrelenting, expanding periphery; innumerable collections of untold riches; a source of wonder and awe—all a single keypress away. It's suffocating.

Installation

  1. Install the module with pip. This will add aw-watcher-netstatus to your $PATH.

    pip install aw-watcher-netstatus
    
  2. aw-qt can now find the module; to start it by default add aw-watcher-netstatus to the aw-qt.toml configuration file (find the location here), e.g.

    $ cat  $AW_DIRECTORY/aw-qt/aw-qt.toml
    
    [aw-qt]
    autostart_modules = ["aw-server", "aw-watcher-afk", "aw-watcher-window", "aw-watcher-netstatus"]
    

Development

  1. Prerequisites: Clone the repository. Install Poetry.

  2. Run poetry install in the root of the directory.

  3. Start the ActivityWatch server in development mode:

    $ AW_PATH/aw-server --testing --verbose
    
  4. Run aw-watcher-netstatus in development mode, this will connect to localhost:8080 by default.

    $ poetry run aw-watcher-netstatus --testing -v
    
  5. Open a socket at that port; observe the logs produced by aw-watcher-netstatus, view the timeline at localhost:5666.

    nc -l -k 8080
    

aw-watcher-netstatus's People

Contributors

sameersismail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.