{"id":13632482,"url":"https://github.com/liveblocks/next-js-examples","last_synced_at":"2025-04-18T02:33:19.196Z","repository":{"id":46690708,"uuid":"371143216","full_name":"liveblocks/next-js-examples","owner":"liveblocks","description":null,"archived":true,"fork":false,"pushed_at":"2021-09-29T19:54:17.000Z","size":984,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-09T00:34:50.484Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liveblocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-26T19:10:59.000Z","updated_at":"2024-04-14T04:18:28.000Z","dependencies_parsed_at":"2022-08-25T16:20:41.269Z","dependency_job_id":null,"html_url":"https://github.com/liveblocks/next-js-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fnext-js-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fnext-js-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fnext-js-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Fnext-js-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liveblocks","download_url":"https://codeload.github.com/liveblocks/next-js-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249414253,"owners_count":21267724,"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":[],"created_at":"2024-08-01T22:03:04.500Z","updated_at":"2025-04-18T02:33:18.803Z","avatar_url":"https://github.com/liveblocks.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://liveblocks.io\"\u003e\n    \u003cimg src=\"https://liveblocks.io/icon-192x192.png\" height=\"96\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# Deprecated\n\nThis repository is deprecated, for Next.js examples please use:\n\n- [https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-live-avatars](https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-live-avatars)\n- [https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-todo-list](https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-todo-list)\n- [https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-whiteboard](https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-whiteboard)\n- [https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-live-cursors](https://github.com/liveblocks/liveblocks/tree/main/examples/nextjs-live-cursors)\n\n## [Liveblocks](https://liveblocks.io) × [Next.js](https://nextjs.org/).\n\nThis repo shows how to use Liveblocks with [Next.js](https://nextjs.org/).\n\n## Getting started\n\n### Run examples locally\n\n- Install all dependencies with `npm install`\n- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)\n- Copy your secret key from the [administration](https://liveblocks.io/dashboard/apikeys)\n- Create a file named `.env.local` and add your Liveblocks secret as environment variable `LIVEBLOCKS_SECRET_KEY=sk_test_yourkey`\n- Run `npm run dev` and go to [http://localhost:3000](http://localhost:3000)\n\n### Run examples on CodeSandbox\n\n- Open this repository on CodeSandbox with this [link](https://codesandbox.io/s/github/liveblocks/next-js-examples?file=/pages/live-cursors-basic.js)\n- Create an account on [liveblocks.io](https://liveblocks.io/dashboard)\n- Copy your secret key from the [administration](https://liveblocks.io/dashboard/apikeys)\n- Create [secret](https://codesandbox.io/docs/secrets) named `LIVEBLOCKS_SECRET_KEY` with the secret key you just copied. You need to create an account on CodeSandbox to add an environment variable.\n- Refresh your browser and you should be good to go!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Fnext-js-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliveblocks%2Fnext-js-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Fnext-js-examples/lists"}