GithubHelp home page GithubHelp logo

ergometer's Introduction

Ergometer

Ergometer is a Mac app intended to prevent or mitigate RSI by monitoring keyboard and mouse activity. If you use it, you'll probably want to fork the code and tweak it first.

Build

Open Ergometer.xcodeproj in Xcode. To build a release version, choose Product > Archive in the menu.

Install

Right-click on the archive you just built and Open in Finder, then right-click and Show Package Contents, then copy Products/Applications/Ergometer to /Applications.

Configure

Create or modify ~/Library/Containers/net.lunis.Ergometer/Data/targets.json to specify usage targets in seconds, e.g. {"day": 7200, "session": 900, "rest": 300} will target two hours per day and fifteen minutes per session with a five-minute rest between sessions.

Ergometer must be restarted for the changes to take effect.

Use

Launch Ergometer, right-click on its icon in the Dock, and choose Open at Login.

Ergometer creates a system menu bar item that shows the remaining daily, session, and rest time in minutes. When the daily and session targets approach, the screen will begin darkening to suggest that you take a break.

Notes

~/Library/Containers/net.lunis.Ergometer/Data/metrics.json will contain the number of seconds of usage per day (each day begins at 4 AM local time).

The code ignores events from GWS IDI Device since those are a particular brand of foot pedals that I happen to own.

ergometer's People

Contributors

lslunis avatar konstell avatar stephantlavavej avatar dayorbyte avatar patricklaw avatar dependabot[bot] avatar

Watchers

James Cloos 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.