This sounds serious. I really want to help you because I have definitely been in almost the exact same situation and only just managed to rebuild my life and feel better recently.
For context my story is that I was on antipsychotics (I know this sounds like my mental health must have seriously bad or that I am crazy but I assure you that's not the reality) but more recently I was prescribed antidepressants. I was suffering for literally years with very similar symptoms as what you have until I went to the mental health nurse at my GP (I was with a community mental health team at the time who were useless and kept prescribing me sleeping tablets, so dumb) who told me I was depressed and could do with antidepressant meds. The first antidepressant didn't really work but then I tried Sertraline which worked like magic. I instantly felt better, got my life together started travelling and got back to uni. But don't get me wrong things aren't perfect, I'm still having issues with fatigue but overall my mental health is intact thank god!
So, my tips for you? I would:
a) Try to get proper professional help because clearly whatever help you're getting isn't working at the moment. Tell them all your symptoms and if it takes seeing a private doctor, do so (if you can afford it)
b) Have you tried switching meds? It sounds like you've only tried one antidepressant so maybe it doesnt suit you, but another might?
c) Have you explored the idea of a therapist? It can be really helpful to talk through things with a regular therapist even telling them the small things that they can give tips on. Hopefully you find a good therapist cos they're not all good tbh.
And of course you've probably heard before about exercise, a good routine, good sleep etc.
I really hope you find your way. I know exactly how you feel esp when you lose your way with studies, get better soon!