Skip to content

Repository files navigation

🚀 Syncro - The Ultimate Chat App

License: MIT Stars Forks

Syncro is a real-time chat application built with Next.js, WebSockets, and MongoDB, offering seamless text, voice, and video communication. Stay connected with your community like never before! 🌟


📸 Preview

Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot
Screenshot

✨ Features

Real-time Chat (Text, Voice, Video)
Make Friends (Send, Receive and Manage Friend Requests)
WebSockets for Instant Messaging
WebSockets for See Online Friends
WebSockets for Real-time Notifications
WebRTC for File Transfer (Peer-to-Peer Transfer)
User Authentication (Auth.js)
Invite & Manage Connections
Fully Responsive UI
Dark & Light Mode Support
Secure & Scalable


🛠 Tech Stack

Next.js mongodb Socket.io Auth.js redux Zod jwt TypeScript tailwindCss


🚀 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/your-username/your-repo.git
cd your-repo

2️⃣ Install Dependencies

npm install

or

yarn install

3️⃣ Set Up Environment Variables

Create a .env.local file and add the necessary credentials:

MONGODB_URI="Your mongodb uri"
NEXTAUTH_SECRET="your nextauth secret"
NEXTAUTH_URL="your next auth url"
GOOGLE_CLIENT_ID="your google client id" #For 0-auth authentication
GOOGLE_CLIENT_SECRET="your google client secret" #For 0-auth authentications
UPLOADTHING_TOKEN="your uploadthing token"
LIVEKIT_API_KEY="your livekit api key"
LIVEKIT_API_SECRET="your api secret"
NEXT_PUBLIC_LIVEKIT_URL="your public livekit url"
NEXT_PUBLIC_SITE_URL="your running project url" # Required for websocket, and You can leave this if u are in local developement, but make sure to add this in production.

4️⃣ Run the Development Server

npm run dev

or

yarn dev

🛠 Contributing

🚀 Contributions are welcome! Feel free to fork this repo and submit a pull request.

📜 License

This project is open-source and available under the MIT License.

💬 Connect with Me

X LinkedIn Instagram
📧 Email: avnish73220@gmail.com

Give a ⭐ if you like this project! 🎉

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages