All Projects → lorcalhost → ChristmasSpiritBreaker-andNewYearsToo

lorcalhost / ChristmasSpiritBreaker-andNewYearsToo

Licence: GPL-3.0 license
Python script which automatically sends Christmas/New Year's messages from a custom messages list on Whatsapp, Facebook Messenger or via SMS in a given time range, to a custom contacts list. Time to work smart, not hard.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ChristmasSpiritBreaker-andNewYearsToo

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
Stars: ✭ 36 (-55.56%)
Mutual labels:  sms, facebook-messenger, whatsapp, messages
Forensic Tools
A collection of tools for forensic analysis
Stars: ✭ 204 (+151.85%)
Mutual labels:  facebook-messenger, whatsapp
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (+83.95%)
Mutual labels:  facebook-messenger, whatsapp
python-automated-bulk-whatsapp-messages
It is a python script to send automated bulk WhatsApp messages to multiple recipients from an excel sheet at once.
Stars: ✭ 56 (-30.86%)
Mutual labels:  python-script, whatsapp
messenger
Laravel messenger. A full messenger suite for your new / existing laravel app! Private and group threads between multiple models, with real-time messaging, reactions, attachments, calling, chat bots, and more!
Stars: ✭ 194 (+139.51%)
Mutual labels:  friends, messages
Chatistics
💬 Python scripts to parse Messenger, Hangouts, WhatsApp and Telegram chat logs into DataFrames.
Stars: ✭ 814 (+904.94%)
Mutual labels:  facebook-messenger, whatsapp
PyStalker
Python script to see you what your friends are doing on Codeforces!
Stars: ✭ 12 (-85.19%)
Mutual labels:  python-script, friends
Matterbridge
bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Stars: ✭ 4,452 (+5396.3%)
Mutual labels:  facebook-messenger, whatsapp
Bomberthon
Best Bombing Tool with WhatsApp, Instagram, SMS bomber
Stars: ✭ 84 (+3.7%)
Mutual labels:  sms, whatsapp
notify
Send emails and text messages to your users if you work in Australian government
Stars: ✭ 15 (-81.48%)
Mutual labels:  sms, messages
text-sdk-php
PHP SDK to send messages with CM.com
Stars: ✭ 18 (-77.78%)
Mutual labels:  sms, whatsapp
Google Messages For Desktop
A "native-like" OS X, Windows, & Linux desktop app for Google Messages
Stars: ✭ 140 (+72.84%)
Mutual labels:  sms, messages
Botkit
Botkit is an open source developer tool for building chat bots, apps and custom integrations for major messaging platforms.
Stars: ✭ 10,555 (+12930.86%)
Mutual labels:  sms, facebook-messenger
numspy
A python module for sending free sms as well as finding details of mobile number via website Way2sms.
Stars: ✭ 57 (-29.63%)
Mutual labels:  sms, messages
whatsapp-verify
Check if a phone number exists on Whatsapp
Stars: ✭ 74 (-8.64%)
Mutual labels:  whatsapp
djangify
A Python script that converts HTML Files / Templates to Django compatible HTML Templates.
Stars: ✭ 54 (-33.33%)
Mutual labels:  python-script
WhatSoup
A web scraper that exports your entire WhatsApp chat history.
Stars: ✭ 86 (+6.17%)
Mutual labels:  whatsapp
android-chat-tutorial
Sample apps for the Stream Chat Android SDK's official tutorial
Stars: ✭ 44 (-45.68%)
Mutual labels:  messages
sms-spring-boot-project
短信服务Spring Boot Starter ,目前支持腾讯、阿里、赛邮和云之讯短信服务,腾讯、阿里、赛邮和云之讯短信均已验证,期待各位小伙伴合作完善这个项目
Stars: ✭ 79 (-2.47%)
Mutual labels:  sms
funny-words
A Python script that generates a list of pairs of funny words for naming things such as app releases, internal projects, servers and children.
Stars: ✭ 26 (-67.9%)
Mutual labels:  python-script

Christmas Spirit Breaker (and New Years Too)

"Are you tired of having to manually write and send christmas texts to everyone on christmas to mantain a good relationship with them? Do you want to be the annoying person who is the first one to send "Happy new year" messages to everyone on your contact list exactly at midnight? Do you want to be a bad boy this christmas season? I got you covered."

