Pero Grubač

excuse.exe

One button, one excuse, from 1,600+ in English and 1,250+ in Serbian.

excuse.exe: a generated tech excuse with the category chips, the Generate excuse button and Copy, Share and Saved buttons

What it does

Seven categories, from Work and Tech to Mood, Social and Absurd, sit as filter chips under the title. A new excuse comes with the button, the space bar or Enter, and nothing repeats within the current filter until every excuse in it has been shown. There is also an excuse of the day: one per local date and language, the same on every device.

Every excuse has a stable id such as en-0042, which the address bar always shows, so Share sends a link that opens exactly that excuse and switches the language if needed. The app switches between English and Serbian at any time, keeps favourites per language, and copies or shares an excuse in one tap. It has no framework, no build step and no runtime dependencies, makes no external requests, and works offline after the first visit.

Decisions and why

  • One JSON file per language. Excuses are data, not code: easy to edit, easy to validate, and only the active language is loaded.
  • Stable ids instead of positions, so links and favourites survive edits, reordering and new excuses.
  • A set of used ids per filter instead of a shuffled list. Changing the category keeps what you have already seen.
  • Pure logic in its own module. Picking, id lookup, the daily pick and the favourites migration have no DOM access, so they are unit-tested directly.
  • Network-first pages, with cached files refreshed in the background. Visitors get an instant offline app, and since nothing is cached on localhost, development never fights a stale cache.

Testing

There are 27 unit tests and 12 Playwright tests on desktop and mobile. The data tests check every excuse file for ids, categories, blanks and duplicates, and check that the “N+” counts in the subtitle are true.

HomepageAboutsectionSystemssectionIndex of projectssectionBrowser appspageContactsectionIncident Alertsystem · case studyeMobilityHubsystem · case studyChat Roomsystem · case studyOnline Library Systemsystem · case studyRepoHealthlive app · case studyOpen RepoHealth app (opens in a new tab)live appGitHub Discord Bottool · case studyBookstore APIweb project · case studyFitForgemobile app · case studyAssetManagermobile app · case studyStore Managementdesktop app · case studyETF Oglasimobile app · case studyDevKitlive app · case studyOpen DevKit app (opens in a new tab)live appDev Timelinelive app · case studyOpen Dev Timeline app (opens in a new tab)live appGitHub Dashboardlive app · case studyOpen GitHub Dashboard app (opens in a new tab)live appStore Chain Managementdesktop app · case studySecure Repositorytool · case studyMinimal Blogweb project · case studyCatan Map Generatorlive app · case studyOpen Catan Map Generator app (opens in a new tab)live appMonte Carlo π · Pythonlive app · case studyOpen Monte Carlo π · Python app (opens in a new tab)live appBrick Breakerlive app · case studyOpen Brick Breaker app (opens in a new tab)live appArcane Keeplive app · case studyOpen Arcane Keep app (opens in a new tab)live appe-Mobility Rentaldesktop app · case studyCountdownlive app · case studyOpen Countdown app (opens in a new tab)live appANOVAdesktop app · case studyEcho Playerdesktop app · case studyMonte Carlo πdesktop app · case studyexcuse.exelive app · case studyOpen excuse.exe app (opens in a new tab)live appYamb Tablelive app · case studyOpen Yamb Table app (opens in a new tab)live appSedmicalive app · case studyOpen Sedmica app (opens in a new tab)live appLora Score Tablelive app · case studyOpen Lora Score Table app (opens in a new tab)live appSnake (Blavor)desktop app · case study
Copy emailpero.grubac00@gmail.com