{"id":21625371,"url":"https://github.com/eigr/spawn-node-sdk","last_synced_at":"2025-10-27T21:09:52.797Z","repository":{"id":117121872,"uuid":"510759786","full_name":"eigr/spawn-node-sdk","owner":"eigr","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-30T17:47:59.000Z","size":441,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-07T18:02:17.081Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eigr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-07-05T13:59:13.000Z","updated_at":"2024-09-04T02:44:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"66136d10-c3fd-454a-b210-c1b8a39e280b","html_url":"https://github.com/eigr/spawn-node-sdk","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/eigr%2Fspawn-node-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr%2Fspawn-node-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr%2Fspawn-node-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eigr%2Fspawn-node-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eigr","download_url":"https://codeload.github.com/eigr/spawn-node-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248402311,"owners_count":21097328,"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-25T01:08:57.753Z","updated_at":"2025-10-27T21:09:47.742Z","avatar_url":"https://github.com/eigr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Spawn](https://github.com/eigr/spawn)\n\n**Spawn Actor Mesh Runtime for Node/Bun**\n\n## **Installation**\n\n### Install Spawn CLI\n\n```SH\ncurl -sSL https://github.com/eigr/spawn/releases/download/v1.4.3/install.sh | sh\n```\n\n# **Getting Started**\n\n_We recommend you to use Typescript for better usage overall._\n\nThis lib supports both Bun and NodeJS runtimes, Bun performs invocations ~2x faster, we recommend using Bun.\n\n### Create a new project with\n\n```SH\nspawn new node hello_world\n```\n\n### Run the new project with your preferred package manager\n\n```SH\n# with yarn\nyarn start\n\n# or with pnpm\npnpm start\n\n# or if you want to use bun instead of NodeJS use:\nyarn start-bun\n```\n\n### Run the Spawn Proxy using the CLI for dev purposes\n\n```SH\nspawn dev run -p ./protos -s spawn-system -W\n```\n\n### Invoking the actor\n\nThats it! You can test invoking the hello world actor with our pre configured HTTP activator.\n\n```SH\ncurl -vvv -H 'Accept: application/json' http://localhost:9980/v1/hello_world?message=World\n```\n\n## **Documentation**\n- [Actor options](./documentation/actor-options.md)\n  - [Unnamed](./documentation/actor-options.md#unnamed-actor)\n  - [Named](./documentation/actor-options.md#named-actor)\n  - [Default Actions](./documentation/actor-options.md#default-actions)\n- [Actor workflows](./documentation/actor-workflows.md)\n- [Invocations](./documentation/invocations.md)\n- [More info on Spawn](https://github.com/eigr/spawn/blob/main/docs/index.md)\n\n## **Examples**\n\nYou can check [test folder](./test) to see some examples\n\n## **Environment variables:** (you don't need to worry if you are using spawn proxy)\n\n- `PROXY_HTTP_PORT` This is the port of spawn proxy service\n- `PROXY_HTTP_HOST` This is the host of spawn proxy service\n- `USER_FUNCTION_PORT` This is the port that your service will expose to communicate with Spawn\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigr%2Fspawn-node-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feigr%2Fspawn-node-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feigr%2Fspawn-node-sdk/lists"}