https://github.com/no0bitah/python-telegram-bot
β¨ A personal Telegram bot built with Python that showcases your portfolio, tracks user interactions with SQLite, and provides stats via inline buttons.
https://github.com/no0bitah/python-telegram-bot
automation bot-development chatbot python sql sqlite3 telegram telegram-api telegram-bot telegram-bot-api
Last synced: 8 months ago
JSON representation
β¨ A personal Telegram bot built with Python that showcases your portfolio, tracks user interactions with SQLite, and provides stats via inline buttons.
- Host: GitHub
- URL: https://github.com/no0bitah/python-telegram-bot
- Owner: No0Bitah
- License: mit
- Created: 2025-04-06T12:18:09.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-04-06T12:21:47.000Z (11 months ago)
- Last Synced: 2025-04-09T22:05:57.535Z (11 months ago)
- Topics: automation, bot-development, chatbot, python, sql, sqlite3, telegram, telegram-api, telegram-bot, telegram-bot-api
- Language: Python
- Homepage: https://t.me/wakachabot
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π€ python-telegram-bot
A personal interactive Telegram bot built with Python, powered by `python-telegram-bot` v20+ and SQLite for tracking user interactions.
This bot showcases a dynamic portfolio interface and logs activity like commands, button clicks, and messages.
### π Try the Bot Live
π [@wakachabot on Telegram](https://t.me/wakachabot)
---
## πΌ Features
- `/start` - Launches the main interactive menu
- `/help` - Provides guidance on using the bot
- `/stats` - Displays your personal interaction statistics
- Interactive inline keyboard navigation
- Pages include:
- **About Me**
- **Portfolio** (Resume, GitHub, LinkedIn links)
- SQLite database for:
- User registrations
- Interaction logging (clicks, messages, visits)
---
## π Tech Stack
- Python 3.10+
- [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot)
- SQLite
- Flask-style structure
---
## π Getting Started
1. **Clone the repo**
```bash
git clone https://github.com/yourusername/python-telegram-bot.git
cd python-telegram-bot
```
2. **Create virtual environment (optional but recommended)**
```bash
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
```
3. **Install dependencies**
```bash
pip install -r requirements.txt
```
4. **Configure your bot**
- Create a `.env` file or edit `TOKEN` in the script (β οΈ donβt expose it in public repos).
5. **Run the bot**
```bash
python bot.py
```
---
## π Project Structure
```
π¦ python-telegram-bot/
βββ bot.py
βββ bot_database.db
βββ README.md
βββ .gitignore
βββ requirements.txt
```
---
## π‘οΈ Security Notes
- **Never commit your Telegram Bot Token** to the repository. Use environment variables or a `.env` file.
- This repo is for educational and portfolio purposes.
---
## π€ Author
**Jomari Daison**
π [GitHub](https://github.com/No0Bitah) | [LinkedIn](https://www.linkedin.com/in/jomari-daison-406624334)
---
## π License
MIT License. Feel free to fork and customize.