Skip to content
← Back to Projects
Long Weekend logo

Long Weekend

Live

Everyone has a handful of vacation days and a calendar full of holidays. Long Weekend lines them up for you. Tell it how many days you have and which days you work, and it finds the plans that give you the most time off in a row: take the Tuesday after a Monday holiday, bridge two weekends, and five days become sixteen. Pick a plan, drop it in your calendar, and go. Free, on any phone or computer, with nothing to sign up for.

Screenshots

What It Does

  • →Takes how many vacation days you have and which days you work, and ranks every plan by the days off it gives you, best first
  • →Bridges holidays and weekends with the fewest vacation days, so five days can turn into sixteen off
  • →Has a page for every federal holiday by year, with its date and the best days to take off, and state pages that add the state's own days
  • →Lets you block out dates, set limits, compare plans and see the holidays you get
  • →Adds a plan to your calendar as an .ics file, prints it on one page, or shares the whole plan in a link
  • →Installs on your phone and works offline, with no account, no cookies and no trackers

What I Built

  • →An exact optimizer that searches every way to spend your days across a year, tested against brute force
  • →Holiday rules computed from each holiday's legal date rule, and state records that each carry their source, citation and date checked
  • →A small Node build that prerenders every page, the sitemap and a service worker, behind a gate that checks the output before it ships
  • →Share links that hold the whole plan in the address, calendar export and a printable page, with nothing stored on a server
  • →Plain ES modules with no framework, 28 tests, and a hostile-request run against the real server