{"id":18972989,"url":"https://github.com/sumer16/dezacord","last_synced_at":"2025-04-16T09:33:28.033Z","repository":{"id":195135898,"uuid":"691910445","full_name":"Sumer16/dezacord","owner":"Sumer16","description":"Dezacord is a Discord Clone application which handles real-time messaging with websockets, voice \u0026 video calls using LiveKit, secured routes \u0026 urls using Clerk Auth and beautiful UI designed using shadcn/ui, all integrated seamlessly with the power of NextJS 13. Join with like minded-people to collaborate on things that make a difference!","archived":false,"fork":false,"pushed_at":"2023-10-13T04:34:31.000Z","size":905,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-21T22:29:42.085Z","etag":null,"topics":["class-variance-authority","clerkauth","cmdk","javascript","livekit","mysql","nextjs13","planetscale","prisma","radix-ui","reactjs","shadcn-ui","socket-io","tailwincss","tanstack-react-query","typescript","uploadthing","websockets","zod","zustand"],"latest_commit_sha":null,"homepage":"https://dezacord.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sumer16.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-09-15T06:40:38.000Z","updated_at":"2024-02-24T01:26:31.000Z","dependencies_parsed_at":"2023-09-24T05:13:28.928Z","dependency_job_id":"323608c9-0ad1-47fe-b1e5-6c026d3c2153","html_url":"https://github.com/Sumer16/dezacord","commit_stats":null,"previous_names":["sumer16/dezacord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer16%2Fdezacord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer16%2Fdezacord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer16%2Fdezacord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumer16%2Fdezacord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sumer16","download_url":"https://codeload.github.com/Sumer16/dezacord/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223704723,"owners_count":17188999,"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":["class-variance-authority","clerkauth","cmdk","javascript","livekit","mysql","nextjs13","planetscale","prisma","radix-ui","reactjs","shadcn-ui","socket-io","tailwincss","tanstack-react-query","typescript","uploadthing","websockets","zod","zustand"],"created_at":"2024-11-08T15:10:44.106Z","updated_at":"2024-11-08T15:10:44.698Z","avatar_url":"https://github.com/Sumer16.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Dezacord](https://dezacord.vercel.app)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](/LICENSE)\n\n![Dezacord Landing Page](/dezacord.png)\n\n### NOTE: This project is no longer maintained.\n\n## About Dezacord\n\nThis is a fully-functional real-time messaging application that mimics the functionalites of Discord. This application allows users to sign in/out, add/delete servers \u0026 channels, assign roles to users, communicate with multiple members in a channel and direct message members too. Along with these features users can also upload images \u0026 attachments in their channels/chats and video-stream with other members.\nThis platform is built using Next.js 13.4, React, shadcn/ui, TailwindCSS, PostgreSQL, Supabase, Prisma, Clerk, WebSockets, LiveKit, and more.\n\n## Key Features\n\n- **Real-time Messaging:** Instantly chat with other users using Socket.io\n- **File Attachments:** Send files and images as messages using UploadThing\n- **Editing \u0026 Deleting Messages:** Edit and delete messages in real-time\n- **Voice \u0026 Video Calls:** Create text, audio, and video call channels\n- **One-on-One Conversations:** Private one-on-one conversations between members\n- **Member Management:** Kick members and change their roles\n- **Invite System:** Generate unique invite links and set up an invite system\n- **Message Batching:** Load messages in batches of 10 for seamless conversation\n- **Server Customization:** Create and customize your server\n- **Stunning UI:** Beautifully designed using TailwindCSS and shadcn/ui\n- **Responsiveness:** Works flawlessly on both desktop and mobile devices\n- **Light \u0026 Dark Mode:** Choose your preferred viewing mode\n- **Websocket Fallback:** Ensures uninterrupted communication using polling\n- **Database \u0026 ORM:** PostgreSQL for robustness \u0026 Prisma for database operations\n- **PostgreSQL Database:** Utilize Supabase for your PostgreSQL database\n- **Authentication:** Secured the app using Clerk Auth\n\n## Installation\n\n### Clone the repository\nTo get started, you'll need to clone this repository to your local machine. You can do this by running the following in the command line:\n\n```bash \ngit clone https://github.com/Sumer16/dezacord.git \n```\n\n### Install dependencies\n\nOnce you've cloned the repository, navigate to the project directory and run npm/yarn install to install all the necessary dependencies.\n\n```bash\ncd dezacord\n\nnpm install\n# or\nyarn install\n```\n\n### Setup the environment variables\n\nAfter the dependencies have been installed, create a ```.env``` file in the root of the project and add all necessary API credentials of your own:\n\n```env\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=your_clerk_public_key\nCLERK_SECRET_KEY=your_clerk_secret_key\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=/(sign-in)\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=/(sign-up)\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/\n\nDATABASE_URL=your_db_url\nDIRECT_URL=your_migration_direct_url\n\nUPLOADTHING_SECRET=your_uploadthing_secret\nUPLOADTHING_APP_ID=your_uploadthing_key\n\nLIVEKIT_API_KEY=your_livekit_key\nLIVEKIT_API_SECRET=your_livekit_key\nNEXT_PUBLIC_LIVEKIT_URL=your_livekit_url\n\nNEXT_PUBLIC_SITE_URL=your_server_url(after deployment)\n```\n\n### Setup Prisma\n\nAdd MySQL Database (I used PlanetScale, you can use any of your own choice):\n\n```bash\nnpx prisma generate\nnpx prisma db push\n```\n\nNOTE: I migrated my database from PlanetScale to Supabase. The steps to migrate is very simple for MySQL to PostgreSQL. Check the docs.\n\n### Run the development server\n\nAfter the dependencies have been installed, you can start the development server by running:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nThis will start the server at `http://localhost:3000`, and you can view the website in your browser.\n\nOpen [`http://localhost:3000`](http://localhost:3000) with your browser to see the result.\n\n## Build for production\n\n```bash\nnpm run build\n# or\nyarn build\n```\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\n```bash\nnpm install -g vercel\n# or\nyarn global add vercel\n\nvercel\n```\n\nCheck out the [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n## Things to say\n\n### Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Credits\n\n- [CodeWithAntonio](https://www.codewithantonio.com/) =\u003e Thanks for making this amazing tutorial!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumer16%2Fdezacord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumer16%2Fdezacord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumer16%2Fdezacord/lists"}