{"id":48333421,"url":"https://github.com/triggerdotdev/nextjs-realtime-streams-demo","last_synced_at":"2026-04-05T01:32:27.182Z","repository":{"id":265259859,"uuid":"895612427","full_name":"triggerdotdev/nextjs-realtime-streams-demo","owner":"triggerdotdev","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-28T15:58:37.000Z","size":226,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-01-02T13:57:43.691Z","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/triggerdotdev.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-11-28T14:33:35.000Z","updated_at":"2025-02-10T06:41:27.000Z","dependencies_parsed_at":"2024-11-28T15:46:31.640Z","dependency_job_id":null,"html_url":"https://github.com/triggerdotdev/nextjs-realtime-streams-demo","commit_stats":null,"previous_names":["triggerdotdev/nextjs-realtime-streams-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/triggerdotdev/nextjs-realtime-streams-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fnextjs-realtime-streams-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fnextjs-realtime-streams-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fnextjs-realtime-streams-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fnextjs-realtime-streams-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/triggerdotdev","download_url":"https://codeload.github.com/triggerdotdev/nextjs-realtime-streams-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/triggerdotdev%2Fnextjs-realtime-streams-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31421869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T00:25:07.052Z","status":"ssl_error","status_checked_at":"2026-04-05T00:25:05.923Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-04-05T01:32:26.565Z","updated_at":"2026-04-05T01:32:27.164Z","avatar_url":"https://github.com/triggerdotdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Trigger.dev Realtime streams Demo\n\nThis demo shows off a variety of features of [Trigger.dev Realtime](https://trigger.dev/docs/realtime)\n\n## Getting Started\n\nCopy the `.env.local.example` file to `.env.local` and fill in the values for the various services, including Trigger.dev.\n\nIf you haven't already, create a project on Trigger.dev and copy the project ref into the `trigger.config.ts` file.\n\nThen, run the Next.js development server and the Trigger.dev dev CLI command in a separate terminal.\n\n```bash\nnpm install\nnpm run dev\nnpm run dev:trigger # Run this in a separate terminal\n```\n\nOpen [http://localhost:3000/weather](http://localhost:3000/weather) with your browser to see the result.\n\n## Realtime + ai SDK + streams\n\nhttps://github.com/user-attachments/assets/f28ac0be-838b-4fad-b97d-ca24692eacf5\n\n- View the Trigger.dev task code in the [src/trigger/ai.ts](src/trigger/ai.ts) file.\n- View the frontend code in the [src/app/weather/page.tsx](src/app/weather/page.tsx) file and the [src/components/GetStreamingWeatherButton.tsx](src/components/GetStreamingWeatherButton.tsx) file.\n\n## Learn More\n\nTo learn more about Trigger.dev Realtime, take a look at the following resources:\n\n- [Trigger.dev Documentation](https://trigger.dev/docs) - learn about Trigger.dev and its features.\n- [Realtime docs](https://trigger.dev/docs/realtime) - learn about the Realtime feature of Trigger.dev.\n- [React hooks](https://trigger.dev/docs/frontend/react-hooks) - learn about the React hooks provided by Trigger.dev.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriggerdotdev%2Fnextjs-realtime-streams-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftriggerdotdev%2Fnextjs-realtime-streams-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftriggerdotdev%2Fnextjs-realtime-streams-demo/lists"}