GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - asarudick/chat-service: Rudimentary chat service with multiple clients.

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
s3
s3
 
 
src
src
 
 
.babelrc
.babelrc
 
 
.bowerrc
.bowerrc
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
bower.json
bower.json
 
 
gulpfile.babel.js
gulpfile.babel.js
 
 
package.json
package.json
 
 

Repository files navigation

Prerequisites

  • node v0.12.x
  • npm
  • git
  • bower
  • Access to a Redis node. (Installing Redis and running redis-server would be sufficient.)

Build

Service

$ git clone https://github.com/Shabonkerz/chat-service.git
$ npm install
$ npm install -g gulp
$ gulp js

Web Client

If you don't have bower, run this first:

$ npm install -g bower

Then:

$ bower install

Configuration

Edit port configuration and Redis configuration in /config/app.js.

Note:

REDIS_URL environment variable will override the host/port configuration.

Run

$ node ./dist/app

Usage

Connecting

Running node ./dist/app will start an HTTP server using socket.io, a raw TCP server, and a telnet server on the configured ports. To connect, open a raw tcp connection, or telnet connection(I recommend puttytel for both), or open /s3/index.html in a browser to connect via http.

Login

Upon connecting you'll be asked to log in. Simply type a name that isn't in use.

Commands

Available commands include:

  • /join <room> - Joins specified room. You can only be in multiple rooms, but, for now, chat messages get sent to the most recently joined room.
  • /rooms - Lists all available rooms with their headcount.
  • /leave - Leaves current room.
  • /quit - Disconnects you from the server. Also logs you out beforehand.

Emoticons

Emoticons are provided using emoji-parser. It supports the basic fare of emoticons such as:

:smiley: :+1: :-1: :pizza:

...and many more. See the /s3/bower_components/emoji-parser/emoji directory for a complete list. The filename correlates with the emoticon text. eg. :smiley: turns into smiley.png;

About

Rudimentary chat service with multiple clients.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.