Skip to content
clariant @ arch : ~/clariant/projects/id-calendar-tui
cd ~/projects

~/projects/id-calendar-tui on ⎇ main [✓]❯cat case-study.md

shipped

id-calendar-tui: Self-Updating Holidays

An open-source contribution to Adi Purnama's terminal calendar for Indonesia. I replaced its hardcoded holiday tables with data that updates and releases itself, imported from the government's official joint-ministerial decree (SKB 3 Menteri).

id-calendar-tui showing December 2026, with 24 and 25 December marked as holidays and listed below as collective leave and Christmas Day
role
Open-source contributor
period
Jun – Oct 2026
status
shipped
Ruby GitHub Actions Open source

Context

id-calendar-tui is a small Ruby terminal app by Adi Purnama that shows the Indonesian calendar with public holidays and collective leave days. Its holidays lived in hardcoded tables, some of which had broken.

What I built

  • Holiday data that updates itself. The hardcoded tables are gone. Holidays now come from a data file that a weekly GitHub Actions workflow refreshes. The workflow re-enables itself on each run, because GitHub switches off scheduled workflows after 60 days without repository activity and this one commits only a few times a year.
  • The official source. Holidays are now imported from the government’s official joint-ministerial decree announcements (SKB 3 Menteri), the document that actually sets each year’s holidays and collective leave.
  • Automatic releases. When the data changes, the workflow bumps the version and publishes a release, so users pick up new holidays without anyone cutting a release by hand.

Stack

Ruby · GitHub Actions · JSON

~/projects/id-calendar-tui on ⎇ main [✓]❯cat links.md