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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file replit_keep_alive-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for replit_keep_alive-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 399e29a2fed2f1307601ec05fa61d7af26fd2db7811fef7a6ebd96dd3b2ed9c0
MD5 4ae278609763cf384f9a133091f380c8
BLAKE2b-256 6f46794116469ae9eab7ed42dd1346969545dc4ccbfc3025d6b5c332e7bb7691

See more details on using hashes here.

Supported by

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