Bitcoin Forum

Bitcoin => Project Development => Topic started by: eturnerx on June 14, 2011, 09:51:18 PM



Title: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 14, 2011, 09:51:18 PM
Hi, I've created a mobile website for tracking Bitcoin related stats while on the go. I've been using this myself for a couple of weeks and it's time the public got a look.

WatchMine: http://watchmine.infudu.com (http://watchmine.infudu.com)

Features
  • See important stats all in one screen
  • Javascript and localStorage based - nothing is stored on the webserver
  • Mining pool stats for: bitclockers, bitcoinpool, btcguild, btcmine, deepbit, slush & swepool (open for requests)
  • Market data from exchanges including MTGOX, TradeHill and many more
  • Price data (weighted price)
  • Optimised for iPhone/iTouch (tested on Android)
Many future features are planned. Add your requests in this thread - it will help me prioritise. I accept bounties.

Money
I might add premium features to WatchMine later but the basic stats viewing function will always remain free. I need your help to do this so please tip me a few bitcents. I accept bounties for feature requests and can even customize a personal version of WatchMine just for you.
Tip address: 15ai32gKS7s7t9ScgUjMLhHd1M3nhDn5n8

Screenshot
http://img14.imageshack.us/img14/562/photo15061190605am.png
http://watchmine.infudu.com (http://watchmine.infudu.com)

License
WatchMine and its code is copyright 2011 E. Turner (me). You are welcome to use WatchMine and view the underlying code, but you may not copy it. This site represents a non-trivial investment of my time and skill.

Getting Started
The default screen lists some stats that might not suit you. Click the Edit button and remove anything you don't want. Then click the Finish button. After that click the Add button and start adding stats the stats that you do want. Each stat is added onto the end of the list. Clicking Edit will allow you to re-order stats using up/down arrows.

App Mode
This site runs best as a full screen app: On iOS devices you can click the middle button on the bottom toolbar in the Safari web-browser. You'll then get an option to "Add to Home Screen" - click this and WatchMine will appear just like any other app. Cool huh.

Privacy & Security
I take your privacy and security seriously.
Only preference data is stored on your local device (using localStorage). This data is only transmitted to my webserver when needed but is not stored on my server. There is basically nothing harmful that I could do with the miner pool apikeys anyway because they provide read-only access to data.
All client-side code can be viewed using the usual web developer tools. I'm prepared to let prominent community members view and verify that the server-side code is doing nothing malicious if people want that.

Your btc tips, bounties and feedback will all encourage me to improve this mobile app further.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: Freakin on June 15, 2011, 12:58:22 AM
Very nice site!  Well done!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: nzbtc on June 15, 2011, 08:46:41 AM
Very nice!

I wrote a similar web-app for private use, no need to publicize it now! (Yours looks better :P)

Good to see another New Zealander in the bitcoin scene too!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 15, 2011, 12:52:18 PM
I glad you like the site. Let me know if you'd like anything added or changed. Chur bro!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 16, 2011, 11:35:51 AM
I've just added Swepool support. Also a few other minor bug fixes and code refactoring to improve things.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: lemosax on June 16, 2011, 07:31:34 PM
Pretty cool!  I'd love to see support added for these pools:
BTCGuilld: http://www.btcguild.com/
Bit Clockers: http://www.bitclockers.com/

Thanks!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: flyswatta on June 17, 2011, 03:30:46 AM
Nice!  Just some feedback:  I'm trying to add slush and (it's apparently down at the moment) so it get's in a state where you have a screen with a spinny thing like it's thinking or something.  I'm unable to get out of it.

