Skip to main content

A command line tool to login into Telegram with user or bot accounts.

Project description

tg-login

A command line tool to login into Telegram with user or bot accounts.

Why

Why the need of a seperate tool like tg-login ?

Installation

pip install tg-login

Usage

Usage: tg-login [OPTIONS]

  A command line tool to login into Telegram with user or bot accounts.

Options:
  -v, --version  Show version and exit.
  --help         Show this message and exit.

The API_ID ,API_HASH, BOT_TOKEN, PHONE_NO, can be passed as CLI options, or can be set as environment variables.

Provide either BOT_TOKEN or PHONE_NO. If both are found, tg-login will use the bot account.

tg-login by default generates the session string and saves it in your Telegram's Saved Messages.

If the --session=file option is provided, it will generated a session file.

Projects using tg-login

Open a PR to add your project here!

Credits

Made with Telethon.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tg-login-0.0.1rc0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

tg_login-0.0.1rc0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page