Skip to content

An old bot to get the wi-fi connection statistics from hotspots

License

Notifications You must be signed in to change notification settings

n-splv/freewifi.by-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freewifi.by-Telegram-Bot

GitHub last commit GitHub Python

https://t.me/FreewifibyBot


A Bot through which the Clients of Freewifi.by get the wi-fi connection statistics from their hotspots.

The data is fetched from two remote databases:

  • radius.radacct (FreeRADIUS server)
  • wifi_wp_base.wp_proxy_entries (WordPress SMS-auth plugin)

Then it gets processed, saved to the local Cache for a quicker subsequent access, and sent to a user in a formatted .xlsx file:

Features

  • Passwordless authentication via deep linking, fail2ban
  • Logging of all the incoming and outgoing messages
  • Sqlite ORM (Yes, I am aware of sqlalchemy, just wanted to practice:)

ToDo

  • Line charts for the unique hotspot users over the given period

Credits

Special thanks for the awesome libraries:

Full list in requirements.txt

About

An old bot to get the wi-fi connection statistics from hotspots

Topics

Resources

License

Stars

Watchers

Forks