Skip to content

SkillichSE/TG-session-QR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Telegram Session Generator

A simple utility to generate a Telethon session string via QR code - no SMS or phone number input needed.

Install

pip install telethon qrcode pillow

Usage

python generate_session.py

Enter your api_id and api_hash from my.telegram.org.

A QR code will appear in the terminal. Open Telegram on your phone → Settings → Devices → Link Desktop Device → scan the QR.

The script prints your session string - copy it and use it wherever you need a Telethon StringSession.

Why QR?

SMS codes are unreliable - they can be delayed, blocked, or simply not arrive. QR login works instantly through your existing Telegram session on your phone.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors