{"id":18277741,"url":"https://github.com/ctnicholas/liveblocks-vercel-database-sync","last_synced_at":"2025-04-05T04:30:46.648Z","repository":{"id":160086901,"uuid":"634676641","full_name":"CTNicholas/liveblocks-vercel-database-sync","owner":"CTNicholas","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-02T15:27:56.000Z","size":233,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T21:46:26.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"2023-04-30T22:12:02.000Z","updated_at":"2023-08-10T13:38:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb677088-4963-45b7-a9ee-0bad202d0da2","html_url":"https://github.com/CTNicholas/liveblocks-vercel-database-sync","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/CTNicholas%2Fliveblocks-vercel-database-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fliveblocks-vercel-database-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fliveblocks-vercel-database-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CTNicholas%2Fliveblocks-vercel-database-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CTNicholas","download_url":"https://codeload.github.com/CTNicholas/liveblocks-vercel-database-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289382,"owners_count":20914463,"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:29.041Z","updated_at":"2025-04-05T04:30:46.585Z","avatar_url":"https://github.com/CTNicholas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"https://user-images.githubusercontent.com/33033422/235533924-823133e2-3f9b-4f62-8c4c-8e5918585995.mp4\n\n## Vercel database + Liveblocks sync demo\n\nThis demo shows you how to use SvelteKit to sync\na [Vercel database](https://vercel.com/blog/vercel-storage#vercel-postgres-complex-data-made-easy) with your\nLiveblocks [conflict-free data](https://liveblocks.io/conflict-free-data-types),\nusing [webhooks](https://liveblocks.io/docs/guides/webhooks).\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 `VITE_LIVEBLOCKS_SECRET_KEY` environment\n  variable\n- Set up your StorageUpdatedEvent [webhook](https://liveblocks.io/docs/guides/webhooks) on the webhooks [dashboard](https://liveblocks.io/dashboard/)\n- Add the **signing secret** from this page to `.env.local` as the `VITE_WEBHOOK_SECRET` enrivonment variable\n- Run `npm run dev` and go to [http://localhost:5173](http://localhost:5173)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fliveblocks-vercel-database-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctnicholas%2Fliveblocks-vercel-database-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctnicholas%2Fliveblocks-vercel-database-sync/lists"}