Giter Site home page Giter Site logo

rtrackr's Introduction

rTrackr

Personal productivity tracker

Allows user to track their activity across open windows and browser tabs and classify the time spent as Productive, Leisure or Neutral time.

Roadmap


ATTENTION - this project is still a work-in-progress


In order of priority from highest to lowest.

  • Support for Linux (xorg)
  • Persistent record store on file system
  • Express rules of classifying activities as productive, neutral or leisure via TOML configuration;
  • TUI
  • Projects
  • Support for Windows
  • Support for OSX
  • Persistent record store in the cloud

Development notes

Current unit tests mutate filesystem, which makes them dependent on the order of execution. Until this is fixed, it is preferable to run tests with

cargo test -- --test-threads 1

rtrackr's People

Contributors

nachasic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rtrackr's Issues

[Feature] Hook scripts

I would like to script some actions, depending on my activity status for habit management. For example, if I'm procrastinating, I could send a notification to myself to start a pomodoro timer.

Possible solution

Add a property to each activity called scripts that sets a path to a collection of shell scripts:

[[activity]]
name = "rtrackr"
productivity = 1
scripts = "~/activities/rtrackr/"

[[activity.rule]]
# ...

All relative path are considered relative to $XDG_DATA_HOME.

The program then looks for shell scripts in the folder, following a naming convention [status]-[delay-in-seconds]-Script_name.sh, example:

AFK-15-Get_back_to_work_notification.sh
AFK-30-Do_some_pushups_lock.sh

These scripts can send me notifications, kill my browser or even lock my session if I want them to.

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.