Created for Mac.
This application scrapes the daily verse from Verse of the Day and displays it in the command line. Then the user is prompted to "Ponder, Picture, and Personalize" the verse to let it soak in and allow the Holy Spirit to speak to them. Then the user can journal on their experience, whether a revelation, prayer, thoughts, etc.
Each time the user journals, it logs the verse, verse reference, journal notes, and date to a .csv
file that can be viewed with Microsoft Excel for future reference. I use Webhook to connect to the users IFTTT account can send an email to the user each day.
I am using Python 2.7.15 to run this project.
- Clone or download this repo.
cd
to the folder and install in order the following dependencies.
$ pip install BeautifulSoup4
$ pip install requests
- Run the program in the package folder
$ python main.py
Here is a great tutorial on how to do it, and below is my implementation with Gmail.
- Log into IFTTT.com
- Click My Applets and create a New Applet
- For This, search for Webhooks
- Choose Receive a Web Request Trigger
- Choose Gmail and click send an email
- Name the Event Name
verse_of_day
(this is theNAME_OF_EVENT
) - Enter your email address so it can send to you.
- Enter whatever email subject you want. I prefer
Verse of the Day - {{OccurredAt}}
<- OccuredAt will print the date. - Paste this code into the body (or personalize this HTML to fit your needs).
<div>
<div style="font-family: ProximaNova, 'Montserrat', OpenSans; color: #b2b2b3; font-size: 24px; font-weight: 600;">Here's the Verse of the Day:</div>
<br>
<div id="verse" style="font-size: 30px; font-weight: bold; font-family: ProximaNova, 'Montserrat', OpenSans; color: #404041; line-height: 1.1;">{{Value1}}</div>
<div style="font-style: italic; font-family: ProximaNova, 'Montserrat', OpenSans; color: #b2b2b3; font-size: 18px;">{{Value2}}</div>
<br>
<br>
<div style="font-family: ProximaNova, 'Montserrat', OpenSans; color: #b2b2b3; font-size: 24px; font-weight: 600;">Here is my journaling for the day:</div>
<br>
<div id="journaling" style="font-family: ProximaNova, 'Montserrat', OpenSans; color: #404041; white-space: pre-wrap; font-size: 18px;">{{Value3}}</div>
</div>
- Save the applet.
- Open
main.py
file. - Uncomment the following code
def notification(my_verse, my_verse_ref, my_journaling):
report = {}
report["value1"] = my_verse
report["value2"] = my_verse_ref
report["value3"] = my_journaling
requests.post("https://maker.ifttt.com/trigger/NAME_OF_EVENT/with/key/ID_OF_THE_KEY", data=report)
notification(verse, verse_ref, journaling)
- Insert your
(NAME_OF_EVENT)
and(ID_OF_THE_KEY)
inrequests.post
method. - Save
main.py
and run$ python main.py
This is great for the person who wants to make God the center of their world. He does not have to be separated from our jobs, because He is intertwined throughout it all.
$ sudo nano ~/.bash_profile
- Add these lines of code to the end of the file. Fill in path to daily-verse-journal.
$ alias VERSE="cd [path to daily-verse-journal]; python main.py; cd ~/"
VERSE
- Save the file and then run
$ source ~/.bash_profile
. - Close terminal and test program. It should work every time you open the terminal.
- Any time you are in the terminal and want to run the program, you can type
VERSE
and press enter.