Bitcoin Forum

Other => Beginners & Help => Topic started by: BTCH on July 09, 2013, 04:56:19 PM



Title: CGMiner/BTC Guild, simple statistics
Post by: BTCH on July 09, 2013, 04:56:19 PM
Hello, I needed a simple website where I could display how my miner is doing + BTCGuild statistics so I took a day to code a simple interface that would display statistics from my CGMiner and my BTC Guild api.

CGMiner need to have the command, --api-listen

The rest you do in "conf.php"
Ip is 127.0.0.1 if you are running cgminer on the same computer as webhost otherwise you put in the ip of the computer where the cgminer is running ("--api-network" is also required if you dont run cgminer on the same computer as webhost)

If you are mining at BTCGuild you also have the option to put in your API key (in conf.php) that you can find in settings at btcguild.

Download: https://www.dropbox.com/sh/hr2hdd7ox2lk8y7/tmjjPfB7MZ

The code looks rubbish but works, took me about a day to code this, enjoy.

I just made this esterday so if you have any suggestions please write them :)

Donations are always helpfull :)

1JkTuZCeF5GiPoYMxRWcx5qTu2ppaLPc5g

If it gets some attention i might consider working more on it like being able to quit, restart miner from the web interface...

CGMiner page
http://gyazo.com/c5c26c7e1feea7ca28486772d02f8d5d.png


BTC Guild page
http://gyazo.com/43c00dc6534fcf7e00889bf21c9171fb.png