← All projects
EHHS Chrome Extension
A Chrome extension for East Hampton High School students: a home screen of school links in the toolbar, plus a timer on the icon that shows how many minutes are left in the period. I built it with Urban Reininger as part of the school's Coding and Computer Science curriculum, and still maintain it. Source on GitHub.
Why
Students juggled the grade portal, Classroom, guidance forms and a dozen study sites through bookmarks and searches. Having them one click away, and the period's time left always visible, saves that hunting all day.
How it works
- A home screen you arrange. The popup is a grid of links that students rearrange like an iPhone home screen: hold to jiggle, drag to move, tap − to remove. An App Library holds the rest of the 117 links in 13 categories, with search, subject filters and custom links with uploaded icons.
- A period timer that follows the bells. The icon counts down the period and passing time from the school's bell schedules, including homeroom days, delays and early dismissal. It only runs on days students are in school.
- Snow days without a release. A teacher posts a delay or closing in one JSON file on GitHub, and every student's timer switches to the right bells within about 15 minutes.
- Updates that respect what students chose. When the link list changes, new links reach everyone's App Library and dead ones leave it, without undoing anyone's own arrangement or renamed links.
What I learned
- The browser decides when your code runs. Chrome only wakes an extension about every 30 seconds, so the badge counts 30 seconds ahead (4m means at most four minutes left), and it schedules exact alarms during school hours and nothing at all at night or over breaks.
- Make it maintainable by someone else. Links, bells and the calendar live in plain data files, and a
npm run check script catches typos, missing logos and calendar mistakes, so a teacher can update it without reading the code. Future school years are estimated from rules that held in every past calendar, so the timer never stops in September.