Skip to content

tkrclient/iogames-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What this chat actually looks like

png

Features of this chat

  • Change username color
  • Gives randomized "Guest____" username without a cookie (new user)
  • Gives randomized username color without a cookie (new user)
  • Remembers the last username color you had
  • Remembers the last username you had
  • Looks eerily similar to iogames chat (same font)
  • Messages always start from the bottom, and every page reload always starts at the bottom of page
  • Very fast
  • Broadcasts the last 30 or so messages (remembers old messages, even when page reloads)
  • Extremely small codebase (more reliable, secure and auditable)
  • Exposed websocket protocol, so you can directly connect to the chat with a custom web client
  • Based on golang backend
  • Is open source so you can customize it to your liking
  • When connection is lost, it will reconnect every two seconds

Chat Example

This application shows how to use the websocket package to implement a simple web chat application.

Running the example

The example requires a working Go development environment. The Getting Started page describes how to install the development environment.

Once you have Go up and running, you can download, build and run the example using the following commands.

$ go install
$ go run *.go

To use the chat example, open http://localhost:8080/home.html in your browser.

About

No description, website, or topics provided.

Resources

License

MIT, OFL-1.1 licenses found

Licenses found

MIT
LICENSE
OFL-1.1
OFL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published