Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Gavin Andresen on December 29, 2010, 09:28:13 PM



Title: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: Gavin Andresen on December 29, 2010, 09:28:13 PM
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.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: jimbobway on December 29, 2010, 09:31:37 PM
What about GWT?  I have advanced GUI GWT skillz.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: kiba on December 29, 2010, 09:32:28 PM
I know how to use websockets, javascript, and canvas.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: jimbobway on December 29, 2010, 10:01:25 PM
Here is an example of my work, currently in beta.  Uses GWT.

http://www.bluedojo.com


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: tcatm on December 29, 2010, 11:03:49 PM
Can we include a small HTTP server (for .html + .js) into bitcoin? JSON-RPC will only work on same domain + port.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: Gavin Andresen on December 29, 2010, 11:40:51 PM
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?)


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: j16sdiz on December 30, 2010, 01:31:56 AM
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


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: Mahkul on December 30, 2010, 03:10:04 AM
I love this idea - and it doesn't really seem very complicated.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: jimbobway on December 30, 2010, 03:10:46 AM
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.


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: kiba on December 30, 2010, 03:15:21 AM
I'll be happy to do the work for a fee.  ;)


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: Emerge on February 25, 2016, 01:08:16 AM
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


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: Moloch on February 25, 2016, 04:32:15 AM
+ 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 (https://github.com/aceat64/EasyBitcoin-PHP/blob/master/easybitcoin.php)


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: jl777 on February 25, 2016, 04:50:29 AM
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


Title: Re: Any Javascript/JQuery/YUI/Dojo hackers in the house?
Post by: plorph on February 25, 2016, 05:07:59 PM
I do a lot of javascript and this seems like a fun project. I'll see what I can do.