markdown
KikoChat is a modern real-time chat web app built with Firebase Realtime Database & Storage and deployed on GitHub Pages.
Itβs designed with a WhatsApp-like experience plus extra admin features β all wrapped in a beautiful glassmorphism UI with animated backgrounds.
-
π Login system
- Users log in with a username + passcode.
- Admin has the ability to create new users or admins directly from the interface.
-
π€ User Presence & Status
- Shows online status or last seen.
- Each user gets a unique avatar color.
-
π¬ Messaging
- Send text messages in real time.
- Send and view images & videos.
- Read receipts (β = delivered, ββ = seen, blue for seen).
-
π§Ή Admin Controls
- Clear all chats (requires admin authentication).
- Create new user accounts with username + passcode.
-
π¨ UI/UX
- Animated gradient background.
- Glassmorphism panels (frosted look).
- Responsive design:
- Desktop/Laptop β Sidebar with user list + chat panel.
- Mobile β Chat-only interface (like WhatsApp).
- Cute π± bouncing logo for branding.
- Frontend: HTML, CSS (Glassmorphism, responsive), Vanilla JS
- Backend: Firebase Realtime Database + Firebase Storage
- Hosting: GitHub Pages
git clone https://github.com/your-username/kikochat.git
cd kikochat-
Go to Firebase Console
-
Click Add Project β give it a name (e.g.,
kiko-chat) -
Enable Realtime Database
- Go to Build β Realtime Database β Create Database
- Select Start in test mode (or set custom security rules later).
-
Enable Firebase Storage
- Go to Build β Storage β Create a default bucket
- Allow read/write for testing (or configure secure rules).
-
Add a Web App to your project
- Go to Project Settings β Your Apps β Web App
- Copy the Firebase Config (API Key, Auth Domain, Database URL, Storage Bucket, etc.).
- Replace the
firebaseConfiginsideindex.htmlwith your values.
Simply open index.html in your browser (no server needed since Firebase SDK works client-side).
-
Commit your changes:
git add . git commit -m "Initial commit of KikoChat" git push origin main
-
Go to your GitHub repo β Settings β Pages
-
Under Branch, select
mainand folder/ (root)β Save -
Your site will be live at:
https://your-username.github.io/kikochat/
For production, restrict access so only authenticated users (those created by you via username + passcode) can read/write data.
{
"rules": {
".read": true,
".write": true,
"users": {
"$uid": {
".read": true,
".write": true
}
},
"rooms": {
"$roomid": {
"messages": {
".read": true,
".write": true
}
}
}
}
}.write if auth != null or implement stricter conditions).
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write: if true; // testing mode
}
}
}Made with β€οΈ by Xdtin6


