I didn't manage to browserify it, and didn't find anyone who did. If someone has, I'm very interested in utilizing it for now, and I think I'm not the only one. Join #steemjs on steemit.chat!
Also, I prefer small native solutions that fit basic requirements to huge bundles covering all corner cases.
You are viewing a single comment's thread from:
It just so happens that only like 5 minutes ago I added a browserify build for natebrune in steemit.chat, you can find it here:
https://github.com/svk31/steemjs-lib/tree/master/build
Now it's certainly a work in progress as I haven't actually tested it myself yet, I'll see if I can add an example html file using it later today or tomorrow.
Well I'm working on this bounty too and saw your browserify build come across right after I pulled your code in to look at doing exactly that.
Want me to test it for you while I'm in here?
Feel free to use whatever you want from my code. The code from steemit.com is surely more robust but mine might be easier to work with since it's in library form.
If you feel like testing it then yea go for it :)
@svk yeah that and you know what a comment looks like and aren't afraid to use it :D
So what @pharesim is asking for here is a flat project that doesn't need npm or browserify.
Obviously that's going to be a lot of work, but it is something that can be done by a team of 4 or so reasonably competent people in a couple of days.
Mostly a matter of normalizing all these libraries built for node into something browser compatible without resorting to browserify or npm.
If anyone wants to join in on getting this built for him I'm more than willing to split the bounty equally with everyone. I had assumed it was just a typedbuffer issue, but it's a lot more indepth than that.
@svk it builds under browserify, on a clean checkout however the websocket library you're using is native code and not pure js, this may keep it from running. I can't think of a reason to use native code for websockets anymore. Is this just dependency hell or was it something specific this lib brings to the table?
More info on this BTW
http://stackoverflow.com/questions/29741158/how-to-use-websocket-npm-library-in-browser
The library uses a node web socket library for use in Node.js since there's no native websocket support there. But in browsers it will use the built in websocket but wrapped with ReconnectingWebsocket. Is that what you meant?
@svk actually that might be what I meant, I just remember there being issues with node websocket under browserify. Haven't had my morning coffee yet though.
JS isn't my daily language anymore.
@svk I'm going over your library with a fine toothed comb and a couple interns.
I'd very much like to thank you for this library. It's as close to perfect as I've seen JS come. You rocked this stuff. Even I'm learning new things from it. I especially like how you don't import the kitchen sink into everything. Great work!
Thanks, I have been in the process of wrapping up a few things to finally give me some time to sit down and get some things coded. Need more hours in the day :) I will be sure to stop on over at #steemjs.
Great initiative, @pharesim, let me know if you want me to wrap browserify version which I use in Steem Mobile with as little dependencies as possible.
@good-karma and @svk
Would you guys mind hopping over to
https://github.com/steembots/steemsign/issues
And doing a sanity check on the issues, just make sure I didn't miss anything and feel free to open up any extra issues you can forsee. The more the merrier at this point.
I tried to make these tasks of equal weight but also things that could be worked in parellel in order to maximize efficiency, but looking at the dep graphs on some of this stuff I just want to make sure I'm not banging my head on Amdahl's law here.
So if anything else can be split into work modules for these guys feel free to toss some more issues on the pile. Rather close 10,000 issues than miss something important even once.
i know im replying to a post from 1 months ago but its facinating see the behind thee scenes of steemit work, these posts will be history, showing how a website reallly had dedicate peopel runing decetrallized nodes and kept steemit up and running and thank god for cheap fast technology these days!
solid state drives alsomke things alot easier and the more steemit nodes around the world the better! we will grow a massive network! and steemit sers tend to be bitcoin or altcoin miners as welll!
i cant wait to get involved myself and have servers ready to becoome a steemit witneess an i just cant wautto make a documentary onsteemit witness nodes and the inner workings of a steemit blockchain network, and make a bitcoin Movie pixar style using golem network to render it!