Socket.io
peerjs
Our great sponsors
Socket.io | peerjs | |
---|---|---|
825 | 22 | |
60,085 | 11,943 | |
0.4% | 0.9% | |
7.8 | 9.2 | |
6 days ago | 8 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Socket.io
-
Mastering Microservices: A Hands-On Tutorial with Node.js, RabbitMQ, Nginx, and Docker
Before diving into this tutorial, if you find microservices mysterious, check out my previous article for a detailed explanation. In this hands-on tutorial, we'll build a real-time chat server using Node.js, Socket.io, RabbitMQ, and Docker. Get ready for a practical journey into the world of microservices! Let's begin.
-
Node.js Roadmap: Mastering the Essentials
Socket.io Docs
-
WebSockets Unlocked: Mastering the Art of Real-Time Communication
Now we will be implementing socket logic using socket.io for building websockets. This library provides an abstraction layer on top of WebSockets, simplifying the process of creating real-time applications. For better maintainability, it is recommended to create a separate file for socket calls. To do this, navigate to the src folder, create a folder named services, and inside it, create a file named socket.ts under the services folder.
-
Socket io not working on deployed version
Hi I made a chat app using socket.io it worked fine locally but when i deployed the app on render.com socket is not working properly i have to refresh the page to see new messages please help...
-
Hi guys, just wanted to share that I tried to create a better omegle alternative. Open to any feedback!
Nextjs + socket.io.. Planning to use webrtc for video calls later
-
Onde estou errando? ( Dias sem progresso )
Implementação em Node usando Socket.io
-
Does the MERN app with socket.io work correctly in the Google app engine?
I am using socket.io for real-time notification service. Previously my frontend part was deployed in Netlify and here the notification was not working properly as Netlify follows serverless architecture.
-
Is it possible to run discord bots on Dreamhost?
yes. Im running on DreamCompute currently. Discord.js and socket.io within same app. A dedicated server works too, but pricier.
-
I've been working on this project for at least a decade...
No, not a library. More like, the frontend and backend just happen to need the same version to be compatible (socket.io is a good example, moment.js was the most basic I could think of).
-
Supercharging Your App Development: Unleashing the Full Potential of React Native
For apps that require real-time communication, Socket.IO can be a valuable addition. It enables bidirectional, event-based communication between the server and client, making it an ideal choice for implementing real-time chat features.
peerjs
-
Help us prioritize features for our decentralized p2p chat app
this app is using peerjs to connect peers over a webrtc connection. check out thier docs for more info. with webrtc, things like file-transfer, should be very performant compared to cloud storage providers... especially over LAN. network speed doesnt seems to be an issue i have experienced.
- Blockchain as a Datastructure
-
Some things I learned, retrofitting a browser-based RTS for network multiplayer.
I'm using the client-side PeerJS https://peerjs.com/ library for networking. As the name may imply, a direct connection is established between two peers using WebRTC via "handshake" through an intermediary server they host - and, they provide source for the server as well. I have found it to be quite reliable, thus far.
-
A question about webrtc
You kind of sound like a beginner. The browser APIs are a bit painful to work with. It might be easier to use PeerJS: https://peerjs.com/
-
Create a Keyword Generator Chrome Extension🔥
If you want you can use Preact. PreactJS is a lightweight alternative to ReactJS, designed for high performance and compatibility. is often used in applications where performance is critical and has a small footprint.
-
Do you feel that programming has been easier to understand in game development versus other types of programming because of your experience with actual videogames?
This opens up a lot of neat possibilities, and fortunately I found a very easy JavaScript library for handling multiplayer called PeerJS. The way you can send packets from player to player is very simple and something even a beginner to JavaScript could understand.
-
Ask HN: Those making $0/month or less on side projects – Show and tell
You might be able to eliminate the VPS by making it P2P using something like PeerJS [1]. PeerJS provides a free shared connection broker server.
[1]: https://peerjs.com/
-
New to WebRTC and Node.js, Need Help Getting Started
Note: peerjs is a good starting point!
-
We just release our first version of TOONKS, a 3D Multiplayer Game where you can play a tiny tank against your friends directly on your browser without any installation.
We use peer.js module to create a WebRTC connection between clients
-
CRDTs and Distributed Consistency - Part 3: Building a distributed counter
Now that we have all the required boilerplate we can start building the actual game. For the communications between peers we are going to use PeerJS a peer-to-peer library built on top of WebRTC.
What are some alternatives?
Primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in.
simple-peer - 📡 Simple WebRTC video, voice, and data channels
SocketCluster - Highly scalable realtime pub/sub and RPC framework
mediasoup - Cutting Edge WebRTC Video Conferencing
Centrifugo - Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever.
Pion WebRTC - Pure Go implementation of the WebRTC API
Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
coturn - coturn TURN server project
Mercure - 🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
simple-peer-files - A library to send files over WebRTC
SockJS - WebSocket emulation - Node.js server
js-libp2p-webrtc-star - libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-star