Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Netmq | 2,680 | 241 | 138 | 10 days ago | 64 | July 04, 2022 | 97 | other | C# | |
A 100% native C# implementation of ZeroMQ for .NET | ||||||||||
Libvma | 455 | 25 days ago | 38 | other | C++ | |||||
Linux user space library for network socket acceleration based on RDMA compatible network adaptors | ||||||||||
React Discord Clone | 397 | 3 months ago | 14 | gpl-3.0 | TypeScript | |||||
Discord Clone using React, Node, Express, Socket-IO and Mysql | ||||||||||
Nullmq | 272 | 11 years ago | 2 | mit | JavaScript | |||||
ZeroMQ-like sockets in the browser. Used for building gateways and generally applying ZeroMQ philosophy to browser messaging. | ||||||||||
Robust Services Core | 135 | 6 months ago | 45 | gpl-3.0 | C++ | |||||
Robust applications framework in C++. Includes a static analysis tool and two applications. | ||||||||||
Semaphore | 107 | 14 days ago | 11 | April 27, 2022 | agpl-3.0 | Python | ||||
A simple (rule-based) bot library for Signal Private Messenger. | ||||||||||
Faye Redis Ruby | 79 | 86 | 3 | 4 years ago | 3 | October 01, 2013 | 7 | Ruby | ||
Redis engine backend for Faye | ||||||||||
Railschat | 77 | 6 years ago | 2 | Ruby | ||||||
Real-time Rails-based Webchat for Instant Messaging (实时Web聊天室) | ||||||||||
Angularjs Chat | 72 | 4 | 14 days ago | 10 | February 03, 2016 | 6 | mit | |||
AngularJS Chat - Enable chat messaging experiences in your iOS, Android and Web apps. | ||||||||||
Faye Redis Node | 63 | 43 | 5 | 6 years ago | 5 | October 01, 2013 | 8 | JavaScript | ||
Redis engine backend for Faye |
A fast and easy-to-use node.js client for Beaconpush, a cloud hosted service for browser push messaging with Web Sockets.
Sends a message to a connected web browser:
var bp = require('beaconpush');
// Create a new client
var beaconpush = new bp.Client('<your-api-key>', '<your-secret-key>');
// Send a 'chatMessage' to user 'romeo'
beaconpush.user('romeo').send({chatMessage: 'ZOMG'});
A more detailed chat example is available in the examples directory.
Beaconpush is a cloud service offering push messaging in any web browser. Send messages in real-time to any browser by using a simple REST API. Integrates smoothly with all existing web frameworks and libraries.
No requirements
Just embed a couple of lines of JavaScript on your web site. No software, no servers required.
Works in any browser
Excellent browser compatibility no matter what. If Web Sockets isn't available, it will automatically try other transport alternatives.
User and channel presence
First-class support for users making real-time, social sites a snap to create. Detect if user is online/offline or create chat rooms!
Scalable
With high-performing, custom-written push server technology, Beaconpush will take care of all scalability needs for you.
Read more on beaconpush.com
With Node Package Manager installed, just type:
npm install beaconpush
var bp = require('beaconpush');
// Create a new client
var beaconpush = new bp.Client('<your-api-key>', '<your-secret-key>');
// Get number of users currently connected to your site
beaconpush.usersConnected(function (err, numConnected) {
console.log('There are ' + numConnected + ' users online');
});
// Get a user object where you do user operations
var user = beaconpush.user('julia');
// Send a stock quote to user 'julia'
user.send({stock: {symbol: "GOOG", quote: 34.2}}, function (err, numDelivered) {
console.log('Delivered ' + numDelivered + ' message(s)');
});
// Check if user is online
user.isConnected(function (err, connected) {
console.log('User ' + user.name + ' is ' + (connected ? 'connected' : 'not connected'));
});
// Disconnect user
user.disconnect(function (err, connected) {
console.log('User ' + user.name + ' was disconnected');
});
// Get a channel object for doing channel operations
var channel = beaconpush.channel('chat');
// Send a chat message to channel
channel.send({chatMessage: {to: "romeo", from: "julia", message: "Oh, Romeo!"}}, function (err, numDelivered) {
console.log('Delivered ' + numDelivered + ' message(s)');
});
// Get users connected to a channel
channel.usersConnected(function (err, users) {
console.log('Users online ' + users);
});
<script src="https://gist.github.com/836224.js?file=node-beaconpush_example.js"></script>
Open-source licensed under the MIT license (see LICENSE file for details).