jldevezas / crypto-alarm

A cross-platform python daemon to configure crypto sound alarms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crypto-alarm

A cross-platform python daemon to configure crypto sound alarms.

crypto-alarm screenshot

-- Powered by CoinGecko API

Installation

Basic requirements are python 3.x and pip.

pip install -r requirements.txt

systemd (optional)

Ensure the python binary in crypto-alarm/etc/systemd/system/crypto-alarm.service is correct, and then:

cd crypto-alarm/
sudo cp -i etc/systemd/system/crypto-alarm.service /etc/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable crypto-alarm # optional
sudo systemctl start crypto-alarm

Examples

Track price for bitcoin in the command line:

./crypto-alarm.py -c BTC -s 1000

Launch as a daemon to get audio alerts in the background:

./crypto-alarm.py -c BTC,ETH -s 1000,100 -d

Kill the running daemon:

./crypto-alarm.py -k

Test the alarm sounds:

./crypto-alarm.py -t

About

A cross-platform python daemon to configure crypto sound alarms.


Languages

Language:Python 100.0%