Skip to content
A small chat app written in Ruby using sockets.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
doc
img
pack
.gitignore
README.md
client.rb
server.rb

README.md

Chatte

This is a tiny chat server and client built in Ruby.

This was written to learn to use sockets in Ruby and probably should not be used in a production environment.

screenshot

How to run

I tested this on Ruby 1.9.2. You probably need that or a more recent version for this to work.

Run the server:

$ ruby server.rb 1234
Starting Chatte server. Listening for connections on port 1234...

Then run the client:

$ ruby client.rb localhost 1234
Enter your nickname:
andmej
Connecting...
andmej just joined the chatte

Then chatte freely.

What's in a name?

Chatte means pussy in French.

Something went wrong with that request. Please try again.