Skip to content
Sign upLog in
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
24

Keeping repl permanently alive.

conspicous
conspicous

So I have been making a repl that allows you to store items online but every time, after a certain amount of time, it shuts down the express server (nodejs) and it loses all data except users that have registered. Can someone help me to keep it online (eg. An example that works)?

Thanks in advance.

Note: the server is based off lolisafe and the script is at lolisafe.js.

Edit: db is not an option and uptime robot lasts 2 months.

3 years ago
You are viewing a single comment. View All
1
2
conspicous
conspicous

Looking for a solution that lasts forever not two [email protected]

3 years ago
2
conspicous
conspicous

It's the fact it does not save files

@SixBeeps

[Edit] not fully

3 years ago
2
SixBeeps
SixBeeps

@Lethdev2019
UptimeRobot lasts forever

3 years ago
2
conspicous
conspicous

Not the free plan. Unless you want people to pay for a was meant to be free service.

@SixBeeps

3 years ago
1
SixBeeps
SixBeeps

@Lethdev2019

image
are you talking about this?

3 years ago
1
conspicous
conspicous

Yes, plus the credits that you [email protected]

3 years ago
1
SixBeeps
SixBeeps

@Lethdev2019
Okay, so here's the thing: those are logs. Basically, UTR keeps logs of each ping so that you can have a history of each ping's response. For your purposes, you do not need logs. It will keep pinging your site (keeping it alive) forever.

3 years ago
1
conspicous
conspicous

It's not lettin me put in the url


@SixBeeps

3 years ago
1
conspicous
conspicous

Ok can you Tell me how to make it not log stuff.

@SixBeeps

3 years ago
1
Coder100
Coder100

You could turn off email responses

@Lethdev2019

3 years ago
1
conspicous
conspicous

How does that affect how long the server lives?

@Coder100

3 years ago
1
conspicous
conspicous

It still logs at the dashboard

@Coder100

3 years ago
1
Coder100
Coder100

Yeah, it's supposed to do that, it's to monitor uptime, and since it always pings the website, it has the benefit of keeping it alive.

@Lethdev2019

3 years ago
1
conspicous
conspicous

Actually, looked up stuff (tried similar ideas as well) half the time it does not work or the repl become unstable

@Coder100

3 years ago
2
SixBeeps
SixBeeps

@Lethdev2019
UTR works perfectly fine for me (using a Django program)

3 years ago
2
SixBeeps
SixBeeps

@Lethdev2019
Either way, they're both web repls.

3 years ago
4
Coder100
Coder100

The REPL becomes unstable because there is an error.

@Lethdev2019

3 years ago
2
conspicous
conspicous

@Coder100
well I cant launch it anymore due to something happening

3 years ago
2
conspicous
conspicous

atually, i found mine is very stable to the point i can safley say that i could go to sleep and 1 day later, it is still running.

@Coder100

3 years ago