This is one kind of abuse of glitch so if you are only allowed to use those ways for demonstration purposes only
First way: Using Odd Pinger
If you want to make your glitch project 24/7 in the easiest way then maybe
this is the way you are looking for. Before following all the below steps make
sure that you have enough hours available in your account.
- Visit Odd Pinger.
- Log in with your Discord account.
- Go to Odd Pinger Dashboard.
- Now copy your project web page link from glitch (if you don't have one create with express or any other package you like).
- Now paste the copied link into the Add Link field.
- Click submit.
That's it now your project will stay 24/7 online.
Second way: Using Google Script
This way is a bit complicated but if you want to make your project 24/7 in
this way then no problem i got you. A quick reminder before following all the
below steps make sure that you have enough hours available in your account.
- Visit Google Script.
- Make sure that you are logged in with your Gmail account.
- Click on the New Project button.
-
Now download this simple code
Make sure to change the your url text with your glitch project webpage URLfunction trigger() { var url = [ "your url" ]; for (var x = 0; x < url.length; x++) { var uri = url[x]; try { UrlFetchApp.fetch(uri); } catch (err) { Logger.log(err.message) } } }
- After you are done with adding your project webpage URL, paste the full code to google scripts new project.
- Now go to the triggers option and make the settings like the image below
- Now save the triggers and go to Editor.
- Now click on the Save Project icon.
- After that click on the Run button.
Now your project will stay 24/7 online enjoy.
Conclusion
So this is a simple article about how you can make your glitch project 24/7 running with some simple steps. I hope this article might be helpful for you. Bye 👋.
Post a Comment