Not quite what you’re asking, but I’ve learned that an important thing for personal projects is not to tell anyone about them until they’re basically done.
For me, getting to explain the thing and talk about why I’m doing it is a big part of what keeps me excited. If I tell someone about a project too early, my dumb monkey brain says ‘ok, good chemicals dispensed! That project is now dead to me’, and I lose all motivation to actually finish it.
Knowing I’m doing something cool and no one knows yet actually helps keep me going.
Beyond that? Having a clear plan, with concrete goals that define what ‘finished’ looks like, and clear concrete steps that will get me to that point. Literally a checklist. That way, continuing the work just means working from that list, rather than stressing over what to do next and getting bogged down in tangents and distractions.
Start with big tasks that feed into your project goals (‘add feature x’), and then gradually break them down into smaller individual tasks that can be completed in a single session of work. You don’t have to break the entire project down at once; I start each day by saying ‘what meaningful progress can I achieve today?’ and go from there.
