I very recently rediscovered mine.
I was looking for a tool, and it didn't exist. But I did find an abandoned open source repo that could do the core 70% of the job - including the tiny core part that I didn't have the skills to even begin to implement.
So I began working on getting it to run at all and then to build the application I wanted around that core.
I would not have found so much joy in this project if it weren't for the following factors:
It was solving a problem that I really had. Maybe not anything important or urgent, but something that had been annoying me for ages.
It was within my grasp. I was able to make visible headway within minutes and more progress within hours. I didn't have to spend weeks buried in textbooks before even getting started.
It was challenging. It required learning technologies that are adjacent to the ones I work with every day but that I'd never touched. With every feature I wrote and issue I debugged I was learning something, and something potentially useful outside this project.
I was able to build momentum. A friend reminded me early on to skip the "make it right" and focus on just building the proof of concept. It had been years since I'd done that. It resulted in much faster progress and a much more rewarding experience. This was reinforced a few days in when I started to get bored with the project after an afternoon away from it - but as soon as I picked it up again and spent 20 minutes implementing another bug fix, I was utterly engrossed again.
And now that I'm feeling good about the project it's no longer arduous or intimidating to go back and add test coverage and proper configuration and to refactor things.
Finally, I made it unintimidating. As I built the project out it started to grow a backlog of notes about things to add or fix or improve. At about 20 items, though I didn't notice it, that list began to unconsciously weigh me down; by 50 it was paralyzing. I solved that by breaking out a separate document with just the next 3 small changes I want to make. That document isn't allowed to grow longer than 5 SMALL items.
Basically, the trick turned out to be hacking my brain to reassociate programming with a steady stream of tiny dopamine hits instead of a continuous stream of frustrations and "it's not good enough" judgements from both myself and external project stakeholders.