#time-management

nightly app whos-online

Set of tool for warching whos tracking their time

3 releases

Uses old Rust 2015

0.1.2 Mar 12, 2018
0.1.1 Feb 22, 2018
0.1.0 Feb 19, 2018

#16 in #time-management

MIT license

13KB
279 lines

Whos-online

Build Status

Usage

  whos-online (-b | --bot) [--token=<bot_token>] [--host=<host>]
  whos-online (-c | --collector)
  whos-online (-d | --daemon) <token> <user> [--host=<host>] [--period=<period>] [--workspace=<ws>]
  whos-online (-h | --help)
  whos-online --version

Arguments:
  <token>                 Toggl API token that you may find at toggl.com/app/profile
  <user>                  Username for data reporting (handy to use telegram nickname)

Options:
  -b --bot                 Launch bot
  -c --collector           Launch tracking data collector
  -d --daemon              Launch submitting daemon
  --token=<bot_token>  Telegram bot token
  --host=<host>            Host for data reporting [default: http://127.0.0.1:8080]
  --period=<period>        Period of data reports [default: 30]
  --workspace=<ws>         Toggl workspace for monitoring
  --version                Show version.
  -h --help                Show this help.

Tool that is answer the question who is online of your colleagues. It's consist of the three main parts.

whosd

whosd is a daemon that periodically send the status from your toggl account. That's why you need to give it your token (you may find it at the profile settings). Besides you may set the host where submit your statuses and a period or how often should it be done.

The defaults are:

whosc

whosc is stands for collector. Its aim is grub all of the statuses.

whosb

whosb is a bot that answer the main question.

Dependencies

~30–41MB
~836K SLoC