Set up little goalposts
Small goals are little motivation boosters that can sustain you over a long journey. If you have to build 1000 widgets, the first widget you build might not feel super motivating, especially when considering that it represents less than 1% of the journey. But what if you broke up the project into mini journeys of, say, 10 widgets? Every widget you build becomes 10% of a mini journey which feels more substantial and satisfying.