Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

programmer2514/ClassChat

Repository files navigation

ClassChat v0.5.1b

A PHP/jQuery based web chatroom app

Try it out here


Current features include:

  • Creating new chat rooms
  • Managing/Deleting chat rooms
  • Generating room links
  • Sending images and formatted posts (Uses HTML)
  • Voice-to-text
  • Swear word filtering
  • Individual Admin accounts with custom passwords
  • Randomly generated user ID colors seeded with the user's ID
  • Endless semi-public chat rooms
  • User join notifications
  • Message send dates

Adapting for new domains:

If you would like to have this app run on your PHP server, only one thing is required:

  1. Open chat.php in a code editor such as Notepad++
  2. On lines 32-35, you should find the following code:
function generateLink() {
    $('#name-area a').attr('href', 'javascript:copyToClipboard("https://classchat.calclover2514.repl.co/room.php?room=' + chatroom + '")')
    $('#name-area a').html('https://classchat.calclover2514.repl.co/room.php?room=' + chatroom)
}
  1. Replace https://classchat.calclover2514.repl.co/room.php with https://your.website.domain/room.php
  2. You're good to go!