0.1.0 • Published 7 years ago

onf-simple-chat v0.1.0

Weekly downloads
2
License
GPLv3
Repository
github
Last release
7 years ago

onf-simple-chat

npm

The impetus for this project was to chat with others when logging into a system remotely (perhaps pair programming in a chroot) or working on a system without an X window system.

There are Unix utilities such as wall and talk, but neither worked exactly as I wanted, and as usual, I wanted to learn by doing :)

Only tested on Linux. It uses the select API, so it should be portable :)

Installation

  1. npm i onf-simple-chat
  2. make (how to build depends on the platform, of course)

Examples

Start the server.

npm run chat

By default it binds to port 3333, but this can be changed, i.e.:

npm run chat -- 1992

Clients connect via telnet:

telnet localhost PORT

Dependencies

License

GPLv3

Author

Benjamin Toll