ChatForAll is a simple real-time chat application created using Next.js, Tailwind CSS and Firebase, designed for ease of use and accessibility without the need for user authentication.
-
No Login Required: Enjoy hassle-free chatting without the need for user authentication. Simply visit the website and start chatting right away.
-
Dedicated Copy Button: Streamlined user experience with a dedicated button for easily copying messages to the clipboard.
-
Auto Delete Messages: Keep your chat environment clutter-free with an automatic message deletion feature. Messages older than 48 hours are automatically removed, ensuring a clean and organized chat space.
-
Keyboard Shortcuts: Boost your productivity with intuitive keyboard shortcuts for quick actions within the chat interface.
-
Dark and Light Themes: Personalize your chat experience with the option to switch between dark and light themes, catering to your preferences and enhancing visibility in different environments.
-
Simple and Minimal UI: A clean and minimalistic user interface ensures an intuitive and distraction-free chatting experience.
-
PWA Support: Experience the convenience of a Progressive Web App (PWA) with the option to install the app on your device for a native-like experience.
To host your own version of ChatForAll, follow these steps:
- Fork the repository.
- Clone the forked repository.
- Run
npm install
in the project directory to install the necessary dependencies. - Edit the Firebase configuration in the code to link to your Firebase project.
- Remove the
.firebaserc
andfirebase.json
files from the project. - Ensure that firebase-tools are installed.
- Run
firebase login
to log into your Firebase account. - Run
firebase init hosting
to initialize Firebase hosting. - Duplicate the
firebase-config-example.js
file in thesrc
folder and rename it tofirebase-config.js
. - Edit the
firebaseConfig
and add values from your firebase project.
- Remove the
- Test your changes locally using
npm run dev
. - Deploy the updated version using
npm run deploy
.
Visit:
- Shift + Esc: Focus chat input
- Ctrl + Shift + C: Copy last message
- Ctrl + /: To show shortcuts.
ChatForAll is licensed under the MIT License. Please review and adhere to our Code of Conduct to ensure a positive and inclusive community.
Special thanks to Parthipan for suggesting the idea of a chat app without the need for login authentication and the auto-delete message feature.