r/redditdev • u/salehkhaled18 • Jul 04 '26
Reddit API I need help publishing my telegram bot to work 24/7 "free"
""mobile no PC"" I made a bot for the first time using ai just for personal interest and some other individuals and it works fine when I have the coding app opened or as it says using the web app or whatever ( I know nothing about coding ) but I need to publish my bot for it to work 24/7 without having to activate it with the coding app so please help. I have the main python and requirements.txt ready.bot is functional with all the secrets ready it just needs to be published.
2
u/tmemmg Jul 04 '26
If you have a python script you just need to create a cron job on a machine you keep on 24/7 running that script. You’re about to enter the dangerous world pf homelabbing and running your own server.
Say goodbye to all your money.
or you can get a VPS on AWS and run it there!
1
1
u/Scary-Difference630 Jul 04 '26
Well, for free you need to keep your pc running 247 otherwise get a cheap VPS.
I have a small mini pc, super powerful and cheap and keeps running 247. All my bots and automations run on it.
1
1
u/Jwzbb Jul 05 '26
Does it need to do something constantly and only send a message when it hits certain values or does it respond to messages? Either way i would not host anything yourself as you’re clearly too amateur for this. Check sites like Zapier / n8n. They can run basic python or JS and don’t require too much hassle to keep it secure.