http://dl.dropbox.com/u/5292606/watchmine.png


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 17, 2011, 03:42:26 AM
Pretty cool!  I'd love to see support added for these pools:
BTCGuilld: http://www.btcguild.com/
Bit Clockers: http://www.bitclockers.com/
Yep, I'll get on the right away. Gimme a few days.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 17, 2011, 03:44:49 AM
Nice!  Just some feedback:  I'm trying to add slush and (it's apparently down at the moment) so it get's in a state where you have a screen with a spinny thing like it's thinking or something.  I'm unable to get out of it.
Thanks for the feedback. I'll fix that this evening. I suspect the easiest thing to do will be to set a sensible timeout (maybe 12 seconds) for the websites to answer before timing out. In the long-term I'll make the badges show results as soon as their individual data comes in.

EDIT: I've set the max timeout for getting stats to 12 seconds.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 17, 2011, 12:38:17 PM
Pretty cool!  I'd love to see support added for these pools:
BTCGuilld: http://www.btcguild.com/
Bit Clockers: http://www.bitclockers.com/
Thanks!
BTCGuild support has just gone live. Will work on Bitclockers tomorrow.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: flyswatta on June 17, 2011, 01:04:44 PM
Hmm, not sure what I'm doing wrong.  I'm still stuck on that screen.  Every time I try to do anything - add miner, exchange etc it just has that screen that I posted earlier.  I killed safari and also rebooted the phone.  It's an iPhone 3gs with ios 4.3.3 if that info is helpful.  This app is just what I've been looking for - I'd really like to get it working :)  

I did go in via firefox on my desktop PC and was able to set up all of the miners and a market so I'm not sure what the deal is with my phone. 

Any ideas of what I can try?


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 17, 2011, 01:35:03 PM
Thanks for your patience and interest. I'm determined to get WatchMine working for you.

I have exactly the same type of phone as you. The difference is that I haven't gone to 4.3.3 yet. I'll upgrade tomorrow and see if I can replicate your results.

The most likely possibility is that for whatever reason something between your phone and my webhost has cached old versions of the WatchMine files. Try this:
1. Home. Double Tap home button and kill Safari and/or the WatchMine process
2. Home > Settings App > Safari > Clear cache
3. Try WatchMine again (You have to re-setup WatchMine so have apikeys handy)

It's possible your ISP is using a "transparent proxy/cache" for which the only cure is time. I'll add no-cache headers to the data downloads tomorrow which might help the situation.

If that doesn't work then: What would help me out is if you can send me your prefs. Do so via email or PM.
Disclosure: Those prefs contain your apikeys which will give me read-only access to your stats. I promise to not do anything unethical with them and will delete them once I have solved your problem.
I made the following link for you to get view your locally stored prefs:
http://watchmine.infudu.com/beta1/_prefdump.html (http://watchmine.infudu.com/beta1/_prefdump.html)


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: flyswatta on June 17, 2011, 02:31:18 PM
I cleared the safari cache and it's working for me now!  I figured it was a cookie or local cache but didn't know how to clear it out.  I'm adding my stuff in now and will let you know if I think of any other features (the only other one that I have right now is re-ordering the items, but you already mentioned that you are working on it :)

Many thanks! 


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: lemosax on June 17, 2011, 05:24:10 PM
Pretty cool!  I'd love to see support added for these pools:
BTCGuilld: http://www.btcguild.com/
Bit Clockers: http://www.bitclockers.com/
Thanks!
BTCGuild support has just gone live. Will work on Bitclockers tomorrow.

Nice work!  Any chance of getting more details like the "Rate" as you do with BTCMine?  Or # active miners?  Anything that can help tell at-a-glance if things are working as expected would be far more helpful than just the balance.  Thanks again!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: backburn on June 17, 2011, 10:02:24 PM
Simply amazing!

