Skip to content

ubden/telegram-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“ฑ Telegram Tools by Ubdenยฎ

Release Workflow Python Version License

Professional Telegram Automation Solution

A powerful Python-based Telegram automation tool with an intuitive graphical interface for member scraping, adding, and bulk messaging operations.

Features โ€ข Installation โ€ข Usage โ€ข Documentation โ€ข Releases


Developer: Can Kurt | @ck-cankurt
Organization: Ubdenยฎ | ubden.com

image

โš ๏ธ Disclaimer / Sorumluluk Reddi

IMPORTANT LEGAL NOTICE / ร–NEMLฤฐ YASAL UYARI

English: This tool is provided for educational and research purposes only. The developers and contributors of this project are not responsible for any misuse, damage, or legal consequences resulting from the use of this software. Users are solely responsible for ensuring their usage complies with:

  • Telegram's Terms of Service
  • Local and international laws and regulations
  • Privacy and data protection regulations (GDPR, KVKK, etc.)
  • Anti-spam and communication laws

Automated actions on Telegram may result in account restrictions, bans, or legal action. Use at your own risk. By using this software, you acknowledge and accept full responsibility for your actions.


Tรผrkรงe: Bu araรง yalnฤฑzca eฤŸitim ve araลŸtฤฑrma amaรงlฤฑdฤฑr. Bu projenin geliลŸtiricileri ve katkฤฑda bulunanlar, bu yazฤฑlฤฑmฤฑn kullanฤฑmฤฑndan kaynaklanan herhangi bir kรถtรผye kullanฤฑm, hasar veya yasal sonuรงtan sorumlu deฤŸildir. Kullanฤฑcฤฑlar, kullanฤฑmlarฤฑnฤฑn aลŸaฤŸฤฑdakilere uygun olduฤŸundan emin olmaktan yalnฤฑzca kendileri sorumludur:

  • Telegram Kullanฤฑm ลžartlarฤฑ
  • Yerel ve uluslararasฤฑ yasa ve dรผzenlemeler
  • Gizlilik ve veri koruma dรผzenlemeleri (GDPR, KVKK, vb.)
  • Spam รถnleme ve iletiลŸim yasalarฤฑ

Telegram'da otomatik iลŸlemler hesap kฤฑsฤฑtlamalarฤฑna, yasaklamalara veya yasal iลŸlemlere yol aรงabilir. Riski size aittir. Bu yazฤฑlฤฑmฤฑ kullanarak, eylemlerinizin tรผm sorumluluฤŸunu kabul ettiฤŸinizi onaylarsฤฑnฤฑz.


๐Ÿš€ Features

Feature Description
๐Ÿ‘ฅ Multi-Account Support Configure and use multiple Telegram accounts simultaneously
๐Ÿ” Member Scraping Extract member information from Telegram groups with precision
โž• Member Adding Add scraped members to target channels/groups efficiently
๐Ÿ’ฌ Bulk Messaging Send private messages to multiple group members at once
๐ŸŒ Proxy Support Route API requests through HTTP proxies with authentication
โฑ๏ธ Flood Control Configurable delays to avoid Telegram rate limits
๐Ÿ” Secure Storage Encrypted configuration and session management
๐Ÿ‡น๐Ÿ‡ท Turkish Interface Fully localized Turkish GUI with detailed instructions
๐Ÿ”‘ GUI Authentication In-app authentication dialogs (no terminal input needed)

๐Ÿ“‹ Requirements

  • Python 3.8 or higher
  • Telegram API credentials (API ID and API Hash)
  • Internet connection for Telegram API access
  • Operating System: Windows, Linux, or macOS

๐Ÿ”ง Installation

Method 1: Quick Start (Recommended)

# Clone the repository
git clone https://github.com/ubden/telegram-tools.git
cd telegram-tools

# Create virtual environment
python -m venv .venv

# Activate virtual environment
# Windows:
.venv\Scripts\activate
# Linux/Mac:
source .venv/bin/activate

