I am creating a chat site using Flask. And I want to make it publicly available for testing. I would love to use Replit for hosting, but due to lack of money, I can’t afford it. Therefore, I am looking for free hosting with private code (so that my code is not publicly available), with SocketIO and Flask support. Can you advise me on such hosting?
I’ve already tried using Pythonanywhere, but it doesn’t have SocketIO support, so it doesn’t suit me.
Adding on to what py660 said, serverless generally means you don’t have a permanent server. The corresponding serverless function is run every time someone makes a request, rather than having a constant server process running. (This means persistent things like in memory state management and websockets don’t work)
I’m pretty sure autoscale deployments are meant for serverless applications.
The “always free” is a lie. DB is “free” but you have to pay for compute. EC2 is “free” but it runs out in a year and you can only have one instance running.
I kinda suggested Heroku, but it got ignored so I’m gonna mention it again.
EDIT: I’m tripping because you replied to it. I mean, I think Glitch works, but I have no clue. You’re probably not going to find too many good hosting services that are free. Even if you find a free one, it’s probably going to have extreme limitations.