Aiden G
@chocolatejade42
💻 keepalive
> A repl I made to keep my web servers online without having to configure an uptime monitor every time I want to make a new repl.
It's a
Python
2
keepaliveAn alternative to uptime robot that keeps my repl servers alive by pinging them every three minutes. It uses Replit's GraphQL API to fetch all my repls, then filters by those with the keyword "keepalive" in their description. It then pings each of those repls periodically to keep them awake.
This allows me to easily enable "always on" by adding a simple keyword to a new repl's description, rather than spend time configuring uptime robot each time I make a new repl. It also allows for the repls to be pinged more frequently than uptime robot's five minute limit.
The logs on the website can be filtered using the "search" query in the URL to filter certain repls, levels, or dates.
Note: Uptime robot will still need to be configured to keep this repl alive, but it's better than having to make a new monitor for every repl! Setting up uptime robot: https://replit.com/talk/ask/Yes-you-can-using-uptimerobot-like-Va/18608/50032
~ @chocolatejade42
166
1
2
If I have a TCP server running on port 7777 and a http server running on 8080, how can I force the repl's website to point to the http server instead
📂 How to create an SQLite3 database in Python 3 📂
PLEASE NOTE: This article assumes that you are familiar with importing modules in Python and SQL s
gatorade322 I bet this is incredible, but I don't know anything about sqlite so I have no knolege of that, so um, yeah.2 years ago
Hi everyone!
I'm having a problem using Flask in Python3. I'm Trying to create a webpage but for some reason, my HTML files are refusing to accept the
chocolatejade42 Hi @timmyichen and @kaldisberzins, thanks for replying,
The error would be because I was working on it but it should be fine now5 years ago
timmy_i_chen @chocolatejade42 can you try clearing your cache for me and see if that resolves it?5 years ago
kaldisberzins I tried to run your code and got this: Traceback (most recent call last):
File "/home/runner/.site-packages/discord/http.py", line 258, in static_login
data = yield from self.request(Route('GET', '/users/@me'))
File "/home/runner/.site-packages/discord/http.py", line 200, in request
raise HTTPException(r, data)
discord.errors.HTTPException: UNAUTHORIZED (status code: 401): 401: Unauthorized
The above exception was the direct cause of the following exception:
Traceback (most recent 5 years ago
Hi all,
I need some help with a project I was working on (Link below). I was making a simple encoder where the program would take the users input and
timmy_i_chen You could have a dictionary of dictionaries... so enc0, enc1, would instead be:
enc = {
0: enc0,
1: enc1,
etc...
}
That way you can call lk[0] when appending characters
Let me know if that makes sense!5 years ago