Skip to content

Bitcoin Alert script as seen in the HBO show Silicon Valley S5E03

License

Notifications You must be signed in to change notification settings

BitPolito/bitcoin-alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gilfoyle Bitcoin Alert

forthebadge

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.

How to install and run code

Installation

# 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

Run

$ python alert.py


Made to scare the BIT PoliTO office 👻 by

Releases

No releases published

Packages

No packages published

Languages