lineman – steemd.steemit.com WebSocket replacement

in #steemdev7 years ago

If you where running an app that depended on the now defunct steemd.steemit.com WebSocket RPC you can run a copy of lineman. It will proxy the new api.steemit.com HTTP RPC to WebSockets for you.

Running in a docker container it is as simple as: docker run -p 8080:8080 -it jnordberg/lineman

And now you have a steemd.steemit.com replacement running on ws://<docker-host>:8080 where you can point your app.

FEMA_-_20472_-_Photograph_by_Marvin_Nauman_taken_on_11-10-2005_in_Louisiana.jpg

https://github.com/steemit/lineman

Sort:  

There are also other nodes that you can point your app to that still use websockets, including 'wss://gtg.steem.house:8090' and wss://seed.bitcoiner.me'

oh man I completely forgot about gtg's wss service

Smart

Boom!

Hey Johan, great to have you here on Steemit.

I have been a heavy user of Wintersmith and enjoyed using it. Just want to send you a thank you message:

Thanks for all your great work.

Thanks! Always great to hear that someone appreciates my work! Cheers

that's what i like about you. you always come with little custom solutions. i think you really TANK from the matrix ;)

I ran into this problem today, thanks for sharing :)

Hardworking job sir

Sir. Hard Job, work!

MAY GOD BLESS YOU SIR MAY YOU LIVE LONG🔑

Okay, nice, but why wouldn't you just modify your code to keep up and using json instead? :)

Modifying your code is likely the best option if you have the resources and time to do so, but this solution sounds like its both faster and easier. Perhaps it'd be best to use this option as a quick fix and in the meantime update your code?

Hey, great insight, thanks for the lines