Skip to content

felixgborrego/telegram-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Tracker CLI

WARNING: This is just an excuse to learn Rust, nothing fancy to see in this Repo!.

I didn't even complete the first 10 chapters of The Book.

If you somehow are still interested, you will get something like this, with the Telegram tracker printing in your terminal all the incoming messages:

cli

Requirements

Other than the crate declared at Cargo.toml, this crate needs tdjson 1.7.0 dylib in your path for building and running your application.

  • Install the dependencies: brew install gperf cmake openssl

  • Add the libtdjson dynamic library to path (warning: it must be 1.7.0). You can compile it following the Tdlib build instructions

    export LD_LIBRARY_PATH=$PWD/lib/
    

Build

LD_LIBRARY_PATH=lib cargo build --release
  • Build with Docker docker build -t telegram_tracker:0.1.6 .

Run

LD_LIBRARY_PATH=lib ./target/release/telegram_tracker  \
         --phone <phone>  \
         --telegram-api-id <telegram-api-id>
         --telegram-api-hash <telegram-api-hash>
         --follow-channel-id 1312345502

About

Telegram CLI tracker implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published