Strongly inspired by my other project RomanceBreaker, introducing Christmas Spirit Breaker, a python script which automatically sends a custom christmas/new year's greeting message, from a custom messages list, to your selected contacts you want to mantain good relationships with, at given time range on Facebook Messenger, WhatsApp, Telegram or via SMS. Time to be bad boys this christmas. Work smarter, not Harder.

What you will gain:

  • More time spent with the new body pillow you just received for christmas.
  • More time spent stealing new year's champagne from people who are busy texting their friends.
  • Mantain those relationships with friends (if you don't send greetings on such events they will know you are not a true friend)
  • Magic

[NEW] YOU CAN FIND THE VIDEO INSTALLATION GUIDE HERE

Facebook Messenger:

Installation on PC

Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely 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/ChristmasSpiritBreaker-andNewYearsToo.git
For Windows
  • Also install git from here
  • Make sure you run all the commands from git
pip install fbchat bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git

Installation on Android

From Android you will only be able to run the Facebook Messenger version, here are the instructions:

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

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


Telegram:

Installation on PC

Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely 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/ChristmasSpiritBreaker-andNewYearsToo.git
For Windows
  • Also install git from here
  • Make sure you run all the commands from git
pip install telethon bs4
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git

Installation on Android

From Android you will only be able to run the Facebook Messenger version, here are the instructions:

cd storage/downloads 
pkg install python3 git
pip install fbchat requests bs4 enum
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.git

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


WhatsApp and SMS

Installation on PC

Santa relies on reindeers for delivery, and so does Christmas Spirit Breaker rely 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 ChristmasSpiritBreaker-andNewYearsToo 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 python3-pip xclip
sudo pip3 install selenium bs4 pyperclip
git clone https://github.com/lorcalhost/ChristmasSpiritBreaker-andNewYearsToo.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/ChristmasSpiritBreaker-andNewYearsToo.git
SMS mode is strongly not suggested, it's slow and buggy due to Google Messages nature

How to run

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

  • From PC: cd ChristmasSpiritBreaker-andNewYearsToo
  • From Android: cd storage/downloads/ChristmasSpiritBreaker-andNewYearsToo

Then run the script with the according argument:

  • For WhatsApp version: python3 christmasSpiritBreaker.py -w or python3 christmasSpiritBreaker.py whatsapp
  • For Messenger version: python3 christmasSpiritBreaker.py -m or python3 christmasSpiritBreaker.py messenger
  • For SMS version: python3 christmasSpiritBreaker.py -s or python3 christmasSpiritBreaker.py sms
  • For Telegram version: python3 christmasSpiritBreaker.py -t or python3 christmasSpiritBreaker.py telegram

Also other arguments exist like:

  • To open user guide: python3 christmasSpiritBreaker.py -h or python3 christmasSpiritBreaker.py help or python3 christmasSpiritBreaker.py man
  • To update the script: python3 christmasSpiritBreaker.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


Custom messages/contacts/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 don't want to use the bot for both christmas and new years you can disable the fatures individually by setting to False the lines

christmasModeEnabled = True # Change to False to disable Christmas mode
newYearsModeEnabled = True # Change to False to disable New Year's mode
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

christmas_messages = ["Merry christmas!"]

We just need to edit it like this:

christmas_messages = ["Merry christmas!", "New custom message"]

Custom contacts:

Important:

  • Make sure that if you are setting up WhatsApp contatcs or SMS contacts you are writing their names as they appear in your phone's conatct list
  • If you are using Messenger use your contact's messenger username

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

christmas_contact_names = ["John McAfee"]

We just need to edit it like this:

christmas_contact_names = ["John McAfee", "Santa Claus"]

Custom time range:

The christmas messages will be sent on December 25th
The new years messages will be sent on January 1st

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

christmas_time_interval = ["08:00", "23:59"]

If we want to change the new year's time range we have to edit this line:

newYears_time_interval = ["00:00", "00:15"]

Make sure the hour is always two digits

Telegram API setup

  • 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).

If you have any trouble with your setup feel free to message me on Telegram @lorcalhost

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].