{"id":18169879,"url":"https://github.com/davemooreuws/nchat","last_synced_at":"2025-04-01T13:33:23.614Z","repository":{"id":187363065,"uuid":"676778621","full_name":"davemooreuws/nchat","owner":"davemooreuws","description":"Secure realtime chat using Websockets, Next.js, Nitric and Clerk","archived":false,"fork":false,"pushed_at":"2024-02-27T05:07:37.000Z","size":1220,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T13:04:11.636Z","etag":null,"topics":["clerkauth","nextjs","realtime-chat","secure-websockets","tailwindcss","websockets"],"latest_commit_sha":null,"homepage":"https://nchat.nitric.rocks","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/davemooreuws.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}},"created_at":"2023-08-10T02:02:45.000Z","updated_at":"2025-02-19T09:17:00.000Z","dependencies_parsed_at":"2024-02-27T06:25:32.110Z","dependency_job_id":"de5066cf-d05a-4802-ace2-52ca212485d9","html_url":"https://github.com/davemooreuws/nchat","commit_stats":null,"previous_names":["davemooreuws/nchat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemooreuws%2Fnchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemooreuws%2Fnchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemooreuws%2Fnchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davemooreuws%2Fnchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davemooreuws","download_url":"https://codeload.github.com/davemooreuws/nchat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246601038,"owners_count":20803541,"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":["clerkauth","nextjs","realtime-chat","secure-websockets","tailwindcss","websockets"],"created_at":"2024-11-02T15:00:21.569Z","updated_at":"2025-04-01T13:33:22.977Z","avatar_url":"https://github.com/davemooreuws.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NChat\n\nRealtime chat using Websockets, Next.js, Nitric and Clerk.\n\n![NChat App](/src/app/opengraph-image.png)\n\n\u003e This example uses nitric v0, please raise an issue if you would like a v1 example.\n\n## Tools used\n\n- [Clerk](https://clerk.com)\n- [Next.js](https://nextjs.org)\n- [Nitric](https://nitric.io)\n- [Tailwind CSS](https://tailwindcss.com)\n\n## Demo\n\nYou can view and participate in a live demo [here](https://nchat.nitric.rocks/).\n\n\u003e Apologies if the demo is down, if you're interested in trying it out let me know in issues or you can also run it on your local machine or deploy it to your own AWS account.\n\n## Local Development\n\n### Requirements\n\n- [Nitric CLI](https://nitric.io/docs/guides/getting-started/installation)\n- Node.js\n- yarn\n\n### Steps\n\n1. `yarn install`\n2. Install the [Nitric CLI](https://nitric.io/docs/guides/getting-started/installation)\n3. Create a [Clerk App](https://dashboard.clerk.com/apps/new) for development purposes.\n4. Add GitHub as a social connection under User \u0026 Authentication -\u003e Social Connections.\n5. Get your Clerk API Keys under Developers -\u003e API Keys\n6. `cp .env.example .env` and add values for `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` and `CLERK_SECRET_KEY` from step 5.\n7. `yarn dev:server`\n8. `yarn dev`\n\n## Deploy to Production\n\n### Requirements\n\n- [Nitric CLI](https://nitric.io/docs/guides/getting-started/installation)\n- Node.js\n- yarn\n- Pulumi configured on your machine\n- AWS configured on your machine\n\n### Steps\n\n1. Fork and Push this repo to GitHub\n2. Create a [Clerk App](https://dashboard.clerk.com/apps/new) for production purposes.\n3. Deploy backend to AWS using `nitric up`\n4. Deploy to Vercel and add `.env` values (`NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY`, `NEXT_PUBLIC_NITRIC_API_BASE_URL`\\*, `CLERK_SECRET_KEY`)\n\n\\* `NEXT_PUBLIC_NITRIC_API_BASE_URL` is your production API endpoint. You can find this from the **cli output** after using `nitric up` to deploy to the cloud.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemooreuws%2Fnchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavemooreuws%2Fnchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavemooreuws%2Fnchat/lists"}