This happens with me too, So I just open codechef and start start solving problems there. Or sometimes I don't even want to do that thing either so I read read documentation of some random python or js library, after reading that for 20-30 minutes, I automatically get motivated to start working on something new using that library or my other projects.
Looking forward for more blogs from you, loving them