~/projects/id-calendar-tui⎇ main✓❯cat case-study.md
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).
- Open-source contributor
- Jun – Oct 2026
- 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⎇ main✓❯cat links.md