Sounds a lot like burnout, which I have had serious cases of in jobs that demanded a lot in terms of effort and appearance. I would add that since you are so close to graduating, would you be able to tone down the &#x27;extracurricular&#x27; stuff (socializing&#x2F;networking&#x2F;github stuff) to conserve energy for the work that is required to graduate? The reason is, once you do get that degree, you can take some time off (if you can afford it monetarily) without having an impact on your career opportunities. However, an unfinished degree will come back to haunt you until you get it done (both in terms of employment prospects and your own satisfaction of having it done). Depression and  burn out go hand in hand, and have similar symptoms. Best of luck.