Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
/ ics2mattermost Public archive

Send daily or weekly events summary to Mattermost

License

Notifications You must be signed in to change notification settings

adipasquale/ics2mattermost

Repository files navigation

ICS 2 Mattermost

Sends daily and weekly events summaries to Mattermost

Screenshot 2022-04-21 at 18 56 40

  • This script runs every morning, fetches an ICS calendar from a URL, and sends a webhook notification to Mattermost
  • On monday mornings, it generates a notification with all the upcoming week events
  • On other weekday mornings, the summary contains only the day events

Deploy to Scalingo

  • Create an app and deploy this repository to it
  • Set these environment variables:
CALENDAR_ICS_URL="https://blah.com/cal.ics"
CALENDAR_WEB_URL="https://blah.com/cal.html"
MATTERMOST_HOOK_URL="https://mattermost.website/hooks/xxxxx"
MATTERMOST_CHANNEL="some-channel"
  • scale down the web process, only one-off CRON processes will run

Dev

  • make install
  • cp .env.sample .env
  • update env variables in .env
  • make run

About

Send daily or weekly events summary to Mattermost

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published