{"id":19223311,"url":"https://github.com/sgbj/discord-clone","last_synced_at":"2026-04-13T14:31:49.638Z","repository":{"id":196442836,"uuid":"693424994","full_name":"sgbj/discord-clone","owner":"sgbj","description":"Discord clone built with React.js, Next.js, Tailwind, Prisma, and MySQL","archived":false,"fork":false,"pushed_at":"2023-09-27T00:37:48.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-23T09:45:01.818Z","etag":null,"topics":["clerk","livekit","nextjs","planetscale","prisma","railway","react","shadcn-ui","socket-io","tailwindcss","tanstack-react-query","uploadthing","zod"],"latest_commit_sha":null,"homepage":"https://discord-clone-production-7bb9.up.railway.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/sgbj.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}},"created_at":"2023-09-19T02:22:16.000Z","updated_at":"2024-09-20T09:48:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"3323bb4a-e23e-40ee-a183-a3dddf74d06c","html_url":"https://github.com/sgbj/discord-clone","commit_stats":null,"previous_names":["sgbj/discord-clone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sgbj/discord-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgbj%2Fdiscord-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgbj%2Fdiscord-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgbj%2Fdiscord-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgbj%2Fdiscord-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgbj","download_url":"https://codeload.github.com/sgbj/discord-clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgbj%2Fdiscord-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31757477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T13:27:56.013Z","status":"ssl_error","status_checked_at":"2026-04-13T13:21:23.512Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","livekit","nextjs","planetscale","prisma","railway","react","shadcn-ui","socket-io","tailwindcss","tanstack-react-query","uploadthing","zod"],"created_at":"2024-11-09T15:07:52.611Z","updated_at":"2026-04-13T14:31:49.618Z","avatar_url":"https://github.com/sgbj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Clone\n\nA fullstack Discord clone built with Next.js, React, Tailwind, Socket.IO, Prisma, and MySQL.\n\n![Screenshot](https://github.com/sgbj/discord-clone/assets/5178445/5275cd75-34fd-47dc-b690-9130f2c818da)\n\n\n\n## Features\n\n* 🔐 Authentication using Clerk\n* 📊 MySQL database with PlanetScale and Prisma ORM\n* ✉️ Real-time messaging using Socket.IO with polling as a fallback\n* 🔉 Audio and video calls with LiveKit\n* 🔃 Infinite scroll for loading messages using @tanstack/react-query\n* 🚀 Deployed using Railway\n* ⚙️ Create and customize servers and channels\n* 📝 Edit and delete messages\n* 👨‍👩‍👧‍👦 Invite and manage members\n* ✨ Responsive UI and light/dark mode built with Tailwind and shadcn/ui\n\n## Getting Started\n\n### Clone the repo\n\n```bash\ngit clone https://github.com/sgbj/discord-clone.git\n```\n\n### Install dependencies\n\n```bash\nnpm install\n```\n\n### Setup .env file\n\n```env\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\nCLERK_SECRET_KEY=\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=\nNEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=\nNEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=\n\nDATABASE_URL=\n\nUPLOADTHING_SECRET=\nUPLOADTHING_APP_ID=\n\nLIVEKIT_API_KEY=\nLIVEKIT_API_SECRET=\nNEXT_PUBLIC_LIVEKIT_URL=\n```\n\n### Setup Prisma\n\n```bash\nnpx prisma generate\nnpx prisma db push\n```\n\n### Start the app\n\n```bash\nnpm run dev\n```\n\n### Credit\n\nCreated by following along with [AntonioErdeljac/next13-discord-clone](https://github.com/AntonioErdeljac/next13-discord-clone).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgbj%2Fdiscord-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgbj%2Fdiscord-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgbj%2Fdiscord-clone/lists"}