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
- Added button GUI
- No need to type email everytime.
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.
Fork this repo.
- Go to Repository Settings -> Secrets
-
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
-
After adding all the above Required Variables go to Github Actions tab in your repository.
- Select Manually Deploy to Heroku workflow as shown below:
- Choose
heroku
branch and click on Run workflow
- That's it, if no errors occured, the bot will be live/working in 2-3 minutes.
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
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.
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
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 .