Inspiration
Every assignment comes with a due date. None of them comes with a start date. "Due Friday" sounds far away until I count the evenings I actually have free before Friday and find there are two. To-do apps list deadlines and calendars list events, but neither answers the question I really have on a Tuesday night: can this wait until tomorrow or not?
What it does
You add your assignments with a due time and an estimate in hours, and you paint the hours you are really free on a weekly grid. LastStart then plans backward from every deadline.
- Today shows a short "do this now" list, for example one hour of Spanish quiz prep from 5 to 6 PM. Tap Done and the rest of the plan is recalculated.
- For each task it shows the last start: the latest moment you can begin and still finish. It also shows how much slack you have left.
- When the work does not fit, it says so in plain words: "You are 1.5 h short before Thursday 8:00 AM. Start now, shrink the estimate, or free up a block."
- What if lets you make an essay take four hours longer, or write off tonight, and see every last start move before you commit to anything.
- The plan exports to a calendar file (.ics), and today's plan can be copied as text.
There are no accounts and no server. Everything stays in the browser.
How I built it
It is plain HTML, CSS and JavaScript modules with no framework and no build step. The scheduler is a set of pure functions kept apart from the screen code. It turns the weekly grid into concrete free intervals, sorts tasks by deadline, and fills each task's hours into the latest free time before its deadline. Earlier deadlines are placed first, so they win the hours two tasks compete for. The first block of a task is its last start.
I used Claude as an AI coding assistant while building it. I decided what the app should do and tested it.
Challenges
- Two tasks wanting the same evening. Placing tasks one by one from the deadline backward only gives a correct answer if the earliest deadline goes first, and the overload message has to name the task that actually runs short.
- Time. Free hours are built from local calendar dates so that a daylight saving change does not move someone's study block by an hour. The tests run in three time zones.
- Saying "you can't make it" usefully. A red warning alone does not help, so the message gives the exact shortfall and the three ways out.
Accomplishments
- 20 unit tests on the scheduler pass, including overload, competing deadlines, past deadlines, zero free time and daylight saving days.
- 25 browser checks pass against the live site, including a phone-width screen.
- A judge can press "Load sample week" and see a full plan in about ten seconds.
What I learned
Backward scheduling is a known idea in project management, but writing it for a student's week showed me that the hard part is the free-time model, not the algorithm. I also learned how strict the calendar file format is about line endings and line length.
What's next
- Reading free time from an existing calendar instead of painting it by hand.
- Learning from how long tasks really took, so estimates get better.
- Testing with real students. No user study has been done yet.
Built With
- css3
- es-modules
- github
- html5
- icalendar
- javascript
- localstorage
- node-test
- playwright