The Realtime App Platform

Send Realtime Data Instantly

Build realtime mobile and web apps in minutes only using client-side code. Save time. Engage your users.

1

Install Bastly.

Ready to use with one line of code.

//Use YOUR ownApiKey, "alice" is the user that will send messages 
var bastly = bastly({
                from: "alice",
                apiKey: "testApikey",
                callback: function (data){
                    console.log("got data in channel alice");
                    console.log(data);
                }
            });
});

  /* Remember to include bastly JS Library
  <script src="http://bastly.com/releases/browser/bastly.js"></script>
  */
Bastly bastly = new Bastly(FROM, APIKEY, MESSAGECALLBACK, MODEL);
/* Remember to include your graddle dependency
    compile 'com.bastly:bastlysdk:1.0.3'
  */
2

Send data.

Data is any JSON object.

//alice sends "bob" a message
bastly.send("bob", { msg: "Hello bob!" });
bastly.send("destinationChannel", new Play("fireball", "fire", 8));
3

Receive updates in realtime in any platform.

Bastly responds immediately to data communications as they occur.

//bob is listening to messages sended to him
bastly.subscribe("bob", function(data) {
  //from is who sended data, in this case is "alice" 
  alert(from + " says: " + data.msg);
});
bastly.registerChannel("newChannel");
4

A growing family.

We know that apps are built in many platforms, Bastly plays nicely with many of them.

Javascript, Node, Android, Java