Coder Social home page Coder Social logo

fake_mail_generator-telegram-bot's Introduction

Temp_Mail Bot 📨

Saves your origional inbox from spam. 😎

So using this repo you can deploy your Telegram Bot that can generate unlimited emails and do alot more. Or you can just use MINE


Banner 🖼️


Changelog

  • Added button GUI
  • No need to type email everytime.

Pre-requests 🧬

Create a Heroku account and get its api Key from settings.

Create a Telagram Bot using BotFather and get its bot token. Also enable inline mod.

Create a Mailsac Account and get its api key.

Basic knowledge about Git and Heroku.


Deploy on Heroku With Github Workflow 🗒️

Fork this repo.

  1. Go to Repository Settings -> Secrets

Secrets

  1. Add the below Required Variables one by one by clicking New Repository Secret every time.

    • HEROKU_EMAIL: Heroku Account Email Id in which the above app will be deployed
    • HEROKU_API_KEY: Your Heroku API key, get it from HERE
    • HEROKU_APP_NAME: Your Heroku app name, Name Must be unique
    • CONFIG_FILE_URL: Copy This and create a new github Gist ,name it as config.env and paste it here. Fill the variables:
      • MAILSAC_API_KEY: Mailsac api key you got
      • BOT_TOKEN: Telegram Bot token you got
      • HEROKU_APP_NAME: Your Heroku app name, Name Must be unique
        Now save the gist and get its raw link. Remove the commit id from raw link. For more help visit HERE
  2. After adding all the above Required Variables go to Github Actions tab in your repository.

    • Select Manually Deploy to Heroku workflow as shown below:

Select Manual Deploy

  1. Choose heroku branch and click on Run workflow

Run Workflow

  1. That's it, if no errors occured, the bot will be live/working in 2-3 minutes.

Deploy manually/locally using ngrok (Temperary Deploy) 🗒️

If you want to deploy this bot on your machine follow this
you system should alredy have flask and ngrok pre installed.

Linux:

Clone this repo

git clone  https://github.com/dhimanparas20/Fake_Mail_Generator-Telegram-bot.git && cd Fake_Mail*

Start Ngrok Server

ngrok http 5000

Open config.env and fill the variables accordingly but put HEROKU_APP_NAME as "forwarding"link provided after running above command.

Open app.py and commentout lines 20,21,22 (Add #hash at the beginning).

Open app.py and uncomment lines 25,26,27 (Remove #hash from the beginning).

Run the app

python3 app.py

Thats it. Enjoy


Trouble-shooting ☢️

Type /ping in bot chat in telegram. If you get a response, congratulations the BOT is working.

If not then check the Actions in git. See if the workflow completed sucessfully.

If not then read the error (most probably you should change heroku app name in secrets")

Check Heroku logs for more details.

You can contact me for Help and Support on my Telegram @ https://t.me/Ken_keneki_69

If you want to change your bot token or mailsac api simple just edit your gist and jsut restart your heroku app.


Bot Commands 🦾

Save the following Bot commands in BotFather for your bot:

help - learn how to use the bot
available - Check availability email address
count - Count total inbox mails
inbox - View most recent mail
purge - Empty the inbox
list - Sends last n(1-9) emails
index - Read Nth(1-9) mail
ping - Gives 'Pong' as response


Notes ⚠️

Dont edit this script if you hav 0 knowledge about Coding.
Dont be a gey by copying or importing this repo and calling it yours.
Any changes for betterment are welcome,
If you liked the script or need any kind of help , ping me up https://t.me/ken_kaneki_69
Im not responsible for any of your data losses , do it at your own will .

fake_mail_generator-telegram-bot's People

Contributors

dhimanparas20 avatar

Watchers

 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.