Your best bet is going to be freelancing/software dev contracting. There are many platforms other than Upwork and Fiverr. If you're on LinkedIn, post it to your network that you're looking for some consulting work. Talk about what you can build - focus on outcomes (how you can help clients deliver stuff). Join Slack communities focused around your skills. Find any community you can join and keep an eye out for work.
Even in a "third world country" (fwiw I don't like that term), you can easily get $25-40/h doing freelancing for US/Europe based clients. At $30/h, you only need to freelance 50h a month to make $1.5K. It is very doable.
My personal 2c is ignore all the other advice you're getting in this thread (some of it is outrageously impractical and divorced from reality) and focus on finding freelance work.
NOTE: I'm talking from experience (though I'm in the US). Heck, I'll send some work your way if you're good at your stack. Send me an email (in my bio).