{"id":24157679,"url":"https://github.com/danielroe/zero-vue","last_synced_at":"2025-07-21T10:37:37.927Z","repository":{"id":269976517,"uuid":"909026429","full_name":"danielroe/zero-vue","owner":"danielroe","description":"Vue bindings for Zero","archived":false,"fork":false,"pushed_at":"2025-07-14T06:35:28.000Z","size":876,"stargazers_count":140,"open_issues_count":4,"forks_count":6,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-17T15:55:46.008Z","etag":null,"topics":["sync","vue","zero"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/danielroe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null},"funding":{"github":["danielroe"]}},"created_at":"2024-12-27T15:11:08.000Z","updated_at":"2025-07-14T10:05:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"efdd2995-70f1-4fde-9226-39b60464001a","html_url":"https://github.com/danielroe/zero-vue","commit_stats":null,"previous_names":["danielroe/zero-vue"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/danielroe/zero-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fzero-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fzero-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fzero-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fzero-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielroe","download_url":"https://codeload.github.com/danielroe/zero-vue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielroe%2Fzero-vue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265625476,"owners_count":23800616,"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":["sync","vue","zero"],"created_at":"2025-01-12T14:02:41.281Z","updated_at":"2025-07-21T10:37:37.922Z","avatar_url":"https://github.com/danielroe.png","language":"TypeScript","readme":"# zero-vue\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Github Actions][github-actions-src]][github-actions-href]\n[![Codecov][codecov-src]][codecov-href]\n\n\u003e Vue bindings for [Zero](https://zero.rocicorp.dev/)\n\n## Usage\n\nInstall package:\n\n```sh\n# npm\nnpm install zero-vue\n\n# pnpm\npnpm install zero-vue\n```\n\n```js\nimport { Zero } from '@rocicorp/zero'\nimport { useQuery } from 'zero-vue'\n\n// see docs: https://zero.rocicorp.dev/docs/introduction\nconst z = new Zero({\n  userID,\n  server: import.meta.env.VITE_PUBLIC_SERVER,\n  schema,\n  kvStore: 'mem',\n})\n\nconst { data: users } = useQuery(z.query.user)\n```\n\n\u003e [!TIP]\n\u003e See [the playground](./playground) for a full working example based on [rocicorp/hello-zero](https://github.com/rocicorp/hello-zero), or check out [danielroe/hello-zero-nuxt](https://github.com/danielroe/hello-zero-nuxt) to see how to set things up with [Nuxt](https://nuxt.com/).\n\n## 💻 Development\n\n- Clone this repository\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## Credits\n\nThe implementation here was based on [zero-solid](https://github.com/rocicorp/mono/tree/main/packages/zero-solid). You can also check out [hello-zero-nuxt](https://github.com/danielroe/hello-zero-nuxt) to see the original implementation and history of this project.\n\n## License\n\nMade with ❤️\n\nPublished under [MIT License](./LICENCE).\n\n\u003c!-- Badges --\u003e\n\n[npm-version-src]: https://img.shields.io/npm/v/zero-vue?style=flat-square\n[npm-version-href]: https://npmjs.com/package/zero-vue\n[npm-downloads-src]: https://img.shields.io/npm/dm/zero-vue?style=flat-square\n[npm-downloads-href]: https://npm.chart.dev/zero-vue\n[github-actions-src]: https://img.shields.io/github/actions/workflow/status/danielroe/zero-vue/ci.yml?branch=main\u0026style=flat-square\n[github-actions-href]: https://github.com/danielroe/zero-vue/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/gh/danielroe/zero-vue/main?style=flat-square\n[codecov-href]: https://codecov.io/gh/danielroe/zero-vue\n","funding_links":["https://github.com/sponsors/danielroe"],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fzero-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielroe%2Fzero-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielroe%2Fzero-vue/lists"}