Git Product home page Git Product logo

mahakala's Introduction

mahakala

Node.js CI Libraries.io dependency status for GitHub repo Maintainability Known Vulnerabilities Coverage Status Maintenance GitHub license DeepScan grade

Purpose

Mahakala is just a small command-line application which is able to query a NovaTime© time tracking system for your state (present/absent).

Motivation

My current employer is using a time tracking system. And I, not being used to a punch clock, keep forgetting to "punch in" in the morning or after the lunch break which means I'm essentially working for free then. So I was looking for way to see my time tracking state in the menu bar of my mac. BitBar is an excellent way of adding information to your menu bar, but how to get the information from our NovaTime© installation?

In addition to the practical reason mentioned above, I was also looking for an excuse to try out monad transformers or to be more precise ReaderT as way to improve the testability of effectful code.

Usage

In our home directory you have to create a file called .mahakala. The content of the file should be JSON of the following schema:

{"userName": "1234", "password": "secret", "url": "http://yourLocalNovaTimeInstallation/cgi-bin/htm_term.cgi"}

where userName is the account name/number which you normally use to sign in. password does not need any explanation and url should point to your local NovaTime© installation.

After that you can use run mahakala and it should output the following:

  • 💓 – The system considers you being present
  • 💔 – The system considers you being absent
  • 💥 - Mahakala was not able to fetch the state during error, e.g. no network connection

Disclaimer

NOVAtime and NOVAtime logo are registered trademarks of NOVAtime Technology, Inc. The name NOVAtime Technology, Inc. and NOVAtimeAnywhere are registered trademarks of NOVAtime.

mahakala's People

Contributors

dependabot[bot] avatar kyusu avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

brainhub24

mahakala's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm request Unavailable

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/node.js.yml
  • actions/checkout v4
  • actions/setup-node v3
npm
package.json
  • crocks ^0.12.0
  • request ^2.88.0
  • eslint 8.51.0
  • eslint-plugin-fp 2.3.0
  • eslint-plugin-jest 27.4.2
  • jest 29.7.0
  • responselike 2.0.1
  • node >= 14.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

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.