20:18:26 My take on a p2pool ui. Fork away 20:18:26 https://github.com/shortwavesurfer2009/p2pool-ui 20:18:40 I made it primarily for mobile use. 20:23:00 how often do you run that? 20:27:14 my rec as usual is to run one api call to backfill missing data 20:27:26 then use events api listed on https://nano.p2pool.observer/api 20:27:33 which is a websocket stream of side blocks / found blocks etc. 20:27:56 then just gather your shares/payouts that way in a streaming way 20:39:23 I cron run it every 5 mins > how often do you run that? 20:39:41 you could cache the daily pulls tbh 20:40:11 specially if this is not just your script and others want to use it as well 20:40:47 I have what I want out of it and don't really intend to continue development, so anybody is welcome to fork it and make modifications. 20:40:59 if possible add some identifying user agent (for the repo for example) 20:41:16 otherwise if these get out of hand the best I can do is block the entire IP 20:41:25 I just uploaded it so that it doesn't get lost if my computer crashes or something. 20:41:28 cool 20:41:31 sometimes end scripts break 20:42:09 give it -H "User-Agent: p2pool-ui (+https://github.com/shortwavesurfer2009/p2pool-ui)" for example to each curl call 20:42:41 that way only the broken automation (say a user runs this every 50ms) can be targeted in temporary blocks 20:42:56 and not everything 20:43:43 DataHoarder: As I said, I really don't intend to continue development on it, but if you would like to submit a pull request for doing that, I will add it in. 20:44:26 I don't intend to submit a PR, but if users end up blocked, they might ask on the tool 20:44:47 (I say this as the one that would need to eat the costs of operation/setting the blocks on p2pool.observer) 20:45:11 DataHoarder: At some point I'll get around to adding a readme and point that out. 20:45:11 I have it set to run every five minutes on Crawn, but somebody else might run it faster than that. 20:45:40 yeah. 5 minutes is fine. I think all you have to do is add -H "User-Agent: p2pool-ui (+https://github.com/shortwavesurfer2009/p2pool-ui)" on each curl call there 20:46:07 I like jq outputting html :') 20:46:47 DataHoarder: Just for my local one, or the one that's submitted to Git? 20:47:01 git one if that's what you run/others might find 20:47:16 there aren't many so people end up stumbling upon them 20:47:55 DataHoarder: K. Yeah, I run that code as submitted, so I will add that to git. 20:48:36 amazing, thanks 20:55:40 feel free to share in #p2pool-log / #p2pool-mini other people might find it useful :) 20:58:17 DataHoarder: Okay, have a look now. It should be updated. 20:58:34 👍 21:04:22 The main reason for it is because observer does not work well on mobile. And so I just coded up something bare-bones basic to work better. 21:06:12 I can clearly see, for example, that it's showing shares from more than 24 hours ago. But I don't really feel like dealing with it. And so it's fine the way it is. LOL. 21:28:51 hahaha 21:29:11 I have a bootstrap UI (like https://blocks.p2pool.observer/ ) with semi-responsive UI in the works 21:30:12 from last year, but web hasn't updated that much, still relevant. afaik the proofs page were what was left https://git.gammaspectra.live/P2Pool/observer/src/branch/bootstrap-ui 21:31:15 it's where I have my css-only dropdown menus from for blocks explorer as well (for small/large nav bar) 21:32:00 after cleaning up that should be the p2pool explorer at some point :)