Bitcoin Forum
May 10, 2024, 05:25:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Any Javascript/JQuery/YUI/Dojo hackers in the house?  (Read 3571 times)
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
December 29, 2010, 09:28:13 PM
 #1

I'd love to see a pure-Javascript front-end GUI for bitcoind developed.

I'm tempted to write one myself, but I've got a lot of other things on my TODO list right now.  Here's what I'm imagining:

+ Open source, pure JavaScript interface to bitcoin that communicates with a running bitcoin/bitcoind using the JSON-RPC api.

+ Open up the index.html page that is the GUI and you'd be asked for the host:port (default: localhost:8332), username and password.

+ From there, you'd have a nice Javascript/HTML GUI showing all your wallet transactions (using RPC listtransactions).

+ And it'd show your default receiving address, have a Send Bitcoins button, etc.

+ And it'd poll bitcoin/bitcoind every, oh, minute or so to look for new transactions.

I'm imagining shipping a webGUI/index.html (plus associated CSS/javascript/etc) as part of the bitcoin(d) source package.

How often do you get the chance to work on a potentially world-changing project?
1715318751
Hero Member
*
Offline Offline

Posts: 1715318751

View Profile Personal Message (Offline)

Ignore
1715318751
Reply with quote  #2

1715318751
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jimbobway
Legendary
*
Offline Offline

Activity: 1304
Merit: 1014



View Profile
December 29, 2010, 09:31:37 PM
 #2

What about GWT?  I have advanced GUI GWT skillz.
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 29, 2010, 09:32:28 PM
 #3

I know how to use websockets, javascript, and canvas.

jimbobway
Legendary
*
Offline Offline

Activity: 1304
Merit: 1014



View Profile
December 29, 2010, 10:01:25 PM
 #4

Here is an example of my work, currently in beta.  Uses GWT.

http://www.bluedojo.com
tcatm
Sr. Member
****
qt
Offline Offline

Activity: 337
Merit: 265


View Profile
December 29, 2010, 11:03:49 PM
 #5

Can we include a small HTTP server (for .html + .js) into bitcoin? JSON-RPC will only work on same domain + port.
Gavin Andresen (OP)
Legendary
*
qt
Offline Offline

Activity: 1652
Merit: 2216


Chief Scientist


View Profile WWW
December 29, 2010, 11:40:51 PM
 #6

Can we include a small HTTP server (for .html + .js) into bitcoin? JSON-RPC will only work on same domain + port.

No, definitely not.  But if somebody implements a nice Javascript GUI I'll volunteer to teach bitcoin to spit out JSONP in addition to plain JSON to get around the same origin policy...

RE: GWT:  I'd prefer a non-Java-to-Javascript-compiled solution (shipping compiled, not-human-readable .js files makes me nervous; do we have to add all the GWT compilation mechanism to the build process?  Or do we have to trust that you provided valid, not-messed-with, already-compiled .js files?)

How often do you get the chance to work on a potentially world-changing project?
j16sdiz
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
December 30, 2010, 01:31:56 AM
 #7

Here is an example of my work, currently in beta.  Uses GWT.

http://www.bluedojo.com

ugh.
Never use JPEG for screenshot.
See how ugly these JPEG artifact are:
http://www.bluedojo.com/images/screenshots/text.JPG
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Every saint has a past. Every sinner has a future.


View Profile
December 30, 2010, 03:10:04 AM
 #8

I love this idea - and it doesn't really seem very complicated.
jimbobway
Legendary
*
Offline Offline

Activity: 1304
Merit: 1014



View Profile
December 30, 2010, 03:10:46 AM
 #9

Here is an example of my work, currently in beta.  Uses GWT.

http://www.bluedojo.com

ugh.
Never use JPEG for screenshot.
See how ugly these JPEG artifact are:
http://www.bluedojo.com/images/screenshots/text.JPG

yea the website is ok. but my work is the flash killer app.
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 30, 2010, 03:15:21 AM
 #10

I'll be happy to do the work for a fee.  Wink

Emerge
Legendary
*
Offline Offline

Activity: 854
Merit: 1000



View Profile
February 25, 2016, 01:08:16 AM
 #11

I was searching for this and found it on google..
guess no one started the project. I might actually try working on this for practice for other projects
Moloch
Hero Member
*****
Offline Offline

Activity: 798
Merit: 722



View Profile
February 25, 2016, 04:32:15 AM
 #12

+ Open source, pure JavaScript interface to bitcoin that communicates with a running bitcoin/bitcoind using the JSON-RPC api.

For this part, you could convert EasyBitcoin from php to javascript... it's only a few lines of code (mostly declaring variables, etc)... just change the curl to $.ajax

https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.php
jl777
Legendary
*
Offline Offline

Activity: 1176
Merit: 1132


View Profile WWW
February 25, 2016, 04:50:29 AM
 #13

I'd love to see a pure-Javascript front-end GUI for bitcoind developed.

I'm tempted to write one myself, but I've got a lot of other things on my TODO list right now.  Here's what I'm imagining:

+ Open source, pure JavaScript interface to bitcoin that communicates with a running bitcoin/bitcoind using the JSON-RPC api.

+ Open up the index.html page that is the GUI and you'd be asked for the host:port (default: localhost:8332), username and password.

+ From there, you'd have a nice Javascript/HTML GUI showing all your wallet transactions (using RPC listtransactions).

+ And it'd show your default receiving address, have a Send Bitcoins button, etc.

+ And it'd poll bitcoin/bitcoind every, oh, minute or so to look for new transactions.

I'm imagining shipping a webGUI/index.html (plus associated CSS/javascript/etc) as part of the bitcoin(d) source package.

We are developing something pretty close to this based on a stripped down copay wallet. It is self-contained JS/HTML with no external website dependencies and it is can be setup to use only the bitcoind rpc. It is designed for use with the iguana chrome app which will be a oneclick install that gets the JS GUI along with pnacl pexe that implements the bitcoind rpc, among other things

My feeling is that having something that can be run with a oneclick install will reduce the adoption barrier among the non-technical population. I know a lot of people wont want to touch a chrome app with a 10 foot pole, but the codebase is portable C, so there are also native versions.

Regardless of whether the chrome app version or native version is run, or whether the iguana is run at all, the same JS/HTML would work. I would be happy to have a version specific to what you want made so you wont have to worry about including iguana and the 50,000 lines of C code that is compiled into JS bytecodes.

James

http://www.digitalcatallaxy.com/report2015.html
100+ page annual report for SuperNET
plorph
Member
**
Offline Offline

Activity: 76
Merit: 14


View Profile
February 25, 2016, 05:07:59 PM
 #14

I do a lot of javascript and this seems like a fun project. I'll see what I can do.

puh-lorph
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!