Sorry to hear about everything you've been so far. Things have been rough for me as well lately. The only thing that keeps me from falling into nihilism and despair is God.
Lots of good suggestions here, but they miss the elephant in the room: you are trapped and you feel that. It seems like a lot of your anxiety stems from that.
My only suggestion would be to "climb out" of this trap. Since you can't find another job in your town (https://news.ycombinator.com/item?id=21620176), try looking fo remote job openings. Freelancing and starting your own business are options as well, but I won't recommend them for you, at least for now.
"The Ministry of Peace concerns itself with war, the Ministry of Truth with lies, the Ministry of Love with torture and the Ministry of Plenty with starvation. These contradictions are not accidental, nor do they result from ordinary hypocrisy: they are deliberate exercises in doublethink."
You first submit an issue where you ask if the maintainer(s) would be open for a PR. That way you wont waste any time building something that might be ignored.
Sorry to hear about everything you've been so far. Things have been rough for me as well lately. The only thing that keeps me from falling into nihilism and despair is God.
I hope you find peace.