You cannot afford to wait until you feel like working before you work because you just may never do.
Sometimes, it is wise to invent the feeling. Assume agency over it: put a deadline. Set the clock on your work station a couple of minutes fast. Tell your friends (even those on social media) of your project and when you want to get done with it.
Just do something to release a flow of dopamine in your system, to get you working. Fight that resistance. The inertia that you are experiencing is not just you. Everybody does experience it. Just that some people are smarter at managing it. They also would rather sleep than work, but they have found smart ways to hack their lives.
You must not fail. Create your pressure!