Create a simple Flask webserver to keep your Repl online using a pinger. (such as https://up.rdsl.ga/)
Project description
This is a simple package to create a webserver to keep your repl online using a pinger. (such as https://up.rdsl.ga/).
Usage:
First you need to install the package by going to the shell and pasting: pip install replit-keep-alive
in there. Wait until it is finished
Now the actual code:
- Default
from replit_keep_alive import start
start() #The text argument is optional. So we didn't use it here
- Or with custom text
from replit_keep_alive import start
start("Hello world!") #The text argument is optional.
- Waitress version. (Without debug/development server)
from replit_keep_alive import WaitressStart
WaitressStart() #The text argument is optional. So we didn't use it here.
- Or the waitress version. With custom text
from replit_keep_alive import WaitressStart
WaitressStart("Hello world!") #The text argument is optional. So we didn't use it here.
Paste these codeblocks somewhere in your code to get it working! Thanks for using Replit keep alive ❤️!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for replit_keep_alive-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e48efb61243b27efd49f8532f150f78f72a748f059da924bfb1086908453ba32 |
|
MD5 | a8be62a00ff249f1ea99846fbcd593c2 |
|
BLAKE2b-256 | d5630c190ee71e686eca349e0b93057b1d0f9560acfb299f181421b67dba7f2a |