Giter Site home page Giter Site logo

worktimebot's Introduction

Work time bot

A simple bot for Telegram written in Java, that allows its users to clock in, clock out and review their time balance.

The bot features

  • calculation of time balance
  • translations (English, Russian, German, Japanese)
  • easy to use interface (inline buttons for clock in / clock out)
  • configurable working hours per week day
  • definition of arbitrary holidays
  • file export
  • arbitrary comments along a time stamp e.g. current work item / ticket number / diary entry / etc.
  • simple server side persistence
  • on demand deletion of user data

Try it out

An up-to-date installation is running here: Open link with telegram client

Some outdated screenshots of the welcome screen, language selection and example actions:

Screenshot 1

Screenshot 2

Building and using your own bot

Prerequisites

You need a Telegram Client + Java and Maven to compile and run the bot:

  1. Download source of Work time bot.
  2. Build all in one jar file:
   mvn clean install
  1. Search for "BotFather" in Telegram, tell it to create a new bot and remember its BOT-TOKEN for Telegram API calls
  2. Start the program:
java -jar timerclockbot-1.0.0.jar BOT-TOKEN

-> Your bot is up and running and is ready to manage your working time in Telegram.

worktimebot's People

Contributors

andreasvida avatar taschentuch9 avatar

Watchers

 avatar

Forkers

taschentuch9

worktimebot's Issues

User settings: time zone

Add a command to store the user time zone in userSettings,
consider it in calculation logic of timeclock.

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.