{"id":14955580,"url":"https://github.com/codica2/timebot","last_synced_at":"2025-10-01T18:31:38.209Z","repository":{"id":98304093,"uuid":"65726345","full_name":"codica2/timebot","owner":"codica2","description":":robot: Timebot is a Slack bot for helping with everyday timesheet","archived":false,"fork":false,"pushed_at":"2019-04-12T08:34:37.000Z","size":5335,"stargazers_count":28,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T11:21:14.770Z","etag":null,"topics":["rails","rails-api","rails-application","rails5","slack","slack-bot","timebot"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codica2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-15T11:07:52.000Z","updated_at":"2024-07-01T09:28:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"1716d05c-9f25-4f04-9aa2-e06b62d5deb4","html_url":"https://github.com/codica2/timebot","commit_stats":{"total_commits":269,"total_committers":11,"mean_commits":"24.454545454545453","dds":0.6096654275092936,"last_synced_commit":"ee7396d297abbd83161da60bd268ba4a2d648f66"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Ftimebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Ftimebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Ftimebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codica2%2Ftimebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codica2","download_url":"https://codeload.github.com/codica2/timebot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234724493,"owners_count":18877200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rails","rails-api","rails-application","rails5","slack","slack-bot","timebot"],"created_at":"2024-09-24T13:11:24.030Z","updated_at":"2025-10-01T18:31:37.574Z","avatar_url":"https://github.com/codica2.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSlack Time-Tracking Bot\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg width=\"110px\" src=\"public/images/c-3po.jpg\"\u003e\n\u003c/p\u003e\n\n**Timebot** is a time-tracking system allowing to enter the number of hours spent on a particular project and monitor a development workflow as a whole. The information will reflect in each member’s timesheet, which can be later viewed and edited.\n\n## Сore Functionality\n##### 1. Time tracking\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"public/gifs/logtime_dialog.gif\"\u003e\n\u003c/p\u003e\n\n\u003ch6 align=\"center\"\u003eOR\u003c/h6\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/gifs/logtime_simple.gif\"\u003e\n\u003c/p\u003e\n\n##### 2. Absences\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"public/gifs/abs.gif\" \u003e\n\u003c/p\u003e\n\n##### 3. Reports\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"public/gifs/reports.gif\" \u003e\n\u003c/p\u003e\n\n##### 4. Projects\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"public/gifs/projects.gif\" \u003e\n\u003c/p\u003e\n\n## All available commands\n\n| Commands                                                                           | Description                                                  |\n| ---------------------------------------------------------------------------------- | ------------------------------------------------------------ |\n| `help`                                                                             | print help.                                                  |\n| `projects`                                                                         | print all available projects projects.                       |\n| `find project SEARCH_QUERY`                                                        | find specific project.                                       |\n| `PROJECT_NAME HOURS:MINUTES COMMENT`                                               | log time.                                                    |\n| `/logtime`                                                                         | log time via interective dialog.                             |\n| `edit NEW_DATE(OPTIONAL) TIME_ENTRY_ID HOURS:MINUTES COMMENT`                      | edit an existing time entry.                                 |\n| `update(OPTIONAL) DAY.MONTH.YEAR PROJECT_NAME HOURS:MINUTES COMMENT`               | create an entry for the specific date.                       |\n| `add project PROJECT_NAME`                                                         | add new project.                                             |\n| `show day`/`show week`/`show month`                                                | get report for this day/week/month.                          |\n| `show absence`/`show absence last year`                                            | display absences.                                            |\n| `set REASON DAY.MONTH.YEAR(OPTIONAL) - DAY.MONTH.YEAR(OPTIONAL) COMMENT(OPTIONAL)` | if you were/will be absent on some days.                     |\n\n## API Documentation\nThe application also provides comprehensive API documentation for integrating client applications. [Full docs can be found here](https://gitlab.codica.com/codica2/timebot/blob/feature/readme/docs.md)\n\n## How to install for your team?\n### Requirements\n  - `rails 5.0`\n  - `ruby 2.3.3`\n  - `PostgresQL`\n\n### Getting started\n**Step 1:** Clone the app\n\n```shell\n git clone git@gitlab.codica.com:codica2/timebot.git\n cd timebot\n```\n**Step 2** Add environment variables to **.env** (*create file if don't exist*)\n```\n SECRET_KEY_BASE=`secret_key_base`\n SLACK_TOKEN=`slack_token`\n TIMEBOT_APP_TOKEN=`slack_timebot_app_token`\n TRELLO_MEMBER_TOKEN=`member_token`\n```\n1. [How to get](#user-content--secret-key-base) `secret_key_base`\n2. [How to get](#user-content--adding-slack-bot-integration) `slack_token`\n3. [How to get](#user-content--building-slack-app) `slack_timebot_app_token`\n4. [How to get](#user-content--trello-integration) `member_token`\n\n**Step 3:**  Add config files:\n```shell\n mv config/database.yml.example config/database.yml\n```\n**Step 4:**  Install the app's dependencies:\n\n```shell\n bundle install \u0026\u0026 bundle exec rake db:create \u0026\u0026 bundle exec rake db:migrate\n```\n\n### Integrations\n---\n\n#### [](#slack_timebot_app_token) Building Slack App\n\n  1 Go to [Slack API](http://https://api.slack.com \"Slack API\")\n\n  2 Click **Start Building** button\n\n  3 In the dialog that opens, select the name of your application and the workspace in which your application should work.\n\n  4 After successful creation:\n  - Go to the slash command tab\n  - Press **Add new command** button\n  - Fill Command field with **/logtime**\n  - Fill Request URL with **https://your_domain_name.com/api/v1/slack/command**\n  - Press save\n\n  5 Go to Interactive Components tab\n  - Fill Request URL field with **https://your_domain_name.com/api/v1/slack/submission**\n  - Press save\n\n  6 Add Bot user on **Bot users** tab\n\n  7 Got to OAuth \u0026 Permissions tab\n\n  - Press **Install App to Workspace** button\n  - Copy `Bot User OAuth Access Token` and paste to **.env** `slack_timebot_app_token=`\n\n#### [](#slack_token) Adding Slack Bot integration\n\n  1 Choose your workspace\n\n  2 Add configuration\n\n  3 Choose a name for your slack bot\n\n  4 Get your `slack_token`\n\n#### [](#member_token) Trello integration\n\n  [Hot to get trello token read here](https://developers.trello.com/v1.0/reference#introduction)\n\n#### [](#secret_key_base) Secret key base\n\n  Just run `rake secret`\n\n## License\nTimebot is Copyright © 2015-2019 Codica. It is released under the [MIT License](https://opensource.org/licenses/MIT).\n\n## About Codica\n\n[![Codica logo](https://www.codica.com/assets/images/logo/logo.svg)](https://www.codica.com)\n\nTimebot is maintained and funded by Codica. The names and logos for Codica are trademarks of Codica.\n\nWe love open source software! See [our other projects](https://github.com/codica2) or [hire us](https://www.codica.com/) to design, develop, and grow your product.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodica2%2Ftimebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodica2%2Ftimebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodica2%2Ftimebot/lists"}