{"id":19022952,"url":"https://github.com/chdsbd/timeoff","last_synced_at":"2026-04-16T00:31:42.053Z","repository":{"id":147774526,"uuid":"196858324","full_name":"chdsbd/timeoff","owner":"chdsbd","description":"🤖 A Slack bot to create time off requests at AdmitHub","archived":false,"fork":false,"pushed_at":"2019-09-02T03:58:08.000Z","size":166,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-30T06:36:01.332Z","etag":null,"topics":["flask","lambda","pdf-generation","slack-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/chdsbd.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":"2019-07-14T16:19:49.000Z","updated_at":"2021-09-22T03:00:39.000Z","dependencies_parsed_at":"2023-05-27T11:15:29.360Z","dependency_job_id":null,"html_url":"https://github.com/chdsbd/timeoff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chdsbd/timeoff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Ftimeoff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Ftimeoff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Ftimeoff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Ftimeoff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chdsbd","download_url":"https://codeload.github.com/chdsbd/timeoff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdsbd%2Ftimeoff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31866249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","lambda","pdf-generation","slack-bot"],"created_at":"2024-11-08T20:28:16.580Z","updated_at":"2026-04-16T00:31:42.021Z","avatar_url":"https://github.com/chdsbd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# time off\n\nThis bot isn't really useful for anyone besides employees at AdmitHub.\n\nThis bot is triggered by a slash command `/timeoff`, which opens a Slack dialog\nto get data to fill into the PDF form. Some Python code fills in a PDF and\nuploads it to the channel.\n\n\n## dev\n\n```bash\n# install dependencies\npoetry install\n\n# copy environment file\ncp .env-example .env\n\n# create an app and copy the token in the .env file\nopen 'https://api.slack.com/apps?new_app=1'\n\n# generate a pdf\npoetry run python -m timeoff.pdf_generation \\\n    --input-path form.pdf \\\n    --employee-name 'Christopher Dignam' \\\n    --employee-signature '~~Chris' \\\n    --employee-requested-dates '2019-08-16 to 2019-08-20'\n\n# start the slack bot web server\npoetry run python -m timeoff.web\n```\n\n## deployment\nDeployment uses zappa which is a wrapper around AWS Lambda. See the [Zappa\ndocumentation](https://github.com/Miserlou/Zappa) for info on setting up an\nenvironment.\n\nWhen you first deploy you'll get a health check error because we need to\nconfigure the environment variables for the lambda function to include the app\ntoken.\n\n```bash\n# setup an environment for the first time\npoetry run zappa deploy dev\n\n# redeploy an environment\npoetry run zappa update dev\n\n# view logs\npoetry run zappa tail dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdsbd%2Ftimeoff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchdsbd%2Ftimeoff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdsbd%2Ftimeoff/lists"}