Keeping Repl Running
I have a repl that I need to run with my computer off, but I can't find a way that works. I tried https://ping.matdoes.dev/# but it does not work. I've seen Uptime Robot but I don't want to go through the painful process of creating an account. Anyone know how I can solve my problem?
hey cubey!!! remeber me on discord??? milad's friend
It's not working because you don't have an HTTP server...
Add this to your code (line 21
):
require('http').createServer((_, res) => res.end("w")).listen(8080)
Then, use uptimerobot to ping https://testetstetsttetsttettstettess.cubeythecube.repl.co.
For your ease, you can also invite me to your repl and I will do it for you
@Coder100 Thanks so much! I'll try that.
@Coder100 scammer alert!
awesome it looks working to me @CubeyTheCube
lol what @realTronsi
no sensitive info detected scamming fruitless @realTronsi
@Coder100 I don't want to use Uptime Robot though... and the pinging repl is still not working...
make sure you don't stop the repl @CubeyTheCube
@Coder100 Um, I'm trying to keep the repl on even if I stop it.
@CubeyTheCube won't work, it you can't press the stop button or else the server shuts down
i mean if you want to keep your repl 'up' doesn't that mean you want your repl to keep running? @CubeyTheCube
"no sensitive info detected scamming fruitless @realTronsi"
@Coder100 wth
@Coder100 yes, but i want to turn my computer off
turning your computer off will not effect your repl @CubeyTheCube
as long as you don't press the stop button it will perpetually run @CubeyTheCube
@Coder100 yes it does lol. I turned it off last night and it stopped running.
@CubeyTheCube use uptime bot ffs take it or leave it
@realTronsi wow thx for being helpful
your computer didn't do that, when you closed the tab the repl automatically stops unless you have the HTTP server @CubeyTheCube
@Coder100 OHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH so i keep the tab open, and close my computer, and the repl stays on?
@CubeyTheCube if you want to achieve something why are you "too lazy to make an account".
hmm how else to say it, ig you read this article @CubeyTheCube
@realTronsi If you had a choice to not create an account for some random website would you still do it?
no take my email: [email protected] @CubeyTheCube
@CubeyTheCube it's the best choice for these kind of things, and it is not some "random website". There is a reason uptime bots exists. The login process is also very fast
@realTronsi yeah i dont think you need to confirm email/lax security
@Coder100 dafuq an article with repl.it in it? must be fake news
must be @realTronsi
I don't get why a lot of people don't want to create an account on uptimeRobot. Once I knew that it'd make a repl run forever, I created an account immediately.