Skip to main content

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/). With the new version your console won't be spammed with useless error logs.

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:


Recommended version to use:

from replit_keep_alive import WaitressStart
WaitressStart() 
  • 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


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

replit_keep_alive-1.2.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page