Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (33 loc) · 1.08 KB

ics2mattermost

Note

An ICS (calendar) parser; sending todays Events and Absentees to Mattermost.

This application was created out of need for a Mattermost notification, informing us of todays appointments. We wanted to display todays absentees, Meetingslinks and Daily/meeting times.

I use a personal access token to access our (confluence) ics calendar and parse todays appointments. One notification gets send to our channel with all of the aggregated information.

Usage

Currently four Env Variables are necessary to run the application:

export ICS_URL=<url to the ics calendar>

export MATTERMOST_URL=<url to the mattermost incoming webhook>

export ICS_USER=<login name to access the calendar>
export ICS_TOKEN=<personal access token to the calendar>

Remember: the ics/calendar config is done with confluence in mind

Development

Setup:

pre-commit install --hook-type commit-msg
brew install go
brew install podman-compose
podman-compose up

Creat a new Incomig Webhook Integration and export that URL as MATTERMOST_URL.

Run tests:

make test