Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/selfup/chatty
Using NodeJS and Net Cat to create live chat apps
https://github.com/selfup/chatty
Last synced: about 2 months ago
JSON representation
Using NodeJS and Net Cat to create live chat apps
- Host: GitHub
- URL: https://github.com/selfup/chatty
- Owner: selfup
- Created: 2015-11-27T23:08:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-28T09:27:59.000Z (about 9 years ago)
- Last Synced: 2024-10-20T07:39:03.721Z (3 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chatty
#### Using NodeJS and Net Cat to create live chat apps
##### For chat1.js
node chat1.js
"Open a new terminal/tab/pane"
nc localhost 9000Now when you type a message, the server will serve that message right back at you!
##### For chat2.js
npm install stream-set
node chat2.js
"Open two new panes/terminals/tabs"
nc localhost 9000 in each tabs/pane/terminalNow each session can chat to eachother
###### Using this great tutorial to build this and learn more about NodeJS: [tutorial](https://opbeat.com/blog/posts/how-to-write-a-p2p-chat-application-by-mathias-buus/)