{"id":48254462,"url":"https://github.com/benjefferies/nextjs-pusher-realtime-example","last_synced_at":"2026-04-04T21:03:53.115Z","repository":{"id":232210260,"uuid":"737541416","full_name":"benjefferies/nextjs-pusher-realtime-example","owner":"benjefferies","description":"Basic structure for both frontend and backend, with Pusher integration for real-time updates. The frontend is set up with Next.js and Tailwind CSS for UI, and the backend is set up to handle Pusher events.","archived":false,"fork":false,"pushed_at":"2023-12-31T12:58:48.000Z","size":61,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T06:07:29.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/benjefferies.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-12-31T12:53:49.000Z","updated_at":"2023-12-31T12:58:52.000Z","dependencies_parsed_at":"2024-04-08T17:11:24.661Z","dependency_job_id":"a70aad9e-943f-4138-a434-f7776a4ce63c","html_url":"https://github.com/benjefferies/nextjs-pusher-realtime-example","commit_stats":null,"previous_names":["benjefferies/nextjs-pusher-realtime-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/benjefferies/nextjs-pusher-realtime-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjefferies%2Fnextjs-pusher-realtime-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjefferies%2Fnextjs-pusher-realtime-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjefferies%2Fnextjs-pusher-realtime-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjefferies%2Fnextjs-pusher-realtime-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjefferies","download_url":"https://codeload.github.com/benjefferies/nextjs-pusher-realtime-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjefferies%2Fnextjs-pusher-realtime-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31414006,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"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":[],"created_at":"2026-04-04T21:03:25.692Z","updated_at":"2026-04-04T21:03:53.096Z","avatar_url":"https://github.com/benjefferies.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NextJS Pusher Realtime Example\n\n## Description\nThis project is a simple example of how to use Next.js and Pusher to achieve real-time WebSocket-like communication. It consists of a standard Next.js frontend and a simple backend that can be started with `npx ts-node index.ts`.\n\n## Prerequisites\nBefore you begin, ensure you have met the following requirements:\n- You have installed [Node.js](https://nodejs.org/) and [npm](https://www.npmjs.com/).\n- You have a basic understanding of JavaScript and TypeScript.\n\n## Installation\nTo install nextjs-pusher-realtime-example, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/nextjs-pusher-realtime-example.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd nextjs-pusher-realtime-example\n   ```\n3. Install dependencies for both frontend and backend:\n   ```bash\n   npm install\n   ```\n\n## Setting Up Environment Variables\n1. Create an account on [Pusher](https://pusher.com/) and obtain your credentials.\n2. Set up your environment variables by creating a `.env` file in both the frontend and backend directories with your Pusher credentials.\n\n## Running the Application\n1. Start the backend server:\n   ```bash\n   npx ts-node index.ts\n   ```\n2. In a separate terminal, start the Next.js frontend:\n   ```bash\n   npm run dev\n   ```\n3. Open your browser and navigate to `http://localhost:3000`.\n\n## Usage\nAfter starting the application, you can test the real-time functionality:\n1. Go to `http://localhost:3000`.\n2. Press the button on the page to see real-time communication in action.\n\n## Contributing\nContributions to the nextjs-pusher-realtime-example are welcome. If you have a suggestion that would improve this project, please fork the repo and create a pull request.\n\n## License\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjefferies%2Fnextjs-pusher-realtime-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjefferies%2Fnextjs-pusher-realtime-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjefferies%2Fnextjs-pusher-realtime-example/lists"}