Realtime.co: A cloud based realtime p2p wrapper
Monkey Forums/User Modules/Realtime.co: A cloud based realtime p2p wrapper
| ||
Dear all, I've started to work on a wrapper for the Realtime.co networking solution. http://www.realtime.co (not .com!) Basically it's something like Pubnub, Photon, Pusher. It's a cloud based online service, where client to client messages can be send without the need of a server. Why I've chosen Realtime.co is simple. It has a vast of supported platforms (which I plan to integrate some of them, especially HTML5, Desktop, Android, iOS and Windows Phone 8) and their pricing is more than fair: http://framework.realtime.co/messaging/#pricing The free account allows up to 1,000 concurrent connections and 5 million messages per month which should be enough to start with. Here's a small working chat example: http://www.leidel.net/dl/temp/rt/MonkeyGame.html And here's the GitHub Repo: https://github.com/KrautApps/Realtime Working targets: HTML5, Android Coming next are more targets. A small guide 1) Copy the folder "modules_ext" to your Monkey installation. 2) Add your application key to the example.monkey file. That's it! |
| ||
Great news! Looking forward to seeing this progress. I tested you example from 2 different browsers on the same computer and it works :-) |
| ||
Glad you like it! I enhanced the lib with announcement channels plus connect/disconnect and adapted the example accordingly. Announcement channels are explained here: http://messaging-public.realtime.co/documentation/starting-guide/announcement-channels.html Basically you get notified when a new client connects or disconnects and when he subscribes or unsubscribes a channel. It's nothing you have to worry about as I've added it more or less internally. Git and example link above are up to date. |
| ||
Good stuff Xaron, will keep an eye on this. |
| ||
Hi there, I've added the Android target. :) If you don't want to compile, here's a working example (looks ugly and is the same as the html5 example but works): http://www.leidel.net/dl/temp/rt/realtime.apk |
| ||
Excellent |
| ||
Next will be iOS, but this might take a while as I have not that much time for it atm. Any volunteers for iOS? Especially as Obj C is NOT my most beloved language out there... Windows Phone will be tricky. It's very easy to integrate but completely C# so we need a C++ bridge to communicate with Monkey. |
| ||
heya, any news on the updates of these targets? Are you still leveraging realtime.co primarily for your projects? Will there be a desktop version available anytime? (would it be hard to add in?) :) Thanks |
| ||
I haven't got further yet, so sorry. But if anyone wants to help, feel free! It should be somehow straight forward to do. A desktop version should be doable as well. |
| ||
BTW: As I need this for my current project I will continue with new targets pretty soon... |
| ||
Still following this with interest. |