Giter Club home page Giter Club logo

telegram-bot's Introduction

Telegram Bot Scraper

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.

Requirements

  • Python (3.11.3)
  • Docker (optional, for running in a container)

Environment variables

  • Create two environment variable configuration files named .env.dev and .env.prod, using the template.env file as a reference

Installation without docker

    1. Clone the repository:
    git clone https://github.com/john62821/telegram-bot.git
    1. Go to project path:
    cd project-name-path
    1. Virtual environment:
    python -m venv venv
    source venv/bin/activate  # Linux/Mac
    venv\Scripts\activate  # Windows
    1. Install requirements:
    pip install -r docker/development/requirements.txt

Usage

    1. Run app
    python app/main.py

Usage with Docker (optional)

    1. Run docker compose:
    docker compose up --build

Server

Contribution

If you want to contribute to this project, follow these steps:

    1. Fork the repository.
    1. Create a branch for your contribution: git checkout -b feature/new-feature.
    1. Make your modifications and commit the changes: git commit -am 'Add new feature'.
    1. Push to your repository: git push origin feature/new-feature.
    1. Open a pull request in the original repository.

Credits

  • Author: Jorge Quintui

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.