{"id":18277738,"url":"https://github.com/ctnicholas/nextjs-realtime-cache-update","last_synced_at":"2025-04-09T04:36:25.051Z","repository":{"id":217535746,"uuid":"743986127","full_name":"CTNicholas/nextjs-realtime-cache-update","owner":"CTNicholas","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-04T17:55:19.000Z","size":79,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T22:48:07.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nextjs-realtime-cache-update.vercel.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/CTNicholas.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-01-16T12:03:17.000Z","updated_at":"2024-03-04T17:56:18.000Z","dependencies_parsed_at":"2024-01-17T03:05:56.766Z","dependency_job_id":"92399053-2495-40db-83a9-7f68214abc51","html_url":"https://github.com/CTNicholas/nextjs-realtime-cache-update","commit_stats":null,"previous_names":["ctnicholas/nextjs-realtime-cache-update"],"tags_count":0,"template":false,"template_full_name":"CTNicholas/boilerplate-liveblocks-nextjs-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fnextjs-realtime-cache-update","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fnextjs-realtime-cache-update/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fnextjs-realtime-cache-update/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fnextjs-realtime-cache-update/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CTNicholas","download_url":"https://codeload.github.com/CTNicholas/nextjs-realtime-cache-update/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980830,"owners_count":21027803,"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-11-05T12:20:28.950Z","updated_at":"2025-04-09T04:36:24.607Z","avatar_url":"https://github.com/CTNicholas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Liveblocks + Next.js real-time caching\n\nThis demo shows you how to implement real-time Next.js caching/revalidating with [Liveblocks](https://liveblocks.io/). No data is stored on Liveblocks to make this work, it simply tells other users to refresh their data from your database.\n\nhttps://github.com/CTNicholas/nextjs-realtime-cache-update/assets/33033422/1a27992a-fcec-4182-b3cf-0097c4098bcb\n\n### Set up Liveblocks\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 [dashboard](https://liveblocks.io/dashboard/apikeys)\n- Create an `.env.local` file and add your **secret** key as the `LIVEBLOCKS_SECRET_KEY` environment variable\n- Run `npm run dev` and go to [http://localhost:3000](http://localhost:3000)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fnextjs-realtime-cache-update","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctnicholas%2Fnextjs-realtime-cache-update","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fnextjs-realtime-cache-update/lists"}