An open API service indexing awesome lists of open source software.

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.

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.