# Install dependencies
pip install -r requirements.txt

# Run the application
python main.py

Method 2: Pre-Built Executable (Windows Only)

  1. Visit the Releases page
  2. Download the latest TelegramTools-vX.X.X.exe
  3. Run the executable - no installation required!

๐Ÿ”‘ How to Get Telegram API Credentials

graph LR
    A[Visit my.telegram.org] --> B[Login with phone]
    B --> C[API development tools]
    C --> D[Fill application details]
    D --> E[Create application]
    E --> F[Copy API ID & Hash]
Loading

Step-by-Step Guide:

  1. ๐ŸŒ Go to https://my.telegram.org
  2. ๐Ÿ“ฑ Log in with your phone number
  3. ๐Ÿ› ๏ธ Click on "API development tools"
  4. ๐Ÿ“ Fill in the application details:
    • App title: Any name (e.g., "My Telegram Tools")
    • Short name: Any short name (e.g., "mytools")
    • Platform: Desktop
  5. โœ… Click "Create application"
  6. ๐Ÿ“‹ Copy your API ID and API Hash

๐ŸŽฏ Usage Guide

1๏ธโƒฃ Configuration Tab (Yapฤฑlandฤฑrma)

Click to expand configuration steps
  • Enter your API IDs and API Hashes (comma-separated for multiple accounts)
  • Configure proxy settings (optional)
  • Set flood control time (delay between operations in seconds)
  • Enter source group and target channel names
  • Click "Bilgileri Kaydet" to save

2๏ธโƒฃ Member Scraping & Adding (รœye Toplama-Ekleme)

Click to expand scraping & adding steps
  • Ensure configuration is saved
  • Click "ฤฐลŸlemi BaลŸlat" to begin
  • First time authentication:
    • Enter phone number (e.g., +905551234567)
    • Enter verification code from Telegram
    • Enter 2FA password if enabled
  • Monitor progress in the log area
  • View success/failure statistics

3๏ธโƒฃ Bulk Messaging (Toplu Mesaj)

Click to expand bulk messaging steps

Adding Groups:

  • Type group name or link in the input field
  • Click "โž• Ekle" or press Enter
  • Format: @groupname or https://t.me/groupname

Sending Messages:

  • Select groups from the list (Ctrl+Click for multiple)
  • Write your message in the text area
  • Click "Mesaj Gรถnder" to start sending
  • Monitor progress and statistics

Group Management:

  • โž• Ekle: Add new group to list
  • ๐Ÿ—‘๏ธ Seรงileni Sil: Remove selected groups
  • ๐Ÿ—‘๏ธ Tรผmรผnรผ Temizle: Clear all groups

๐Ÿ“ Project Structure

telegram-tools/
โ”œโ”€โ”€ ๐Ÿ“‚ src/                    # Source code
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ config.py          # Configuration management
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ session_manager.py # Telegram session handling
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ scraper.py         # Member scraping module
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ adder.py           # Member adding module
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ bulk_messenger.py  # Bulk messaging module
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ flood_controller.py# Rate limiting
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ gui.py             # Graphical user interface
โ”‚   โ”œโ”€โ”€ ๐Ÿ“„ logger.py          # Logging configuration
โ”‚   โ””โ”€โ”€ ๐Ÿ“„ models.py          # Data models
โ”œโ”€โ”€ ๐Ÿ“‚ tests/                  # Test suite
โ”œโ”€โ”€ ๐Ÿ“‚ config/                 # Configuration directory
โ”œโ”€โ”€ ๐Ÿ“„ main.py                # Application entry point
โ”œโ”€โ”€ ๐Ÿ“„ requirements.txt       # Python dependencies
โ”œโ”€โ”€ ๐Ÿ“„ README.md             # This file
โ””โ”€โ”€ ๐Ÿ“„ .github/workflows/     # CI/CD workflows

๐Ÿ”’ Security & Privacy

