The project consists of a Telegram bot that interacts with the user through custom commands defined by the user and is able to provide useful information using scraping techniques.
- Python (3.11.3)
- Docker (optional, for running in a container)
- Create two environment variable configuration files named .env.dev and .env.prod, using the template.env file as a reference
-
- Clone the repository:
git clone https://github.com/4lequinn/telegram-bot-scraper.git
-
- Go to project path:
cd project-name-path
-
- Virtual environment:
python -m venv venv
source venv/bin/activate # Linux/Mac
venv\Scripts\activate # Windows
-
- Install requirements:
pip install -r docker/development/requirements.txt
-
- Run app
python app/main.py
-
- Run docker compose:
docker compose up --build
-
- Open your web browser and access http://localhost:8000 to interact with the application.
If you want to contribute to this project, follow these steps:
-
- Fork the repository.
-
- Create a branch for your contribution: git checkout -b feature/new-feature.
-
- Make your modifications and commit the changes: git commit -am 'Add new feature'.
-
- Push to your repository: git push origin feature/new-feature.
-
- Open a pull request in the original repository.
- Author: Jorge Quintui