Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayitinya/commerce-telegram-bot
A telegram bot for purchasing items from a store. Built entirely in python
https://github.com/ayitinya/commerce-telegram-bot
bot jetbrains learn pytelegrambotapi sentry telegram-bot
Last synced: 2 days ago
JSON representation
A telegram bot for purchasing items from a store. Built entirely in python
- Host: GitHub
- URL: https://github.com/ayitinya/commerce-telegram-bot
- Owner: ayitinya
- License: mit
- Created: 2022-12-14T15:08:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-01T13:03:42.000Z (11 months ago)
- Last Synced: 2024-01-01T19:31:47.047Z (11 months ago)
- Topics: bot, jetbrains, learn, pytelegrambotapi, sentry, telegram-bot
- Language: Python
- Homepage:
- Size: 227 KB
- Stars: 10
- Watchers: 3
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Commerce Telegram Bot
A Telegram bot that interacts with users to create orders from an admin updated store.
The [PyTelegramBotAPI](https://pypi.org/project/pyTelegramBotAPI/) is used to interact with the Telegram API.
Store data is stored in a cloud firestore database and interactions## Requirements
* Python 3.11 and up
* [Firebase](https://firebase.com) account for image uploads, cloud functions, and hosting of [FireCMS](https://firecms.co)## Installation
Using a virtual environment is recommended.
```bash
python3 -m venv venv
source venv/bin/activate
```Use the package manager [pip](https://pip.pypa.io/en/stable/) to install the requirements
from [requirements.txt](functions/requirements.txt).```bash
pip install -r requirements.txt
```Copy the [.env.example](.env.example) file to .env and fill in the values.
## Usage
To run the bot locally, you can use the `bot.py` file.
```bash
python bot.py
```## Contributing
Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.