Skip to content

An ICS (calendar) parser; sending today's Events and Absentees to Mattermost

License

Notifications You must be signed in to change notification settings

nce/ics2mattermost

Repository files navigation

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

About

An ICS (calendar) parser; sending today's Events and Absentees to Mattermost

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages