Bitcoin Forum
March 19, 2024, 02:01:22 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 »  All
  Print  
Author Topic: ANUBIS - a CGMINER Web Frontend  (Read 83109 times)
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
May 24, 2012, 06:30:00 PM
 #221

P_Shep - nice work, could you place the hashrate in the tab shown between "Anubis -" and "a cgminer..." and an autorefresh timer.

Thanks
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710813682
Hero Member
*
Offline Offline

Posts: 1710813682

View Profile Personal Message (Offline)

Ignore
1710813682
Reply with quote  #2

1710813682
Report to moderator
1710813682
Hero Member
*
Offline Offline

Posts: 1710813682

View Profile Personal Message (Offline)

Ignore
1710813682
Reply with quote  #2

1710813682
Report to moderator
1710813682
Hero Member
*
Offline Offline

Posts: 1710813682

View Profile Personal Message (Offline)

Ignore
1710813682
Reply with quote  #2

1710813682
Report to moderator
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
May 24, 2012, 06:46:43 PM
 #222

Hashrate in the tab, that's a good one.

Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.

If you want to do it yourself you can add:
<meta http-equiv="refresh" content="10" >

just below:
<head>

of index.php

I'll look into putting the total hashrate in the title.
Aseras
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
May 25, 2012, 05:40:22 PM
 #223

What I've done is to put each miner in a separate sub page so that if one miner goes down it doesn't make the whole page fail to load or take forever to time out.

I also added

Quote
<meta http-equiv="refresh" content="3;url=index.php">

to the top to do the auto refresh.
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
May 29, 2012, 07:35:54 PM
 #224

Updated again.

V2.3

Adds an accounts page, so you can add bitcoin addresses and retrieve a summary of the balances.
Aseras
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
May 30, 2012, 03:40:51 PM
 #225

That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
May 30, 2012, 04:12:54 PM
 #226

That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.

It does? Ah well. I may change it if something better comes along. It'll do for now.
(I find it useful anyway Smiley )
nedbert9
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

Inactive


View Profile
June 06, 2012, 11:30:10 AM
 #227

Hashrate in the tab, that's a good one.

Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.

If you want to do it yourself you can add:
<meta http-equiv="refresh" content="10" >

just below:
<head>

of index.php

I'll look into putting the total hashrate in the title.


A possibly approach for ajaxiness.

1.  Make an emitter php.  Have it output raw, mutable data possibly in JSON.
2.  Include JQuery.  Have JQuery do the ajaxy stuff (so simple.  I want to have JQuery's baby.).
3.  Javascript in the presentation pages to initiate 2 on a timer.

P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
June 06, 2012, 05:07:08 PM
 #228

Hmmm, AJAX eh?...

A quick google shows that is indeed what I would need. Something new for me to learn.
ibko
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
June 23, 2012, 11:28:53 PM
 #229

Error in configtbl.sql.php: lines 36 and 29 are to be deleted.
miaviator
Donator
Hero Member
*
Offline Offline

Activity: 686
Merit: 519


It's for the children!


View Profile WWW
July 04, 2012, 09:04:23 PM
 #230

Thank You for this.

Internet151
Full Member
***
Offline Offline

Activity: 174
Merit: 100



View Profile
July 19, 2012, 06:57:35 AM
 #231

It would be nice if ANUBIS marked a GPU temp column as red if the reported temp value = 0.
ralree
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


Manateeeeeeees


View Profile
August 17, 2012, 05:39:02 AM
 #232

I decided to fork this project and put some work into it.  Here's the github: https://github.com/hank/ANUBIS

I added AJAX updating to the index page (would be nice to port that other places too) with a configuration option for the update timer (defaults to 5 seconds, access in the config page).  It keeps it in the configuration table of the database like it should.  I update the schema, so it should be plug-and-play.  I also made it so if you put in fan speeds of zero for yellow and red, your fan readout will always be green (I keep my fans at 100% all the time, and I hate seeing red).  Also, someone suggested making temp colors red on zero readings - I did this for at least some temp readouts, but I'm sure there's some I missed.

I also did a BUNCH of work to the CSS and images for the theme.  Here's what I came up with:



More pics at: http://imgur.com/a/bevKh

I hope you all enjoy!

1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
August 17, 2012, 03:24:37 PM
 #233

Great stuff!

It needed working on by someone who knows what they're doing Smiley
ralree
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


Manateeeeeeees


View Profile
August 19, 2012, 07:15:12 AM
 #234

Thanks!  Just sent a little BTC donation to your address, p_shep.  Was a good codebase to get started with and build upon.  Thanks for all your hard work!

Now I just need to add some more clients!

1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
ZPK
Legendary
*
Offline Offline

Activity: 1302
Merit: 1021



View Profile
August 19, 2012, 02:29:46 PM
Last edit: August 19, 2012, 02:55:25 PM by ZPK
 #235

possible add history session's ? and refresh via websockets?

Novacoin POS mining only now
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
August 19, 2012, 06:22:10 PM
 #236

Thanks!  Just sent a little BTC donation to your address, p_shep.  Was a good codebase to get started with and build upon.  Thanks for all your hard work!

Now I just need to add some more clients!

2 things:

1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this)
2. For those upgrading from existing installation, you need to add the extra columns to the database.
cablepair
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000


