How to make a glitch project to run constantly?


Hi all,

I’m using Glitch to host my discord bot, that needs to be online 24/7.

I’ve seen many tutorials on getting glitch to run 24/7, but none seem to work.

Do you have any ideas on how I could do this?


Hey @ClinkMakesGames! There are quite a few ways to get your Discord bot running 24/7 with no issues. The best way that I know of is to use UptimeRobot to ping your bot.

After registering an account on UptimeRobot it should redirect you to your dashboard (if it doesn’t, then go to the home page and click Login or click here). Once in your dashboard, click + Add New Monitor. Under Monitor Information there will be a dropdown with the following options:

Select HTTP(s), and when you do so 2 text boxes and a slidable bar should appear. In Friendly Name* give the monitor whatever name you please. In URL (or IP)* type in your Glitch project’s name follow by;

Leave the Monitoring Interval* bar at 5 minutes; the exact amount of time your bot will stay awake on its own before sleeping.

In Select “Alert Contacts To Notify” just check the first email that pops up (there should be only one unless you’ve added more). Then click Create Monitor, and that’s it! Give the website a few minutes and make sure you’ve exited out of your bot’s Glitch page (to ensure that UptimeRobot is keeping it awake and not you since your bot stays on when you’re viewing the page).

If you have any other issues I’m free to talk, but I really hope this works well for you as it has for me and many others! :slight_smile:


Ever tried this guide ?


This works! Thank you!


I still cant get it working did everything you said and still cant got discord? if so mine is :crown: 𝕿𝖍𝖊𝕯𝖊𝖆𝖙𝖍𝕾𝖙𝖗𝖊𝖆𝖒𝖊𝖗√#6228, Thanks!


Are you getting any errors from it?


You could also just create a simple websocket server and connect to it and have that ping at least once every 5 minutes, that will keep your bot running and the server will be up as well, but I recommend pinging once every 30 seconds. Make sure this is not made in the same project as your main project folder. Glitch shuts down applications after 12 hours of running, so if you do that, the whole application stops and no pings will be sent.