Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Playing around with Node.js + Socket.io, chat lobby for a canvas game
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
README.md
index.html
server.js

README.md

Sawket

A Node.js + Socket.io Chat and sketchpad (experimental) with some nice features. It will maybe be used on my Wander game, so I'm also experimenting with HTML5 Canvas.

Requirements

  • Node.js
  • Npm
  • Socket.io
  • A browser that supports WebSockets/HTML5 Canvas

Install Socket.io with: npm install socket.io

What to do

1- Download/clone the repository

2- Start the server with node server.js

3- Point your browser to SERVER_IP:8080

4- Chat, draw, lurk and do a barrel roll

A working application is hosted on: sawket.nodester.com

Features

  • Chat + Sketchpad
  • Normal users and lurkers
  • Event and action messages (Use "/help" to see all the available commands)
    • Join/quit
    • Number of connected users
    • Nick change
    • Server time
  • 5 slots message history
  • Users list
  • Style it as you want via CSS

License

Copyright (C) 2011 Fabrizio Codello

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Something went wrong with that request. Please try again.