Mind adding support for BitClockers.com Bitcoin Mining Pool (http://BitClockers.com Bitcoin Mining Pool)?

JSON API:
Pool Stats: http://bitclockers.com/api/
User Stats: http://bitclockers.com/api/APIKEYHERE/

If you need any more information I'd love to help!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: jakemates on June 18, 2011, 12:34:10 AM
Looks great!

One quick nitpick, the apple-touch-icon.png isn't retina optimized.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 18, 2011, 02:09:12 AM
Bitclockers support due within 48 hours. Hopefully less.
I'll take a look at a Retina version for the apple-touch-icon.png. My first priority is on functionality though.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 18, 2011, 12:03:54 PM
I cleared the safari cache and it's working for me now!  I figured it was a cookie or local cache but didn't know how to clear it out.  I'm adding my stuff in now and will let you know if I think of any other features (the only other one that I have right now is re-ordering the items, but you already mentioned that you are working on it :)

Many thanks! 
I'm glad that it's working for you now. I've put appropriate no-cache headers onto the data feeds so that should also help things.
I'm working on the re-ordering feature but it's proving a bit of a tough once to do right. ETA could be as long as one week due to other commitments.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 18, 2011, 12:06:46 PM
Bitclockers mining pool support added too. Also some bug fixes and some more code refactoring.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: slush on June 18, 2011, 12:27:16 PM
Where is the gain in adding add yet another layer which may fail? Running metapool as webservice is nonsense. Better is to provide small local proxy which can run directly on miners - and I'm not talking about existing php&mysql beast, but simple python/ruby script.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 18, 2011, 12:38:06 PM
BTCGuild support has just gone live. Will work on Bitclockers tomorrow.
Nice work!  Any chance of getting more details like the "Rate" as you do with BTCMine?  Or # active miners?  Anything that can help tell at-a-glance if things are working as expected would be far more helpful than just the balance.  Thanks again!
Looking over the BTCGuild JSON feed and I can add up the hashrates of all the workers and report that. It has a bit of a lag-time before BTCGuild lowers that number but it's still useful. I'll also remove the unconfirmed item and replace it with payout. The badge will look like the one for BTCMine.
Give me 24 hours to implement - time for bed now.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 18, 2011, 12:49:23 PM
Where is the gain in adding add yet another layer which may fail? Running metapool as webservice is nonsense. Better is to provide small local proxy which can run directly on miners - and I'm not talking about existing php&mysql beast, but simple python/ruby script.
Wrong thread?
If not then, I guess the short answer is that WatchMine is intended to run on mobile devices for when the miner-operator is away from their rigs.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: slush on June 18, 2011, 05:38:04 PM
Where is the gain in adding add yet another layer which may fail? Running metapool as webservice is nonsense. Better is to provide small local proxy which can run directly on miners - and I'm not talking about existing php&mysql beast, but simple python/ruby script.
Wrong thread?
If not then, I guess the short answer is that WatchMine is intended to run on mobile devices for when the miner-operator is away from their rigs.


OMG, yes, wrong thread :-). I'm sorry, guys ;).


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: ananas5 on June 19, 2011, 05:37:36 AM
It would be great to have this pool included: https://www.bitcoins.lc/


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: zerokwel on June 19, 2011, 10:22:18 AM
Ohhh I was using something else but this looks much better.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: iCEBREAKER on June 19, 2011, 10:48:35 AM
Nice.

Bookmarked; tip sent.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 19, 2011, 02:00:28 PM
Exactly 'what' part of your work is copyright? As a jQuery programmer, I couldn't help but notice that this is just 2 jQuery includes by very talented duded. Maybe next time you want to make something, don't be worried about someone 'stealing it' when it's already been... borrowed.   :D
I'm glad you like my work. Obviously I cannot claim copyright over jQuery or jqTouch and I imply no such claim. What I can (and do) claim copyright over is the code that I have written and the screen layouts that I've produced for WatchMine. This includes WatchMine's html, javascript and CSS. And yes, in every country whose IP law I've examined copyright is valid for computer code and screen layouts.
I wish I could be less worried about people stealing my work - but it wouldn't be the first time. The legal advice I have is to assert my rights from the beginning.

It's good to meet a fellow jQuery programmer... it's great isn't it!


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 19, 2011, 02:01:31 PM
Nice.

