Skip to content

kkkirill/file_listener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Program for sending Telegram message on file update

Quick start:

  1. Install python 3 Official Site.
    (IMPORTANT. Check "Add Python to PATH") Installation Image
  2. Clone repository and enter folder:
    git clone git@github.com:kkkirill/file_listener.git
    cd file_listener
  3. Create virtual environment:
    python -m venv venv
  4. Activate virtual environment:

    For Windows:
    venv\Scripts\activate.bat
    For Linux/OSX:
    source venv/bin/activate
  5. Install dependencies:
    python -m pip install -r requirements.txt
  6. Create Telegram Bot with BotFather and copy HTTP API bot token: BotFather
  7. Run program:
    python main.py <filepath> <telegram_bot_token>

For subsequent launches run points 4, 7

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages