Skip to content

💬 A simple realtime chat application • Next.js, Tailwind CSS, Firebase

License

Notifications You must be signed in to change notification settings

sameemul-haque/ChatForAll

 
 

Repository files navigation

ChatForAll

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.

buymeacoffee

✨ Features

  • 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.

🚀 Host your own site

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 and firebase.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 the src folder and rename it to firebase-config.js.
    • Edit the firebaseConfig and add values from your firebase project.
  • Test your changes locally using npm run dev.
  • Deploy the updated version using npm run deploy.

💬 Usage

Visit:

⌨️ Keyboard Shortcuts

  • Shift + Esc: Focus chat input
  • Ctrl + Shift + C: Copy last message
  • Ctrl + /: To show shortcuts.

📄 License and Code of Conduct

ChatForAll is licensed under the MIT License. Please review and adhere to our Code of Conduct to ensure a positive and inclusive community.

⚡️ Languages and Tools used:

next.js tailwindcss firebase

🤝 Thanks

Special thanks to Parthipan for suggesting the idea of a chat app without the need for login authentication and the auto-delete message feature.

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages

  • JavaScript 97.7%
  • CSS 2.3%