Bitcoin Forum

Other => Beginners & Help => Topic started by: babygeek on June 27, 2011, 09:47:04 AM



Title: [OFFICIAL] BTCValueNotifier
Post by: babygeek on June 27, 2011, 09:47:04 AM
Hi,
I coded a small bash script that displays every x seconds the value of bitcoin on different Markets: BTCValueNotifier.

How to use with Ubuntu:
Download the script: wget http://babygeek.free.fr/files/Bitcoin/BTCValueNotifier.sh (http://babygeek.free.fr/files/Bitcoin/BTCValueNotifier.sh)
Install notify-send: sudo apt-get install notify-send
Make the script executable: chmod +x BTCValueNotifier.sh
Edit the script then change the settings in "CONFIG" part (l 19) as desired, you can change the market, the currency, the frequency of update..., then save.
Run the script: ./BTCValueNotifier.sh


Features:
Alert system.
MtGox support (USD only).
TradeHill support (Multi currencies: https://www.tradehill.com/DepositOverview/).
Bitomat support (PLN only).
Britcoin support (GBP only).
BitMarket support (Multi currencies: https://bitmarket.eu/faq#faq_trading_11).
ExchangeBitcoins support (USD only).
BTCex support (USD only).


How to use with Windows (until I develop a compatible version)
Install Cygwin and select wget as package to install.
Edit the script (http://babygeek.free.fr/files/Bitcoin/BTCValueNotifier.sh (http://babygeek.free.fr/files/Bitcoin/BTCValueNotifier.sh)), search the line "notify-send "Bitcoin Value @$market$currency" "$(echo -e "$val")" " (near to the end), replace it by:
Code:
echo "MsgBox \"$val\", vbOkOnly, \"Bitcoin Value @$market$currency\"" > alert.vbs
cmd /C alert.vbs
now, run BTCValueNotifier w/ Cygwin: ./BTCValueNotifier.sh



I created a launchpad page to help track development, bug reports, or ask for new markets that you would see in the script: https://launchpad.net/btcvaluenotifier (https://launchpad.net/btcvaluenotifier)



If you have a question, a problem... pm me, contact me on IRC: BabyGeek @ Freenode, or ask a question on Launchpad.

PS: there is no virus in the script, it is not a binary, you can view the contents of the script by editing it.


Title: Re: [OFFICIAL] BTCValueNotifier
Post by: forexmasterja on June 27, 2011, 12:05:20 PM
This is great, I wish someone would code a simple windows app that does this same thing.


Title: Re: [OFFICIAL] BTCValueNotifier
Post by: babygeek on June 27, 2011, 04:32:32 PM
Thank you, I think I can do it, I'll look when I have some time available. But if someone want to do it, contact me.
I found a temporary solution by using Cygwin (i edited the first message).


Title: Re: [OFFICIAL] BTCValueNotifier
Post by: mangalex on June 27, 2011, 04:38:21 PM
how to use on windows without Cygwin?


Title: Re: [OFFICIAL] BTCValueNotifier
Post by: babygeek on June 27, 2011, 04:44:30 PM
Impossible for the moment.
I will make a windows version in few days...