Skip to content

karimatthews/socket-io-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Socket.io Website Chat

A zero-fuss way for users of your website to chat with each other. See it in action here. Built with socket.io, node and express.

Installation

Insert the following script tag anywhere in your page:

<script>
  document.body.insertAdjacentHTML('beforeend',
    "<iframe style='position: fixed; bottom: 0; right: 0; height: 300; width: 300; border: 1px solid orange;' src='https://cordial-chat.herokuapp.com' name='" + document.location.origin + "' />"
  )
</script>

If you're uncomfortable putting a script tag in, you can figure out your page's origin and just put the iframe in yourself.

Screenshot

About

An extension of the tutorial from https://socket.io/get-started/chat/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages