{"id":15104191,"url":"https://github.com/meharsulaiman/discord-clone","last_synced_at":"2026-02-12T14:32:07.950Z","repository":{"id":256887324,"uuid":"856725883","full_name":"meharsulaiman/discord-clone","owner":"meharsulaiman","description":"Discord but with our own set of tools","archived":false,"fork":false,"pushed_at":"2024-09-17T16:18:26.000Z","size":873,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T15:40:33.674Z","etag":null,"topics":["clerk","nextjs","prisma","reacthookform","shadcn-ui","socket-io","uploadthi","zod","zustand"],"latest_commit_sha":null,"homepage":"https://discord-clone-production-8d41.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/meharsulaiman.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-09-13T04:59:11.000Z","updated_at":"2024-09-17T16:18:29.000Z","dependencies_parsed_at":"2024-09-13T16:32:20.492Z","dependency_job_id":"71c65b52-253e-45c6-ba03-c823308677a2","html_url":"https://github.com/meharsulaiman/discord-clone","commit_stats":{"total_commits":57,"total_committers":2,"mean_commits":28.5,"dds":0.03508771929824561,"last_synced_commit":"b0f381eec330b8e9f7007328b5ef3cbd35157c8f"},"previous_names":["meharsulaiman/discord-clone"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/meharsulaiman/discord-clone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meharsulaiman%2Fdiscord-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meharsulaiman%2Fdiscord-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meharsulaiman%2Fdiscord-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meharsulaiman%2Fdiscord-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meharsulaiman","download_url":"https://codeload.github.com/meharsulaiman/discord-clone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meharsulaiman%2Fdiscord-clone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29368686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: 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","nextjs","prisma","reacthookform","shadcn-ui","socket-io","uploadthi","zod","zustand"],"created_at":"2024-09-25T20:00:47.443Z","updated_at":"2026-02-12T14:32:07.933Z","avatar_url":"https://github.com/meharsulaiman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Clone\n\n![Discord Clone UI](./prisma//SS.png)\n\nA modern, feature-rich Discord clone built with Next.js, TypeScript, and shadcn/ui components. This project aims to replicate the core functionality and sleek design of Discord while showcasing the power of Next.js and related technologies.\n\n## Features\n\n- Real-time messaging\n- Server and channel management\n- User authentication with Clerk\n- Responsive design\n- Dark mode support\n- File uploads with uploadthing\n- And much more!\n\n## Tech Stack\n\n- [Next.js](https://nextjs.org/)\n- [React](https://reactjs.org/)\n- [TypeScript](https://www.typescriptlang.org/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [shadcn/ui](https://ui.shadcn.com/)\n- [Prisma](https://www.prisma.io/)\n- [Clerk](https://clerk.dev/)\n- [Zustand](https://github.com/pmndrs/zustand)\n- [Zod](https://github.com/colinhacks/zod)\n- [React Hook Form](https://react-hook-form.com/)\n- [uploadthing](https://uploadthing.com/)\n- [Livekit](https://livekit.io/)\n\n## Database Schema\n\n![Database Schema](./prisma//ERD.png)\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or later)\n- npm or yarn\n- A Clerk account for authentication\n- A database (e.g., PostgreSQL)\n- An uploadthing account for file uploads\n\n### Installation\n\n1. Clone the repository:\n\n   ```\n   git clone https://github.com/meharsulaiman/discord-clone.git\n   cd discord-clone\n   ```\n\n2. Install dependencies:\n\n   ```\n   npm install\n   # or\n   yarn install\n   ```\n\n3. Set up environment variables:\n   Create a `.env` file in the root directory and add the necessary environment variables. Use the following `.env.example` as a template:\n\n   ```\n   NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=\n   CLERK_SECRET_KEY=\n\n   NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in\n   NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up\n   NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/\n   NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/\n\n   DATABASE_URL=\"\"\n\n   UPLOADTHING_SECRET=''\n   UPLOADTHING_APP_ID=''\n   ```\n\n   Make sure to fill in the values for each variable:\n\n   - Get the Clerk keys from your Clerk dashboard\n   - Set up your database and add the connection string to `DATABASE_URL`\n   - Obtain the uploadthing credentials from your uploadthing dashboard\n\n4. Set up the database:\n\n   ```\n   npx prisma generate\n   npx prisma db push\n   ```\n\n5. Run the development server:\n\n   ```\n   npm run dev\n   # or\n   yarn dev\n   ```\n\n6. Open [http://localhost:3000](http://localhost:3000) in your browser to see the result.\n\n## Available Scripts\n\n- `npm run dev` or `yarn dev`: Starts the development server\n- `npm run build` or `yarn build`: Builds the app for production\n- `npm start` or `yarn start`: Runs the built app in production mode\n- `npm run lint` or `yarn lint`: Runs the linter to check for code quality issues\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is open source and available under the [MIT License](LICENSE).\n\n## Acknowledgements\n\n- [Shadcn](https://twitter.com/shadcn) for the amazing shadcn/ui components\n- The Next.js team for their fantastic framework\n- All the creators and maintainers of the libraries used in this project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeharsulaiman%2Fdiscord-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeharsulaiman%2Fdiscord-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeharsulaiman%2Fdiscord-clone/lists"}