sockethub

Sockethub is a polyglot (speaking many different protocols and APIs) messaging service for social and other interactive messaging applications. It assists web app developers by providing server-independent, server-side functionality - which gives the application greater autonomy. It can be used as a tool for many different types of applications, large and small.

Support Sockethub Development

Socekthub Bitcoin Address: 172FKsTzVXn39fchaUqfqBbJ2gucTZD1FH

About  

Imagine a world where your web applications are independent and not on rental. Backend services are generalized and you have the option of choosing where your app can tie-in to make use of server resources. Your user data, and app functionality live on, beyond any one vendor's control.

By implementing a polyglot server that can speak all of the various protocols and APIs of the web today, Sockethub aims to solve one piece of that puzzle. Exposing a single abstracted interface to application developers, this open platform can be run on any server, and provides social and other interactive messaging functionality to the application. Adding one more building block to the goal of server-independent, server-side functionality, Sockethub can help to free our web applications from vendor lock-in.

News  

Use  

Using Sockethub is simple: first of all, run it on localhost. To do this:

You can use npm

  • $ sudo npm install -g sockethub

To view some information on your sockethub newly installed instance

  • $ sockethub --info

To start up sockethub

  • $ sockethub

Or you can clone our git repository

  • $ git clone https://github.com/sockethub/sockethub.git
  • $ cd sockethub/
  • $ git checkout v0.1.5
  • $ npm install         <-- assumes you have nodejs installed
  • $ bin/sockethub

Now, in your unhosted web app, include the sockethub-client.js script, and then the following sequence connects to Sockethub, sets your Twitter credentials, and fetches your tweets:

The 4 values you have to put in for the Twitter credentials can be obtained by registering a Twitter app and then also generating an access token.

Now watch the console. the 'SEND', 'CONFIRM' and 'RECEIVE' messages are generated by the Sockethub client, the 'message!' log messages by the above code.

code hosted on github

Sockethub Presentation  

Sockethub presentation at re:publica 2013! Wednesday, May 8th @ 13:00 on Stage 4