Buy this account on March-2019. New Owner here!!


View Profile WWW
August 21, 2012, 06:54:34 PM
 #237

I decided to fork this project and put some work into it.  Here's the github: https://github.com/hank/ANUBIS

I added AJAX updating to the index page (would be nice to port that other places too) with a configuration option for the update timer (defaults to 5 seconds, access in the config page).  It keeps it in the configuration table of the database like it should.  I update the schema, so it should be plug-and-play.  I also made it so if you put in fan speeds of zero for yellow and red, your fan readout will always be green (I keep my fans at 100% all the time, and I hate seeing red).  Also, someone suggested making temp colors red on zero readings - I did this for at least some temp readouts, but I'm sure there's some I missed.

I also did a BUNCH of work to the CSS and images for the theme.  Here's what I came up with:


I hope you all enjoy!

ralree: is it possible to make a "view only" version or make it configurable somehow?

it would be very useful if you wanted to create a anubis site where others could view it without having to worry about them screwing up your configuration.

Thanks for this contribution.

Tom
ralree
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


Manateeeeeeees


View Profile
August 29, 2012, 04:23:43 PM
 #238

ralree: is it possible to make a "view only" version or make it configurable somehow?

it would be very useful if you wanted to create a anubis site where others could view it without having to worry about them screwing up your configuration.

Thanks for this contribution.

Tom

That's in my plans.  Right now I just have it hosted over SSL with HTTP Basic Authentication, but I want to make it so for non-authorized clients (people clicking cancel on the HTTP Basic Auth), they can see the view-only version like you're suggesting.  I messed around with copying/symlinking the code to a different location and modifying configs, but then I realized it's hard to configure it so it's view-only without turning off API writing in cgminer.  I'll figure out a way to do that soon when I have time.

2 things:

1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this)
2. For those upgrading from existing installation, you need to add the extra columns to the database.

1. Thanks for the tip - I meant to commit a config.inc.php.example file like I did with the auth file, but I must have forgotten to.  I'll fix that up shortly.
2. It would be nice to make some scripts for upgrading the schema - keeping a schema version in the database and making the right alter table statements to upgrade.  Of course, I don't expect the schema to change all that often, and it's so quick to configure it's probably not worth the effort.  For now, I'm just going to keep it as is, but if I end up developing this a lot I'll add in DB migrations.

1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
P_Shep
Legendary
*
Offline Offline

Activity: 1795
Merit: 1198


This is not OK.


View Profile
August 29, 2012, 04:30:59 PM
 #239

I did a quick and dirty add column when I added a field to enter the config address.
It's certainly quick to re-configure everything (dpending on how large your system is), but that's still greater than 0. Also, you have to delete the database first... login to mysql, enter commands...
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
September 01, 2012, 02:08:45 AM
 #240

New changes are good, but dark colors on black = headache after 2 minutes.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 »  All
  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!