/woffu-signer

Primary LanguageTypeScript

Woffu Signer

Description

Woffu Signer automatizes clocking in and out your workday in Woffu.

Features

  • You can continue to check-in and out manually. It will only check you in or out if by the time specified in configuration you haven´t check-in/out already.
  • It won´t check you in on bank holidays or personal vacation as long as they are specified in Woffu.
  • Timezone configurable so it works all year round.

Unsupported

  • Different schedules for check-in/out for different days are not supported. However, you can deploy Woffu Signer multiple times with different configurations for a similar effect.

Deploy

Deploy to Azure

Settings

  • WOFFU_URL: Your woffu url. ie: https://your_company.woffu.com
  • WOFFU_USERNAME
  • WOFFU_PASSWORD
  • SignInSchedule: Cron Expression when Sign in will be performed. See link
  • SignOutSchedule: Cron Expression when Sign out will be performed. See link
  • WEBSITE_TIME_ZONE: Timezone. Taken into account together with schedule expressions in order to fire signin/signout. See link

You can update settings in your FunctionApp at any time link.

Development

  1. Install Node version 12.17
  2. npm install -g azure-functions-core-tools@3
  3. npm install
  4. create a local.settings.json out of example.settings.json
  5. install Azure functions extension in VsCode (optional)
  6. npm start or run with vscode and azure functions extension