Skip to content

A Telegram bot for The LaSallian's newsbites. It keeps a database of users and determines if a draft may be posted on X.

Notifications You must be signed in to change notification settings

thelasallian/PingBot-OpenSource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

The bot is currently hosted 24/7 under Fly.io, shared-cpu-1x 256mb VMs with 3GB persistent volume storage and 160 GB outbound data transfer under Singapore region. During server maintenance, the same code may be hosted under pythonanywhere.com, which will run the bot for 24 hours max without resetting. The bot is also dependent on MongoDB and the Telegram API server. For reference, future updates will be based on my public repository Telegram-Ping-Bot-Prototype.

How to deploy the bot

  1. Install flyctl depending on your machine. You may refer to the official documentation.
  2. Login to fly.io fly auth login or signup fly auth signup.
  3. Deploy the application fly launch.
  4. Expect to answer prompts from the terminal by typing y or n. Reject setting up a Postgresql database and an Upstash Redis database.

How to stop the bot

  1. Login to the fly.io
  2. Navigate to the application name in the dashboard menu
  3. Go to settings
  4. Choose Delete app

Questions/Concerns?

Reach out to the web section or contact the developer through her telegram @gleezelluy

Technologies used

Python Telegram Docker Fly.io MongoDB PythonAnywhere

About

A Telegram bot for The LaSallian's newsbites. It keeps a database of users and determines if a draft may be posted on X.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published