Git Product home page Git Product logo

woffu-autologin-script's Introduction

woffu-autologin-script

This is a small script that auto checks you into your Woffu organization, based on the original https://github.com/d-hervas/woffu-autologin-script

I forked this project from the original to add support for automatic detection of working days. Working days are defined as:

  • not in the weekend
  • not a requested PTO
  • and not a bank holiday

The script won't sign in if today is detected as a non-working day.

The simplest way to use it is to set up a cron job / scheduled task that signs you on/off. The script does not know anything about changes in your working hours (i.e. summer schedule) and you need to address that in your cron job.

Telegram support

The telegram support relies on these environtment vars:

  • WOFFU_TELEGRAM_APITOKEN
  • WOFFU_TELEGRAM_CHATID

The first one is the Telegram ChatBot API Token that you can get from the @BotFather. And the second one is the ID of the chat you want it to sent the messages.

Once these two vars are set every execution will output its result to this chat, so you can easily track that your signins are running fine (or not).

woffu-autologin-script's People

Contributors

enlavin avatar d-hervas avatar javinievas avatar jjimenezlopez avatar migue-pki 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.