{"id":22160450,"url":"https://github.com/rozek/liveblocks-bundle","last_synced_at":"2026-02-05T23:32:20.138Z","repository":{"id":236974112,"uuid":"793542586","full_name":"rozek/liveblocks-bundle","owner":"rozek","description":"a \"liveblocks\" bundle that can be used in no-build environments","archived":false,"fork":false,"pushed_at":"2024-04-29T12:42:46.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T00:35:49.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rozek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-04-29T12:22:32.000Z","updated_at":"2024-04-29T12:42:50.000Z","dependencies_parsed_at":"2024-04-29T13:40:28.669Z","dependency_job_id":"2b648802-0f42-4c75-aa99-32770a05285f","html_url":"https://github.com/rozek/liveblocks-bundle","commit_stats":null,"previous_names":["rozek/liveblocks-bundle"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rozek/liveblocks-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fliveblocks-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fliveblocks-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fliveblocks-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fliveblocks-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rozek","download_url":"https://codeload.github.com/rozek/liveblocks-bundle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rozek%2Fliveblocks-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29138375,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T23:14:48.546Z","status":"ssl_error","status_checked_at":"2026-02-05T23:14:35.724Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":"2024-12-02T04:07:53.268Z","updated_at":"2026-02-05T23:32:20.120Z","avatar_url":"https://github.com/rozek.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# liveblocks-bundle #\n\na \"liveblocks\" bundle that can be used directly in the browser (e.g., for no-build environments like REPLs or similar)\n\n[liveblocks](https://github.com/liveblocks/liveblocks) has been designed to be used with a bundler like [Rollup](https://rollupjs.org/), [webpack](https://webpack.js.org/) or [Vite](https://vitejs.dev/).\n\nIf you want to use liveblocks in a \"no-build environment\" (such as a browser-based REPL), you may load the `liveblocks-bundle` from this repository using a simple `\u003cscript/\u003e` element, wait for the `liveblocks` global to become available (because it has to be loaded as a JavaScript module) and then use it in your code:\n\n```html\n\u003cscript type=\"module\" src=\"https://rozek.github.io/liveblocks-bundle/dist/liveblocks-bundle.js\"\u003e\u003c/script\u003e\n\n\u003cscript\u003e\n  if (window.liveblocks == null) {\n    document.addEventListener('liveblocks',runApplication)\n  } else {\n    runApplication()\n  }\n\n  function runApplication () {\n    const {\n      createClient,\n      LiveList, LiveMap, LiveObject\n    } = window.liveblocks\n\n// ....insert your liveblocks code here\n  }\n\u003c/script\u003e\n```\n\n`liveblocks-bundle` creates a global called `liveblocks` with the following contents:\n\n* `createClient`\n* 'LiveList', 'LiveMap' and 'LiveObject'\n\nAs a consequence, instead of\n\n`  import { createClient } from \"@liveblocks/client\"`\n\nyou now write\n\n`  const { createClient } = window.liveblocks`\n\nor similar - as soon as `liveblocks` has become available.\n\n## Build Instructions ##\n\nYou may easily build this package yourself.\n\nJust install [NPM](https://docs.npmjs.com/) according to the instructions for your platform and follow these steps:\n\n1. either clone this repository using [git](https://git-scm.com/) or [download a ZIP archive](https://github.com/rozek/liveblocks-bundle/archive/refs/heads/main.zip) with its contents to your disk and unpack it there \n2. open a shell and navigate to the root directory of this repository\n3. run `npm install` in order to install the complete build environment\n4. execute `npm run build` to create a new build\n\n## License ##\n\n[MIT License](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fliveblocks-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frozek%2Fliveblocks-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frozek%2Fliveblocks-bundle/lists"}