Bookmarked; tip sent.
Thanks for the tip! If there's any feature you'd like implemented just let me know and I'll see what I can do.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 19, 2011, 02:05:16 PM
It would be great to have this pool included: https://www.bitcoins.lc/
Sure. Added to my list feature list. I have a couple of things I've promised to do first but should have this mining pool added within 48 hours.

EDIT: this pool does not yet offer JSON data that I can consume. I'll wait until they have that implemented first. I'll look again in a week or so.
(I considered writing an HTML scraper, but I'm not happy with the privacy implications of taking username/password details that I'd need from users to make that work)


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 19, 2011, 03:00:46 PM
BTCGuild support has just gone live. Will work on Bitclockers tomorrow.
Nice work!  Any chance of getting more details like the "Rate" as you do with BTCMine?  Or # active miners?  Anything that can help tell at-a-glance if things are working as expected would be far more helpful than just the balance.  Thanks again!
The BTC Guild badge now reports the rate and total paid out - just like the BTCMine badge.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 19, 2011, 03:16:05 PM
..snip..

If I were you though, I'd take into consideration the fact that most cellphone users won't want to type out your current URL. You ARE planning on getting a top level domain I presume?

Niger domains cost about $300/year but I can't help but think that would solve the length issue and trademark issue in one fail swoop. ^_^


Watchmi.ne


As you can see, I'm into using the TLDs as part of the name whenever possible to assist with branding. I'm also very comfortable and used to purchasing foreign TLDs as I have have had many businesses in Korea.

Let me know if you need any assistance sometime. I'd be happy to see what me and my crew can do for you and I wouldn't mind including a version of your app in our eyeOS webtop application store for our social network.


Peace!
I'm quite comfortable with the IP advice I already have. Thanks for offering your opinion. The code I have written (beyond the FOSS libraries I build upon) is copyrightable. The name is not trademarkable in my jurisdiction because it is two common words - I'm already considering changing the name before I come out of beta for this reason. Nothing in WatchMine (currently) is novel enough to qualify for a patent in my jurisdiction.

I could be interested in a domain later. Thanks for the suggestion - I'll keep it in mind for when I come out of beta.

Any chance of a demo view of the EyeOS webtop app store social network thingy? I have a passing interest in such things. More than happy to sign any reasonable NDA.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 20, 2011, 01:59:33 AM
A Notice to Watchmine users
Due the recent thefts of bitcoins, the release of a bitcoin Trojan and the hacking of MtGox I would just like to re-assure WatchMine users that their data is safe.

WatchMine does not store any user data so there is nothing for hackers to steal. WatchMine temporarily uses your mining pool apikeys to access data on your behalf – but these apikeys are not stored and cannot be used for anything other than read only access to your mining pool statistics. There is no database backend to WatchMine that can be compromised.

In order to protect WatchMine users further, I will be further hardening WatchMine’s security. Other planned features (except urgent bug fixes) will be on hold until this is complete.

I take your security and privacy very seriously. Please PM me if you have any concerns.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: c_k on June 20, 2011, 08:46:40 PM
It would be great to have this pool included: https://www.bitcoins.lc/
Sure. Added to my list feature list. I have a couple of things I've promised to do first but should have this mining pool added within 48 hours.

EDIT: this pool does not yet offer JSON data that I can consume. I'll wait until they have that implemented first. I'll look again in a week or so.
(I considered writing an HTML scraper, but I'm not happy with the privacy implications of taking username/password details that I'd need from users to make that work)

Hi there :)

There is now JSON data: https://www.bitcoins.lc/stats.json and https://www.bitcoins.lc/rounds.json

Can you use that?

Cheers!

PS: are you a kiwi?


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 20, 2011, 08:59:11 PM
Thanks for your interest. Unfortunately that JSON data is for the whole pool and is not the "per user" data WatchMine normally deals with. Therefore I cannot use it for now. Later I intend to add badges for overall pool stats.

Yes, I'm a Kiwi. You?


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: c_k on June 20, 2011, 09:02:46 PM
OK then, it would have been nice to simply see how long each round is taking ;)

