Author

Topic: Any Javascript/JQuery/YUI/Dojo hackers in the house? (Read 3605 times)

brand new
Activity: 0
Merit: 250
I do a lot of javascript and this seems like a fun project. I'll see what I can do.

Join us at slackinvite.supernet.org if you like.
member
Activity: 76
Merit: 14
I do a lot of javascript and this seems like a fun project. I'll see what I can do.
legendary
Activity: 1176
Merit: 1134
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
hero member
Activity: 798
Merit: 722
+ 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
legendary
Activity: 854
Merit: 1000
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
legendary
Activity: 980
Merit: 1020
I'll be happy to do the work for a fee.  Wink
legendary
Activity: 1304
Merit: 1015
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.
sr. member
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
I love this idea - and it doesn't really seem very complicated.
newbie
Activity: 37
Merit: 0
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
legendary
Activity: 1652
Merit: 2301
Chief Scientist
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?)
sr. member
Activity: 337
Merit: 285
Can we include a small HTTP server (for .html + .js) into bitcoin? JSON-RPC will only work on same domain + port.
legendary
Activity: 1304
Merit: 1015
Here is an example of my work, currently in beta.  Uses GWT.

http://www.bluedojo.com
legendary
Activity: 980
Merit: 1020
I know how to use websockets, javascript, and canvas.
legendary
Activity: 1304
Merit: 1015
What about GWT?  I have advanced GUI GWT skillz.
legendary
Activity: 1652
Merit: 2301
Chief Scientist
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.
Jump to: