https://github.com/polemius/simple_ws_server
https://github.com/polemius/simple_ws_server
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polemius/simple_ws_server
- Owner: polemius
- License: mit
- Created: 2019-12-25T10:28:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-22T00:23:08.000Z (over 4 years ago)
- Last Synced: 2025-07-01T09:05:37.674Z (11 months ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple WebSocket broadcast server
This simple WebSocket server listeting on port `8080` and broadcast all messages to clients except to the one how send this message.
Install:
```bash
$ git clone git@github.com:polemius/simple_ws_server.git
$ cd simple_ws_server
$ yarn install # or use npm
```
Run:
```bash
$ yarn start
Server on port 8080 is listening (press Ctrl+C to exit)
ws://localhost:8080
```