Giter Club home page Giter Club logo

stringsessionbot's Introduction

Pyrogram and Telethon String Session Bot @StarkStringGenBot

A star ⭐ from you means a lot to us!

Telegram bot to generate pyrogram and telethon string session.

Open Source Love svg1

Usage

Deploy to Heroku

Deploy

  1. Tap on above button and fill API_ID, API_HASH, BOT_TOKEN (and MUST_JOIN).
  2. Then tap "Deploy App" below it. Wait till deploying is complete (will take atmost 2 minutes).
  3. After deploying is complete, tap on "Manage App"
  4. Check the logs to see if your bot is ready!

Local Deploying

  1. Clone the repo

    git clone https://github.com/StarkBotsIndustries/StringSessionBot
  2. Get a DATABASE_URL. If you don't know how, deploy using Heroku Button only or delete database things as it's not a compulsion.

  3. Rename .env.sample to .env and fill the needed variables

  4. Enter the directory

    cd StringSessionBot
  5. Install all the dependencies

    pip install -r requirements.txt
  6. Run the file

    python3 bot.py

Environment Variables

Mandatory Vars

  • API_ID - Get this from my.telegram.org
  • API_HASH - Get this from my.telegram.org
  • BOT_TOKEN - Get this from @BotFather
  • DATABASE_URL - Will be automatically added by Heroku.
  • MUST_JOIN - Username/ID of your telegram channel/group.

Functions

  • Generate Pyrogram user string session
  • Generate Pyrogram bot string session
  • Generate Pyrogram (Major) Version 1 and 2 string sessions
  • Generate Telethon string session

To-Do

That's on you mainly...

PRs Welcome

Credits

Support

Channel :- @StarkBots

Group Chat :- @StarkBotsChat

:)

ForTheBadge made-with-python

ForTheBadge built-with-love

ForTheBadge makes-people-smile

stringsessionbot's People

Contributors

shivangkakkar avatar snehashish06 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.