Made for devotion to the TV series Silicon Valley, Gilfoyle Bitcoin Alert is a Python3 script which alerts the user with the Napalm Death sound (as the one used by Gilfoyle in Season 5 Episode 3) when the Bitcoin price changes rapidly above or below a given threshold.
The price is fetched from the Binance API every 30 seconds and the default currency is USD. These values can be changed at will.
# clone the repo
$ git clone https://github.com/BITPoliTO/bitcoin-alert.git
# change the working directory to bitcoin-alert
$ cd bitcoin-alert
# install general requirements
$ pip install -r requirements.txt
# Run this line only on MacOS
$ pip install pyobjc
On Linux make sure python3-gst-1.0
is installed by running sudo apt install python3-gst-1.0
$ python alert.py