{"id":13521324,"url":"https://github.com/northone-inc/local-spicedb","last_synced_at":"2025-03-31T20:31:12.289Z","repository":{"id":65071976,"uuid":"581321809","full_name":"northone-inc/local-spicedb","owner":"northone-inc","description":"Local SpiceDB instance for testing","archived":false,"fork":false,"pushed_at":"2023-01-25T16:27:50.000Z","size":183,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-31T19:46:15.062Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/northone-inc.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":"2022-12-22T21:34:22.000Z","updated_at":"2022-12-22T21:34:43.000Z","dependencies_parsed_at":"2023-02-14T09:30:49.338Z","dependency_job_id":null,"html_url":"https://github.com/northone-inc/local-spicedb","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northone-inc%2Flocal-spicedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northone-inc%2Flocal-spicedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northone-inc%2Flocal-spicedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/northone-inc%2Flocal-spicedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/northone-inc","download_url":"https://codeload.github.com/northone-inc/local-spicedb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222679160,"owners_count":17021812,"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-01T06:00:32.763Z","updated_at":"2024-11-02T05:31:24.062Z","avatar_url":"https://github.com/northone-inc.png","language":"TypeScript","funding_links":[],"categories":["Testing"],"sub_categories":["Third-party Integrations"],"readme":"# Local SpiceDB\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/northone-inc/local-spicedb/ci.yml?label=ci)](https://github.com/northone-inc/local-spicedb/actions/workflows/ci.yml)\n\n\u003e **Warning**\n\u003e This project is still experimental, not for production use - FEATURES MAY CHANGE WITHOUT WARNING\n\u003e THIS Project doesn't work in CircleCI!\n\nLocal SpiceDB instance for testing\n\n- [Local SpiceDB](#local-spicedb)\n  - [Features](#features)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Attributions](#attributions)\n\n## Features\n\n- Interacts with `spicedb` in your local `$PATH`\n- provides start and start server functionality\n- users in-memory to easily throw-away for integration testing\n\n## Install\n\n```bash\nbrew bundle # installs spicedb locally\nnpm install -D local-spicedb\n```\n\n## Usage\n\n```typescript\nimport { describe, it } from 'vitest'\nimport { SpiceDBServer } from 'local-spicedb'\n\ndescribe('My SpiceDB Application', () =\u003e {\n  it('can start and stop server', async () =\u003e {\n    const server = SpiceDBServer({ 'grpc-preshared-key': 'test' })\n    await server.start()\n    // ...\n    // 1. make requests to spicedb server, default port using pre-shared key above\n    // 2....\n    // 3. great profit\n    // ...\n    await server.stop() # sends SIGINT to running process\n  })\n})\n\n```\n\n## Attributions\n\n- [shelljs](https://www.npmjs.com/package/shelljs)\n- [spicedb](https://github.com/authzed/spicedb) by [AuthZed](https://authzed.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthone-inc%2Flocal-spicedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorthone-inc%2Flocal-spicedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorthone-inc%2Flocal-spicedb/lists"}