| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  |     <head> | 
					
						
							|  |  |  |         <meta charset="UTF-8"> | 
					
						
							|  |  |  |         <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 
					
						
							| 
									
										
										
										
											2024-11-23 18:10:56 +11:00
										 |  |  |         <title>Chookchat</title> | 
					
						
							| 
									
										
										
										
											2024-12-06 13:27:22 +11:00
										 |  |  |         <link rel="preconnect" href="https://rsms.me/"> | 
					
						
							|  |  |  |         <link rel="stylesheet" href="https://rsms.me/inter/inter.css"> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |         <link type="text/css" rel="stylesheet" href="index.css"> | 
					
						
							| 
									
										
										
										
											2024-11-23 18:10:56 +11:00
										 |  |  |         <link type="text/css" rel="stylesheet" href="gradient.css"> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |         <link rel="shortcut icon" type="image/jpg" href="favicon.ico"/> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |         <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>         | 
					
						
							|  |  |  |         <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>     | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |     </head> | 
					
						
							| 
									
										
										
										
											2024-11-23 18:10:56 +11:00
										 |  |  |     <body class="gradient"> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |         <div id="login"> | 
					
						
							|  |  |  |             <div class="section"> | 
					
						
							|  |  |  |                 <div class="box"> | 
					
						
							| 
									
										
										
										
											2024-11-23 18:10:56 +11:00
										 |  |  |                     <h3>Chookchat</h3> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |                     <input type="text" id="username" placeholder="Username"><br>                     | 
					
						
							|  |  |  |                     <input type="password" id="password" placeholder="Password"><br>                     | 
					
						
							|  |  |  |                     <button class="bluebutton" onclick="connect()">Log in</button>                     | 
					
						
							|  |  |  |                     <button class="greenbutton" onclick="register()">Register</button>                     | 
					
						
							|  |  |  |                     <button class="redbutton" onclick="showConfig()">Show Server Config</button>                     | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |                     <div id="serverStatus"></div> | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |                 <div class="box" style="display: none;" id="serverconfig">                     | 
					
						
							|  |  |  |                     <input type="text" id="serverUrl" value="bobcompass.online" placeholder="Server URL"><br>                     | 
					
						
							|  |  |  |                     <input type="text" id="serverPort" value="443" placeholder="Server Port"><br>                     | 
					
						
							|  |  |  |                     <input type="checkbox" id="securityStatus" checked>                     | 
					
						
							|  |  |  |                     <label for="securityStatus">Use HTTPS/WSS</label>                 | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |         <div class="hidden" id="messaging"> | 
					
						
							| 
									
										
										
										
											2024-12-06 13:27:22 +11:00
										 |  |  |             <div class="messaging-container"> | 
					
						
							| 
									
										
										
										
											2024-12-04 08:28:53 +11:00
										 |  |  |                 <div id="meet"></div> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |                 <div class="box"> | 
					
						
							| 
									
										
										
										
											2024-11-24 16:07:45 +11:00
										 |  |  |                     <div id="users" class="suttle"></div> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |                     <button id="meeting" class="bluebutton" onclick="startMeeting()">📞</button>                     | 
					
						
							|  |  |  |                     <div id="messagebox" class="box" style="height: 600px;"> | 
					
						
							|  |  |  |                         <div></div> | 
					
						
							|  |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2024-11-24 16:07:45 +11:00
										 |  |  |                     <div id="typing" class="suttle"></div> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |                     <div id="upload" class="suttle" style="display: none;"> | 
					
						
							|  |  |  |                         <input type="file" id="fileupload" accept="image/*,text/*"> | 
					
						
							|  |  |  |                             <button class="bluebutton"  onclick="uploadFile()">Upload</button> | 
					
						
							|  |  |  |                         </input> | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                     <div class="input-container">                           | 
					
						
							|  |  |  |                         <button onclick="showFileUpload()" class="bluebutton">📁</button>                         | 
					
						
							|  |  |  |                         <button onclick="showEggs()" class="bluebutton">🥚</button>                         | 
					
						
							|  |  |  |                         <input type="text" id="messageInput" placeholder="Send a message..." autofocus>                         | 
					
						
							|  |  |  |                         <button onclick="sendMessage()" class="bluebutton">Send</button>                     | 
					
						
							| 
									
										
										
										
											2024-11-23 18:10:56 +11:00
										 |  |  |                     </div> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2024-12-06 13:27:22 +11:00
										 |  |  |                 <div id="eggs" style="display: none;"> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |                     <div id="eggs-list" class="eggs-list">                         | 
					
						
							|  |  |  |                         <button class="egg-item" onclick="eggNotepad()">📝 Notepad</button>                     | 
					
						
							| 
									
										
										
										
											2024-12-06 13:27:22 +11:00
										 |  |  |                     </div> | 
					
						
							|  |  |  |                     <!-- Eggs Start Here --> | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |         </div> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  |         <script src="index.js"></script>     | 
					
						
							| 
									
										
										
										
											2024-11-05 20:35:10 +11:00
										 |  |  |     </body> | 
					
						
							|  |  |  | </html> | 
					
						
							| 
									
										
										
										
											2025-03-14 08:44:06 +11:00
										 |  |  | 
 |