Skip to content

A very simple chat page, written in straight up ColdFusion and JavaScript, with no JS libraries required.

Notifications You must be signed in to change notification settings

bengthu/Shatroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shatroom

A very simple chat page, written in straight up ColdFusion and JavaScript, with no JS libraries required.

The code is contained in four files:

  • index.cfm - Main page with an iFrame with a form for submitting text.
  • chat.cfm - Text reader that fetches a text file from a writeable directory.
  • save.cfm - A commit page that saves new chat messages and sets the Chatname in a cookie.
  • delete.cfm - Clears the chat file - I could have put this in save.cfm, but it felt better keeping it separate.

Another file, called chat.txt must be created in a writeable directory.

Everything you need is in these files. Save them to a directory, then create a separate directory (or subdir) for your writeable file. Create a chat.txt file in the writeable dir, then update the path to that file in each of the above CFM files.

About

A very simple chat page, written in straight up ColdFusion and JavaScript, with no JS libraries required.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published