n-splv / freewifi.by-telegram-bot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:GNU General Public License v3.0


Languages

Language:Python 98.7%Language:Dockerfile 1.3%