A focus timer for exam revision, in one HTML file. No build step, no account, no server. It runs from a local file or any static host, and everything you type stays in that browser.
Open index.html in a browser. That is the whole install.
To put it online, upload the folder to any static host (GitHub Pages, Netlify, Cloudflare Pages, a plain web server). Keep the filename index.html so the host serves it at the folder root.
Two scripts for Vercel analytics load only when the page is served from a *.vercel.app domain. On any other host they never run.
Focus Core has three modes with defaults of 25, 5 and 15 minutes. Buttons switch between a grind, a short break and a longer rest, and the ring shows how much of the phase is left. A cycle is four rounds, and the dots under the ring track them.
Three presets set both durations at once: Past Paper Crunch at 45 and 15, Standard Pomodoro at 25 and 5, Intensive Review at 50 and 10. You can also type a duration straight into the Grind, Break and Rest fields. Decimals work, so .2 is twelve seconds. The upper limit is 600 minutes.
Auto-start, when checked, begins the next phase by itself. Otherwise the timer stops and waits for you.
Skip moves to the next phase in the cycle without logging the session you are in. A completed grind phase is logged and counted.
The scratch pad holds 2000 characters and saves as you type. It is for the formula or page number you do not want to lose when you switch tabs.
Dual Timers are two independent countdowns for running a paper and a sub-section at the same time. Each takes a name up to 28 characters and has 45, 5 and 15 minute presets. They keep running when the tab is in the background.
Sprint Stopwatch counts up with milliseconds for flashcard runs and open-ended work. It keeps up to 99 laps and runs on its own clock, independent of everything else.
The browser tab title shows the shortest countdown that is currently running, so you can keep half an eye on it from another tab.
The counter in the header counts down to a date you choose. Click it or press Edit to set a label up to 48 characters and a target date. The default is CAIE O-Level May/June 2027.
The Focus Matrix panel totals your focus time, counts completed sessions, and shows your current and best day streak. The heat grid covers the last four weeks, with a brighter cell for a busier day. Hover a cell to read the date and session count.
Six badges unlock as you go: First Block for one session, Hat-trick for three in a day, Full Cycle for four rounds in a row, 3-Day Streak, 7-Day Streak, and 10 Hours Deep for ten hours of total focus.
Completed sessions are listed with their name, length and finish time. Clear empties the log and the total, and keeps your streaks and badges.
| Key | Action |
|---|---|
| Space | Start or pause Focus Core |
| 1 | Switch to Deep Study Grind |
| 2 | Switch to Short Recovery Break |
| 3 | Switch to Long Brain Rest |
| N | Skip to the next phase |
| Z | Enter Zen mode while running, leave it if already on |
| Escape | Leave Zen mode, or close Preferences |
These are ignored while you are typing in a text field. Space is also skipped when a button has focus, so it never fires twice on the button you just clicked.
Zen mode hides the dual timers, the matrix and the day counter so only the ring is left on screen. It only turns on while the timer is running.
Inside Preferences, Tab stays within the panel until you close it.
Typography offers four options. SF Pro Style uses the Apple system stack, Segoe UI Variable uses the Windows stack, and Inter and Montserrat load from Google Fonts.
Sound sets the chime that plays when a phase or timer finishes. Ambient Focus Gong is a soft three-note chord, Mechanical Watch Click is three short filtered clicks. Preview chime plays the current one.
Display has a background colour picker and a text colour picker. Reset appearance puts both back to the defaults, #050505 and #f5f5f5.
Everything lives in localStorage under the key studyStation.v1: settings, timer names and durations, the session log, day history, streak counts, badges, the scratch pad and the day counter target.
Nothing is uploaded. There is no backend and no sync between devices.
Export backup downloads a JSON file named study-station-backup-YYYY-MM-DD.json. Import backup reads one back and replaces the data in this browser after a confirmation prompt. Files over 5 MB are refused. The log keeps the most recent 100 sessions and the day history keeps 400 days, so a backup stays small.
Clearing site data in your browser deletes everything. Take a backup first if the numbers matter to you.
Scrollbars are hidden across the page and the panels, with the gutter still reserved so nothing jumps when content grows.
Timers calculate from a stored end time rather than counting ticks, so they stay correct after the tab has been asleep. A background worker keeps them ticking when the browser throttles inactive tabs, and the page re-syncs everything when you come back to it.
The interface responds to prefers-reduced-motion, prefers-reduced-transparency and prefers-contrast. With reduced motion on, the animations and the pop-in on heat cells are turned off.
Below 900px the dashboard drops to a single column. The mode tabs switch to a stacked layout when the timer card is narrower than 480px.