Skip to content

Unofficial Telegram client for all devices, e.g. push-button phones.

License

Notifications You must be signed in to change notification settings

xadjilut/microclient

Repository files navigation

microclient /ArmyRF 🇷🇺


Unofficial Telegram client for all devices, e.g. push-button phones.
Alternative project from another author.

Features

This full client web-app allow to receive text messages, images, stickers and voice messages, send text and voice messages. Also microclient support opening internet-sites for gathering text content without media, styles and scripts.

Requirements

  • FFmpeg (for voice convert)
  • Python 3.6+

Installation

Manual:

python3 -m pip install --user -r requirements.txt

Configuration

  • Obtain api credentials (api_id and api_hash) to https://my.telegram.org

  • For enable a guest mode, you can found session file with "session" name using terminal:

    python microclient.py --api-id <your api_id> --api-hash <your api_hash> --setup-guest

    Enter phone, code, optional password and close terminal.

Running

python3 microclient.py

Visualization

Open http://localhost:8090/armyrf in your horny browser (or cURL, wget, python requests, lol) and funny.

Listed routes:

  • /armyrf
  • /armyrf/<xid>
  • /armyrf/auth
  • /armyrf/dl
  • /armyrf/dl/<filename>
  • /armyrf/faq
  • /armyrf/logout
  • /armyrf/pass
  • /armyrf/profile
  • /armyrf/reply
  • /armyrf/search
  • /armyrf/search/<entity_str>
  • /armyrf/wat
  • /microlog/<secret_part>
  • /p
  • /time
  • /ua

Docker

Build:

docker build -t microclient .

Run it:

docker run -d -p 8090:8090 -v $(pwd):/root microclient

❗️Deploy it before the start of general mobilization!🚀