Impossible to reinstall HACS

I had trouble with HACS that suddenly stopped working correctly. So I wanted to uninstall it. Unfortunately this too didn’t work as the little trash icon in integrations didn’t do anything. So I thought I might be able to uninstall it manually. And I went and deleted the hacs folder inside custom components and in .storage. Restarted my server in between each step. But now, I can’t reinstall HACS. It doesn’t show in the list of integrations and there’s still a blank line with no devices inside:
Capture d’écran 2020-11-19 à 15.18.13

I don’t know what to do. I tried to remove and redownload and reupload hacs files but nothing works.
What can I do?

Thanks