Ask coding questions

← Back to all posts
Keeping Repl Running
h
CubeyTheCube

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?

Voters
hexines2407
Erfanhey
ninjamar
CubeyTheCube
Comments
hotnewtop
LeviathanCoding

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.

SushantShah

hey cubey!!! remeber me on discord??? milad's friend

Coder100

It's not working because you don't have an HTTP server...
Add this to your code (line 21):

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

CubeyTheCube

@Coder100 Thanks so much! I'll try that.

realTronsi

@Coder100 scammer alert!

Coder100
Coder100

awesome it looks working to me @CubeyTheCube

Coder100

lol what @realTronsi

Coder100

no sensitive info detected scamming fruitless @realTronsi

CubeyTheCube

@Coder100 I don't want to use Uptime Robot though... and the pinging repl is still not working...

Coder100

make sure you don't stop the repl @CubeyTheCube

CubeyTheCube

@Coder100 Um, I'm trying to keep the repl on even if I stop it.

Coder100

@CubeyTheCube won't work, it you can't press the stop button or else the server shuts down

Coder100

i mean if you want to keep your repl 'up' doesn't that mean you want your repl to keep running? @CubeyTheCube

CubeyTheCube

"no sensitive info detected scamming fruitless @realTronsi"

@Coder100 wth

CubeyTheCube

@Coder100 yes, but i want to turn my computer off

Coder100

turning your computer off will not effect your repl @CubeyTheCube

Coder100

as long as you don't press the stop button it will perpetually run @CubeyTheCube

Coder100
CubeyTheCube

@Coder100 yes it does lol. I turned it off last night and it stopped running.

realTronsi

@CubeyTheCube use uptime bot ffs take it or leave it

CubeyTheCube

@realTronsi wow thx for being helpful

Coder100

your computer didn't do that, when you closed the tab the repl automatically stops unless you have the HTTP server @CubeyTheCube

CubeyTheCube

@Coder100 OHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH so i keep the tab open, and close my computer, and the repl stays on?

realTronsi

@CubeyTheCube if you want to achieve something why are you "too lazy to make an account".

Coder100
Coder100

hmm how else to say it, ig you read this article @CubeyTheCube

CubeyTheCube

@realTronsi If you had a choice to not create an account for some random website would you still do it?

Coder100
realTronsi

@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

Coder100

@realTronsi yeah i dont think you need to confirm email/lax security

realTronsi

@Coder100 dafuq an article with repl.it in it? must be fake news

Coder100

must be @realTronsi