Version 2.0 #6
nexesninja
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
📦 Release v2.0 – Major Refactor & Feature Expansion
Date: 2025-07-08
A major update of the Raspberry Pi Telegram Bot with a modular codebase, enhanced security, system monitoring, and robust remote command support.
✨ Features
🔒 Secure Command Execution
Whitelisted command execution with validation, pattern checks, and sandboxing.
🌡️ Temperature Monitoring
Real-time CPU temperature display with alert capability.
📊 System Monitoring
View CPU, memory, and disk usage via
/system
and/status
.💻 Remote Shell Execution
Run allowed commands on your Pi from Telegram using
/cmd <command>
.🤖 PTB v20+ Support
Upgraded to
python-telegram-bot
v20 withApplicationBuilder
andJobQueue
.🗂️ Modular Structure
Code split into
config/
,modules/
, and cleanmain.py
entry point.🧭 Setup Instructions
📄 Key files and documentation:
README.md
– Full usage, commands, and structuredocs/installation_guide.md
– Step-by-step setupdocs/initial_setup.txt
– What you need before installationdocs/troubleshooting.md
– Common errors and fixes🛡 Security Improvements
rm -rf /
,mkfs
,dd
, etc.📁 Project Structure
raspberrypi-telegram-bot/
├── config/
│ └── config.py
├── docs/
│ ├── installation_guide.md
│ ├── initial_setup.txt
│ └── troubleshooting.md
├── logs/
│ └── bot.log
├── modules/
│ ├── command_executor.py
│ ├── system_monitor.py
│ └── temp_monitor.py
├── .gitignore
├── CHANGELOG.md
├── main.py
└── pi-telegram-bot.service
💬 Commands
/temp
– Show temperature/system
– System resource summary/cmd <command>
– Run a safe command/help
– List available commands⚠ Known Notes
📥 Feedback & Issues
Have questions, feature ideas, or bugs to report?
👉 Open an issue on GitHub
This discussion was created from the release Version 2.0.
Beta Was this translation helpful? Give feedback.
All reactions