{"id":19839063,"url":"https://github.com/fedebertolini/personio-slack-bot","last_synced_at":"2025-05-01T18:31:55.518Z","repository":{"id":44018010,"uuid":"107874530","full_name":"fedebertolini/personio-slack-bot","owner":"fedebertolini","description":"Slack bot that fetches today's events from Personio and posts a summary to a Slack channel","archived":false,"fork":false,"pushed_at":"2023-04-19T08:23:37.000Z","size":50,"stargazers_count":7,"open_issues_count":4,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-14T23:55:37.560Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fedebertolini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-22T14:45:14.000Z","updated_at":"2021-05-09T07:21:35.000Z","dependencies_parsed_at":"2022-08-26T01:32:44.433Z","dependency_job_id":null,"html_url":"https://github.com/fedebertolini/personio-slack-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fpersonio-slack-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fpersonio-slack-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fpersonio-slack-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fedebertolini%2Fpersonio-slack-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fedebertolini","download_url":"https://codeload.github.com/fedebertolini/personio-slack-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224271063,"owners_count":17283900,"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":[],"created_at":"2024-11-12T12:20:09.768Z","updated_at":"2024-11-12T12:20:11.730Z","avatar_url":"https://github.com/fedebertolini.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# personio-slack-bot\nNodeJS app that fetches today's events from [Personio](https://www.personio.de/) and posts a\nsummary to a [Slack](https://slack.com/) channel.\nIt also gets one of the current [Days of the year](https://www.daysoftheyear.com/) to use in\nthe Slack message.\n\n## Installation\nFirst install the node dependencies:\n`npm install` or `yarn install`.\n\nThen create a `.env` file (you can use [.env.dist](https://github.com/fedebertolini/personio-slack-bot/blob/master/.env.dist)\nas an example). You need to add these environment variable definitions:\n- `SLACK_HOOK_URL`: Slack's hook URL that will be used to post messages to Slack.\n- `SLACK_CHANNEL`: Slack's channel where the event report is going to be sent to.\n- `PERSONIO_CALENDARS`: List of calendar identifiers separated by comma. For each calendar id defined\nin this list you need to add another two environment variable definitions:\n  - `PERSONIO_URL_{CALENDAR_ID}`: Personio's _iCalendar_ link. You can get this link by going to the\n Personio's Calendar page, cliking the `ICAL` button, then changing the filters you want and finally\n copying the link.\n  - `PERSONIO_MESSAGE_{CALENDAR_ID}`: When the events are posted to Slack, these are grouped by Calendar\n ID. This env variable defines the group's header.\n- `IGNORE_LIST` (optional): comma separated list of employee names that should be ignored.\n\n## Usage\nRun `npm run start`.\n\n## Example\n`.env` file:\n```\nSLACK_HOOK_URL=https://hooks.slack.com/services/ABCDEF\nSLACK_CHANNEL=general\n\nPERSONIO_CALENDARS=BIRTHDAY,VACATION\n\nPERSONIO_URL_BIRTHDAY=https://my-company.personio.de/calendar/ical/123456/birthdays/0/calendar.ics\nPERSONIO_URL_VACATION=https://my-company.personio.de/calendar/ical/123456/vacations/0/calendar.ics\n\nPERSONIO_MESSAGE_BIRTHDAY=:birthday: *Birthday* :birthday:\nPERSONIO_MESSAGE_VACATION=:palm_tree: *Vacation* :palm_tree:\n```\n\nSlack message:\n```\nSunday 22nd of October - Nut Day\n\n:birthday: *Birthday* :birthday:\n- Jane Doe\n\n:palm_tree: *Vacation* :palm_tree:\n- Federico Bertolini\n- John Doe\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebertolini%2Fpersonio-slack-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedebertolini%2Fpersonio-slack-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedebertolini%2Fpersonio-slack-bot/lists"}