Depression, unemployment, lack of confidence, fear. I'm certain there are many on here who had high potential and feel they've squandered it.
For those who have been there and managed to get out and are now living a life you're proud of, how did you do it?
So it kind of resulted in a phase that you are describing, where I kind of gave up on open source and gave up on doing the things that I loved to do before.
What I can recommend, heavily: shut off your phone, go outside for a couple weeks, no tech, no internet, nobody nagging or forcing you to do anything. And listen. To nature, to the environment, to what you think. Take with you a notebook and a pen, and write down your thoughts. Persist on not going online, and fight the addiction.
Social detox and meditation is much more efficient than one might think, if you have no predefined goal on what you want to do. If your goals are set by external influences, you won't be happy with it.
Best wishes, I understand how hard it can be sometimes. Don't lose your head in things you don't want to do.