{"id":23139049,"url":"https://github.com/circuit/node-sdk-example","last_synced_at":"2025-08-17T11:33:27.354Z","repository":{"id":33393143,"uuid":"37038178","full_name":"circuit/node-sdk-example","owner":"circuit","description":"Basic example using Circuit Node.js SDK. Two bots login and send text messages to each other.","archived":false,"fork":false,"pushed_at":"2023-04-16T14:47:20.000Z","size":104,"stargazers_count":3,"open_issues_count":3,"forks_count":4,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-04-11T15:42:29.556Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/circuit.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}},"created_at":"2015-06-08T00:38:47.000Z","updated_at":"2020-07-15T12:26:00.000Z","dependencies_parsed_at":"2022-07-08T12:48:59.542Z","dependency_job_id":null,"html_url":"https://github.com/circuit/node-sdk-example","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/circuit%2Fnode-sdk-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fnode-sdk-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fnode-sdk-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fnode-sdk-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circuit","download_url":"https://codeload.github.com/circuit/node-sdk-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230121628,"owners_count":18176477,"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-12-17T13:13:11.378Z","updated_at":"2024-12-17T13:13:12.027Z","avatar_url":"https://github.com/circuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-sdk-example\n\n[![Run on Repl.it](https://repl.it/badge/github/circuit/node-sdk-example)](https://repl.it/github/circuit/node-sdk-example)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nExample for the [Circuit Node SDK](https://github.com/circuit/circuit-sdk).\nThe example shows how to logon to circuit, register for events, lookup a conversation, send a message/reply, attach files to a message and more.\n\n\n## Requirements ##\n* [node 8.x](http://nodejs.org/download/)\n\n\n## Getting Started ##\n\n### Use your own bot credentials (optional)\n* [Register an account](https://circuit.github.io/) on circuitsandbox.net and create two bots. See details on [Developer Portal](https://circuit.github.io/)\n* Update config.json accordingly\n\n### Run the app\n\n```bash\n    git clone https://github.com/circuit/node-sdk-example.git\n    cd node-sdk-example\n    npm install\n    node index\n```\n\nYou may login as maeva.barnaby@mailinator.com to https://circuitsandbox.net and verify the sent messages.\n\n\u003e Hint: pipe the logs to bunyan to get a nicer console output: `node index | node_modules/.bin/bunyan`\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fnode-sdk-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircuit%2Fnode-sdk-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fnode-sdk-example/lists"}