tohn / ics2hugo

Convert an ICS calendar to Hugo markdown.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ics2hugo

This will convert any ics calendar url into an events.md file which can be imported into a Hugo website. It will contain only upcoming events.

Example:

python ics2hugo.py --url "https://example.org/calendar.ics" --path ~/path/to/hugo/content/calendar

If you want all events in separate markdown files (like in the origin repository), just remove the # at the beginning of some lines in ics2hugo.py.

About

Convert an ICS calendar to Hugo markdown.


Languages

Language:Python 72.3%Language:Shell 27.7%