Component Security Measure
๐Ÿ” API Credentials Fernet encryption
๐Ÿ’พ Configuration ~/.telegram-tools/config.json (encrypted)
๐Ÿ“ฑ Session Files ~/.telegram-tools/sessions/ (encrypted)
๐Ÿ“ Logs ~/.telegram-tools/app.log

Note: All sensitive data is encrypted using industry-standard Fernet encryption to ensure maximum security.


โš ๏ธ Important Notes

โšก Respect Telegram's Terms of Service: Excessive automation may result in account restrictions
โฑ๏ธ Use Flood Control: Set appropriate delays (recommended: 30-60 seconds)
๐Ÿงช Test with Small Groups: Start with small groups to test functionality
๐Ÿ’พ Backup Sessions: Keep backup of session files to avoid re-authentication


๐Ÿงช Testing

Run tests using pytest:

# Run all tests
python -m pytest tests/ -v

# Run specific test categories
python -m pytest tests/test_config.py -v
python -m pytest tests/test_session_manager.py -v

๐Ÿ“ฆ Releases & Downloads

๐Ÿ“ฅ Downloading Pre-Built Executables

For Windows users who don't want to install Python:

  1. Go to the Releases page
  2. Download the latest TelegramTools-vX.X.X.exe file
  3. Run the executable - no installation required!

System Requirements:

  • โœ… Windows 7 or later
  • โœ… No Python installation needed
  • โœ… No additional dependencies required

๐Ÿš€ Creating a New Release

Releases are created automatically using GitHub Actions when you push a version tag.

Click to expand release process

Step-by-Step Release Process:

  1. Ensure your code is ready:

    git status
    git add .
    git commit -m "Prepare for release v1.0.0"
  2. Create and push a version tag:

    # Create an annotated tag
    git tag -a v1.0.0 -m "Release version 1.0.0 - Initial stable release"
    
    # Push the tag to GitHub
    git push origin v1.0.0
  3. Monitor the workflow:

    • Go to the Actions tab
    • Watch the "Build and Release" workflow execute
  4. Verify the release:


๐Ÿ› Troubleshooting

โŒ "Can't find a usable init.tcl" Error
  • This is automatically fixed by the application
  • If persists, ensure Python is properly installed with tkinter support
๐Ÿ”‘ Authentication Issues
  • Ensure phone number includes country code (e.g., +905551234567)
  • Check that verification code is entered correctly
  • Verify 2FA password if enabled
๐Ÿ” "The key is not registered" Error
  • Session needs authentication
  • Delete session files in ~/.telegram-tools/sessions/ and re-authenticate
โฑ๏ธ Flood Errors
  • Increase flood control time in configuration
  • Wait before retrying operations
  • Use fewer accounts or slower operation speed

๐Ÿ“š Dependencies

Package Version Purpose
telethon >=1.34.0 Telegram API client library
cryptography >=41.0.0 Encryption for sensitive data
hypothesis >=6.92.0 Property-based testing
tkinter Built-in GUI framework

๐Ÿค Contributing

Contributions are welcome! Please feel free to:

  • ๐Ÿ› Report bugs
  • ๐Ÿ’ก Suggest new features
  • ๐Ÿ”ง Submit pull requests
  • ๐Ÿ“– Improve documentation

๐Ÿ’– Support & Donate

If you find this project useful, consider supporting the development:

Ubden Link Shortener and Social Tools
Support the project and get access to premium features!

Donate

Your support helps maintain and improve this project. Thank you! โค๏ธ


๐Ÿ‘จโ€๐Ÿ’ป Developer

Can Kurt

GitHub Website


๐ŸŒŸ Follow Us

Stay updated with the latest developments:

Follow @ubden Follow @ck-cankurt

Organization: github.com/ubden
Developer: github.com/ck-cankurt


๐Ÿ“„ License

License to be determined. Please contact the developer for usage permissions.


Telegram Tools by Ubdenยฎ

Professional Telegram Automation Solution

Made with โค๏ธ by Can Kurt


โญ Star this repository if you find it useful! โญ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages