Bitcoin Forum
April 19, 2024, 09:24:43 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN] New p2pool UI  (Read 3881 times)
f0ad (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
April 16, 2014, 05:10:14 PM
Last edit: April 21, 2014, 08:10:59 PM by f0ad
 #1

I spent a bit of time working a new p2pool UI based off of the work that Alexander Zschach did.
It features a nicer UI (IMO).
Users can select themes, and highlight their own miners (can also restrict view to only their miners).
No server config necessary for those options (it's all done in the browser itself)

Now works with standard p2pool and extended p2pool (see github README for more details on what this means).

You can find the code here: https://github.com/justino/p2pool-ui-punchy

Feel free to open issues and pull requests on github.

Hope you guys like it, if not, whatever, I made it for me.

--

Here's a screenshot of stock p2pool:

https://raw.githubusercontent.com/justino/p2pool-ui-punchy/master/img/screenshot_stock_p2pool.png

here's a screenshot of extended p2pool:

https://raw.githubusercontent.com/justino/p2pool-ui-punchy/master/img/screenshot_extended_p2pool.png
1713518683
Hero Member
*
Offline Offline

Posts: 1713518683

View Profile Personal Message (Offline)

Ignore
1713518683
Reply with quote  #2

1713518683
Report to moderator
1713518683
Hero Member
*
Offline Offline

Posts: 1713518683

View Profile Personal Message (Offline)

Ignore
1713518683
Reply with quote  #2

1713518683
Report to moderator
1713518683
Hero Member
*
Offline Offline

Posts: 1713518683

View Profile Personal Message (Offline)

Ignore
1713518683
Reply with quote  #2

1713518683
Report to moderator
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713518683
Hero Member
*
Offline Offline

Posts: 1713518683

View Profile Personal Message (Offline)

Ignore
1713518683
Reply with quote  #2

1713518683
Report to moderator
xgtele
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile
April 17, 2014, 03:35:05 AM
 #2

nice & clean, thanks!
macdaddy
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
April 17, 2014, 09:32:45 PM
 #3

Looks great, but it's not pulling any data. I'm sure it's something  on my end, just not sure what... any ideas?
xgtele
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile
April 18, 2014, 03:09:50 AM
 #4

Yeah, it does not work when you install it as a web-static replacement. I guess the data path is wrong somewhere.
Initially I tested it installed as a parallel to the default web-static and everything worked fine. Need to be fixed
macdaddy
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
April 18, 2014, 08:47:28 PM
 #5

Yeah, it does not work when you install it as a web-static replacement. I guess the data path is wrong somewhere.
Initially I tested it installed as a parallel to the default web-static and everything worked fine. Need to be fixed

I can't get it to work in either mode. It shows the last block found, and if I click the Hashrate Graph button it has data, but nothing else shows anything.
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
April 19, 2014, 06:31:56 AM
 #6

I replied to the issue on github, it might be mmouse's extended API stats are needed. Those come built in to p2pool-n. I put in a pull request to basic p2pool to add them.
f0ad (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
April 21, 2014, 02:21:54 PM
 #7

Ok, sorry about that.
When I built the UI I built it on a version of p2pool that wasn't the stock version from forrestv.
That version contained some more data in the web endpoints that isn't present in the stock version.

I've updated the code so that it at least pulls data properly and doesn't fail when the data isn't present.
I've tested it against forrestv's p2pool as well, so I know it at least gets *most* of the data.
For the time being, the UI doesn't get all fancy and remove the offending UI elements that doesn't have data. However, that will come in a later update.

I'll post back here in this thread when that update it complete.
f0ad (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
April 21, 2014, 08:13:18 PM
 #8

I've updated the code so that it show extended p2pool info when it is available. Otherwise it uses the stock p2pool data to populate the UI.
I've updated the screenshots in the first post with the stock vs extended UIs (it's subtle).

This should fix any of the issues mentioned so far.
mattmct
Sr. Member
****
Offline Offline

Activity: 546
Merit: 250



View Profile
May 28, 2014, 04:44:17 PM
 #9

This is great! I really like it, especially the fact that users can highlight their worker. Thanks for your work.

One thing I really miss.  The graph on the page by default, rather than having to click a link for a popup.

Is there a way to add the graph back to the page?

Cheers!
f0ad (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
May 30, 2014, 01:03:53 PM
 #10

This is great! I really like it, especially the fact that users can highlight their worker. Thanks for your work.

Thanks!

One thing I really miss.  The graph on the page by default, rather than having to click a link for a popup.

Is there a way to add the graph back to the page?

So, really, the only time the graph is useful is when the pool owner is looking at it, regular users get no value from the graph other than "oooo pretty". IMO it's too big and pushes more important information further down the page.

I *could* add an option to lock the graph to the page so pool owners can see it (or any regular user that wants it for some reason), but this is a low priority for me, but I'll put it on my road map.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!