lorcalhost / RomanceBreaker

Python script which sends a custom morning message to your significant other every morning at a given time range on Facebook Messenger, WhatsApp, Telegram or SMS, for lazy people

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Romance Breaker

"Is your girlfriend/boyfriend complaining that you wake up too late every morning or that you are not romantic enough but of course you're too lazy to change? I have a solution for you."

Introducing Romance Breaker, a small python script which sends a custom morning message from a list to your significant other every morning at a given time range on Facebook Messenger or WhatsApp, now doesn't this sound great already?

Most loved features:

  • You can still be lazy
  • You can still wake up late
  • Relationship improvement (I don't take any responsibility if Romance Breaker® doesn't improve relationship status)
  • Magic

[NEW]: Windows users can now use the graphical version of RomanceBreaker:

Download here
Source code here


Facebook Messenger:

Installation on PC

Romance breaker relies on a few things, here is what to do to get them:

  • Python3 is needed get it from here
For Linux:

Run these commands in your preferred terminal application

sudo apt-get install python3-pip
pip3 install fbchat bs4 
git clone https://github.com/lorcalhost/RomanceBreaker.git
For Windows
  • Also install git from here
  • Make sure you run all the commands from git
sudo pip install fbchat bs4 
git clone https://github.com/lorcalhost/RomanceBreaker.git

Installation on Android

As it was highly requested by the plebs without a raspberry pi: From Android you will only be able to run the Facebook Messenger version, here are the instructions:

termux-setup-storage and allow storage access

cd storage/downloads 
pkg install python3 git
pip3 install fbchat requests bs4 enum
git clone https://github.com/lorcalhost/RomanceBreaker.git

Please note that every time you restart your device, you will have to re run the commands in the How to run section

For Android users: you will also need to press "ACQUIRE WAKELOCK" in the Termux notification to enable the script to run in the background without the process being killed


Telegram

Installation on PC

Romance breaker relies on a few things, here is what to do to get them:

  • Python3 is needed get it from here
For Linux:

Run these commands in your preferred terminal application

sudo apt-get install python3-pip
pip3 install telethon bs4 
git clone https://github.com/lorcalhost/RomanceBreaker.git
For Windows
  • Also install git from here
  • Make sure you run all the commands from git
sudo pip install telethon bs4 
git clone https://github.com/lorcalhost/RomanceBreaker.git

Installation on Android

As it was highly requested by the plebs without a raspberry pi: From Android you will only be able to run the Facebook Messenger version, here are the instructions:

termux-setup-storage and allow storage access

cd storage/downloads 
pkg install python3 git
pip3 install telethon requests bs4 enum
git clone https://github.com/lorcalhost/RomanceBreaker.git

Please note that every time you restart your device, you will have to re run the commands in the How to run section

For Android users: you will also need to press "ACQUIRE WAKELOCK" in the Termux notification to enable the script to run in the background without the process being killed

To make the telegram script work you'll also need to update the config.py file with your login info:

  • Log in to your Telegram core: https://my.telegram.org.
  • Go to ‘API development tools’ and fill out the form.
  • Create an app
  • You will get the api_id and api_hash parameters required for user authorization (to put in the config.py file)

Password only required if you have two-step verification enabled


WhatsApp and SMS

Installation on PC

Romance breaker relies on a few things, here is what to do to get them:

  • Python3 is needed get it from here
  • Chrome Driver get it from here and unzip in the RomanceBreaker folder
  • If you want to setup SMS you will need to have Google messages on your Android phone
For Linux:

Run these commands in your preferred terminal application

sudo apt-get install python-dev libxml2-dev libxslt1-dev zlib1g-dev xclip
sudo pip install selenium bs4 pyperclip
git clone https://github.com/lorcalhost/RomanceBreaker.git
For Windows
  • Also install git from here
  • Make sure you run all the commands from git
pip install selenium bs4 pyperclip
git clone https://github.com/lorcalhost/RomanceBreaker.git
SMS mode is strongly not suggested, it's slow and buggy due to Google Messages nature

Usage

First go to the program directory by typing in the terminal:

  • From PC: cd RomanceBreaker
  • From Android: cd storage/downloads/RomanceBreaker

Then run the script with the according argument:

  • For WhatsApp version: python romanceBreaker.py -w or python romanceBreaker.py whatsapp
  • For Messenger version: python romanceBreaker.py -m or python romanceBreaker.py messenger
  • For SMS version: python romanceBreaker.py -s or python romanceBreaker.py sms

Also other arguments exist like:

  • To open user guide: python romanceBreaker.py -h or python romanceBreaker.py help or python romanceBreaker.py man
  • To update the script: python romanceBreaker.py update

For Android users: you will also need to press "ACQUIRE WAKELOCK" in the Termux notification to enable the script to run in the background withoutthe process being killed
Android right now only supports Facebook Messenger mode Simply cd RomanceBreaker and python WA-RomanceBreaker.py

Custom messages/times setup

Android users may want to edit the config.py file with their preferred text editing app as the file will be in the Downloads folder of their devices

Simply open the config.py file with your preferred text editing app and follow the instructions there, I think I made them clear enough

If you still cannot understand from the config.py file..

Custom messages:

Replace the messages in between " " with your own custom messages, you can also add more custom messages by adding after the " of the last message a comma and a new message, always in between " "s. If we want to add New custom message to the list below

custom_morning_messages = ["Good morning beautiful ♥♥♥"]

We just need to edit it like this:

custom_morning_messages = ["Good morning beautiful ♥♥♥", "New custom message"]

Custom time range:

If we want to change the time range we have to edit this line:

custom_time_interval = ["04:20", "16:20"]

Make sure the hour is always two digits


Comments of people who are enjoying the effects of Romance Breaker:

My life has never been so great,
since I added this script with 1337
custom messages downloaded from the
dark net in bulk to my 24/7
running raspberry pi my life has
improved so much. Now my girlfriend
thinks I'm perfect, while I'm sleeping
peacefully and dreaming of waifus.
Luca, 19 y/o, London


This program was inspired by a real life critique, @PreslavaKuzova

About

Python script which sends a custom morning message to your significant other every morning at a given time range on Facebook Messenger, WhatsApp, Telegram or SMS, for lazy people

License:GNU General Public License v3.0


Languages

Language:Python 100.0%