{"id":22044764,"url":"https://github.com/codewarnab/connectly","last_synced_at":"2025-05-08T05:43:01.679Z","repository":{"id":264872794,"uuid":"866141445","full_name":"codewarnab/connectly","owner":"codewarnab","description":" This is a full-stack chat application built with Next.js 14, Convex, Supabase, Clerk, Pusher.js and LiveKit. It offers real-time messaging, video/audio calls, user authentication, and file storage capabilities.","archived":false,"fork":false,"pushed_at":"2024-11-26T14:47:37.000Z","size":1316,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T17:13:56.933Z","etag":null,"topics":["clerk","clerk-auth","convex","filepond","livekit-sdk","nextjs14","pusherjs","shadcn","supabase","webhook"],"latest_commit_sha":null,"homepage":"https://connecttlyy.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewarnab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-01T18:05:07.000Z","updated_at":"2025-03-05T16:13:06.000Z","dependencies_parsed_at":"2024-11-26T15:49:29.960Z","dependency_job_id":null,"html_url":"https://github.com/codewarnab/connectly","commit_stats":null,"previous_names":["codewarnab/connectly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewarnab%2Fconnectly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewarnab%2Fconnectly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewarnab%2Fconnectly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewarnab%2Fconnectly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewarnab","download_url":"https://codeload.github.com/codewarnab/connectly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253009534,"owners_count":21839712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clerk","clerk-auth","convex","filepond","livekit-sdk","nextjs14","pusherjs","shadcn","supabase","webhook"],"created_at":"2024-11-30T13:08:25.422Z","updated_at":"2025-05-08T05:43:01.661Z","avatar_url":"https://github.com/codewarnab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full-Stack Chat Application\n\nThis is a full-stack chat application built with Next.js 14, Convex, Supabase, Clerk, Pusher.js and LiveKit. It offers real-time messaging, video/audio calls, user authentication, and file storage capabilities.\nYou Can Checkout ScreenShots here in my blog  [A Full-Stack Chat Application: Integrating Convex, Supabase, Clerk,Pusher.js and LiveKit](https://www.codewarnab.in/blog/modern-chat-app-nextjs14-livekit-convex)\n\n## Features\n\n- **Real-Time Messaging**: Send and receive messages instantly using Convex.\n- **User Authentication**: Secure sign-up and login using Clerk.\n- **File Uploads**: Upload and share images and PDFs, stored securely in Supabase.\n- **Typing Indicators**: Show when users are typing with Pusher.js integration.\n- **Video/Audio Calls**: Initiate high-quality calls using LiveKit.\n\n## Technologies Used\n\n- **Next.js**: For building the frontend.\n- **Convex**: For backend logic and real-time communication.\n- **Supabase**: For file storage.\n- **Clerk**: For user authentication.\n- **LiveKit**: For real-time video/audio calls.\n- **Pusher.js**: For real-time typing indicators.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/codewarnab/connectly.git\n   cd connectly\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Create a `.env.local` file in the root directory and add your environment variables (see `.env.example`).\n\n4. Run the application:\n   ```bash\n   npm run dev\n   ```\n\n5. Open your browser and navigate to `http://localhost:3000`.\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your `.env.local` file:\n\n```\nCONVEX_DEPLOYMENT=your_convex_deployment\nNEXT_PUBLIC_CONVEX_URL=your_public_convex_url\nCLERK_WEBHOOK_SECRET=your_clerk_webhook_secret\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_publishable_key\nCLERK_SECRET_KEY=your_clerk_secret_key\nNEXT_PUBLIC_SUPABASE_URL=your_supabase_url\nNEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key\nNEXT_PUBLIC_PUSHER_APP_KEY=your_pusher_app_key\nNEXT_PUBLIC_PUSHER_CLUSTER=your_pusher_cluster\nPUSHER_APP_ID=your_pusher_app_id\nPUSHER_CLUSTER=your_pusher_cluster\nPUSHER_KEY=your_pusher_key\nPUSHER_SECRET=your_pusher_secret\nNEXT_PUBLIC_LIVEKIT_URL=your_livekit_url\nLIVEKIT_API_KEY=your_livekit_api_key\nLIVEKIT_API_SECRET=your_livekit_api_secret\n```\n\nRefer to the `.env.example` file for a template of required keys.\n\n## Additional Setup Guide\n\n### Setting up Clerk Webhook\n\nWhen setting up the webhook in Clerk, follow these steps:\n\n1. Go to your Clerk Dashboard and navigate to the Webhooks section.\n2. Create a new webhook.\n3. Choose the \"Convex\" template when setting up the webhook.\n4. Set the webhook path to `/api/clerk-auth-users-webhook`.\n5. Ensure you select all the necessary events that your application needs to handle.\n6. Copy the Signing Secret provided by Clerk and add it to your `.env.local` file as `CLERK_WEBHOOK_SECRET`.\n\n### Convex Setup\n\nTo set up Convex:\n\n1. Run the following command to start the Convex development server:\n   ```bash\n   npx convex dev\n   ```\n2. This command will provide you with the `CONVEX_DEPLOYMENT` and `NEXT_PUBLIC_CONVEX_URL`. Add these to your `.env.local` file.\n\nRemember to restart your application after adding or changing environment variables.\n\n## Contributing\n\nContributions are welcome! Here's how you can contribute:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\nPlease ensure your code adheres to the project's coding standards and includes appropriate tests.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- [Next.js](https://nextjs.org/)\n- [Convex](https://www.convex.dev/)\n- [Supabase](https://supabase.io/)\n- [Clerk](https://clerk.dev/)\n- [LiveKit](https://livekit.io/)\n- [Pusher](https://pusher.com/)\n\n## Contact\n\nArnab Mondal- [@codewarnab](https://twitter.com/codewarnab) - dp950810@gmail.com\n\nProject Link: [https://github.com/codewarnab/connectly](https://github.com/codewarnab/connectly)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewarnab%2Fconnectly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewarnab%2Fconnectly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewarnab%2Fconnectly/lists"}