Skip to content
Sign upLog in
← Back to Community
Keeping Repl Running
Profile icon
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
Profile icon
Asher1129
Profile icon
hexines2407
Profile icon
Erfanhey
Profile icon
ninjamar
Profile icon
CubeyTheCube
Comments
hotnewtop
Profile icon
IroncladDev

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.

Profile icon
SushantShah

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

Profile icon
Coder100

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

Profile icon
CubeyTheCube

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

Profile icon
realTronsi

@Coder100
scammer alert!

Profile icon
Coder100
Profile icon
Coder100

awesome it looks working to me

@CubeyTheCube

Profile icon
Coder100

lol what

@realTronsi

Profile icon
Coder100

no sensitive info detected scamming fruitless

@realTronsi

Profile icon
CubeyTheCube

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

Profile icon
Coder100

make sure you don't stop the repl

@CubeyTheCube

Profile icon
CubeyTheCube

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

Profile icon
Coder100

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

Profile icon
Coder100

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

@CubeyTheCube

Profile icon
CubeyTheCube

"no sensitive info detected scamming fruitless

@realTronsi
"

@Coder100
wth

Profile icon
CubeyTheCube

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

Profile icon
Coder100

turning your computer off will not effect your repl

@CubeyTheCube

Profile icon
Coder100

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

@CubeyTheCube

Profile icon
Coder100
Profile icon
CubeyTheCube

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

Profile icon
realTronsi

@CubeyTheCube
use uptime bot ffs take it or leave it

Profile icon
CubeyTheCube

@realTronsi
wow thx for being helpful

Profile icon
Coder100

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

@CubeyTheCube

Profile icon
CubeyTheCube

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

Profile icon
realTronsi

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

Profile icon
Coder100
Profile icon
Coder100

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

@CubeyTheCube

Profile icon
CubeyTheCube

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

Profile icon
Coder100
Profile icon
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

Profile icon
Coder100

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

Profile icon
realTronsi

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

Profile icon
Coder100