They will have an API key working soon where you can get individual stats _b

PS: Yip sure am, happy to see NZ people around these parts  ;D


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: stellan0r on June 28, 2011, 12:03:21 PM
nice app! web-apps are the future I guess.. will work on iPhone (and Android?) without the need for the app store.

and lol @ slush ^^


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 28, 2011, 01:48:25 PM
nice app! web-apps are the future I guess.. will work on iPhone (and Android?) without the need for the app store.
Thanks for your intereste! Yes. WatchMine works on Android 2.2 - I tested on my wife's phone.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: XIU on June 28, 2011, 11:01:08 PM
Nice site, is it possible to reorder the entries? The Edit page only seems to let me remove items :(


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: UniverseMan on June 29, 2011, 04:20:11 AM
This looks great!

Can you add support for BitcoinPool and Eligius?
BitcoinPool stats: https://www.bitcoinpool.com/user.php?u=<username>&json=1
Eligius stats: http://eligius.st/~luke-jr/raw/3/balances.json
That latter page shows a list of all user information, formatted as
Quote
"<wallet ID>":{"balance":####,"oldest":####,"newest":####},


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 29, 2011, 06:25:06 PM
Nice site, is it possible to reorder the entries? The Edit page only seems to let me remove items :(
Support for re-arranging entries is high on the priority list. Since the mtgox hack I've been working more on hardening the server-side code and changing the client to make it more secure instead.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on June 29, 2011, 06:26:13 PM
This looks great!

Can you add support for BitcoinPool and Eligius?
BitcoinPool stats: https://www.bitcoinpool.com/user.php?u=<username>&json=1
Eligius stats: http://eligius.st/~luke-jr/raw/3/balances.json
That latter page shows a list of all user information, formatted as
Quote
"<wallet ID>":{"balance":####,"oldest":####,"newest":####},
Thanks for the info. I'll investigate adding these soon.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on July 03, 2011, 07:12:49 PM
Can you add support for BitcoinPool and Eligius?
BitcoinPool support is now live.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on July 04, 2011, 01:18:42 PM
Nice site, is it possible to reorder the entries? The Edit page only seems to let me remove items :(
Moving badges is now implemented. Click the Edit button and move away. :)


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: UniverseMan on July 04, 2011, 01:54:22 PM
Donation sent. Thanks for the app.  ;D


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on July 04, 2011, 05:44:44 PM
Donation sent. Thanks for the app.  ;D
Much appreciated. I'll work on Eligius support next.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: Inaba on July 05, 2011, 04:11:04 AM
Support for Eclipse would be good!  https://eclipsemc.com



Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: kripz on July 12, 2011, 09:35:57 AM
Unusuable on my android using opera?


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: eturnerx on July 12, 2011, 04:02:54 PM
Unusuable on my android using opera?
Thanks for the heads up. My main target browser for now is Safari on iOS devices because WatchMine uses features that are not present in Opera. I have some other feature requests to complete then I'll see what can be done about Opera compatibility.


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: c_k on July 20, 2011, 01:18:51 AM
Hey there,

Can you add support for rfcpool?

API details here: http://rfcpool.com/api

FYI you can retrieve the data with just http instead of https if need be.

Cheers!

:D


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: UniverseMan on July 28, 2011, 09:19:18 PM
BTC Guild stats are currently broken. "Balance" and "Rate" both show 0, which is not correct, but "Paid" shows the correct value. (I've already verified that my API key is correct and that the stats are visible on BTC Guild's JSON stats page.)


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: simonk83 on July 28, 2011, 09:22:18 PM
If you could add EclipseMC (pool), that'd be great :)


Title: Re: WatchMine (beta) - Mobile website for mining pool stats and bitcoin prices
Post by: Sukki on June 02, 2013, 09:46:50 PM
If you could add this pool, it would be awesome.  ;D

http://www.btcmp.com/

It´s one of the best paying true PPS Pools out there.

Regards Sukki