{"id":23139032,"url":"https://github.com/circuit/xlator-bot","last_synced_at":"2025-08-17T11:33:25.725Z","repository":{"id":28311527,"uuid":"31824283","full_name":"circuit/xlator-bot","owner":"circuit","description":"This sample application shows how to receive Circuit Conversation updates and how to send Circuit conversation items.","archived":false,"fork":false,"pushed_at":"2019-07-26T13:11:10.000Z","size":22,"stargazers_count":5,"open_issues_count":3,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-11T15:42:31.132Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/circuit.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":"2015-03-07T19:23:26.000Z","updated_at":"2024-03-15T04:34:45.000Z","dependencies_parsed_at":"2022-07-21T05:32:09.299Z","dependency_job_id":null,"html_url":"https://github.com/circuit/xlator-bot","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%2Fxlator-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fxlator-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fxlator-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circuit%2Fxlator-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circuit","download_url":"https://codeload.github.com/circuit/xlator-bot/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:06.046Z","updated_at":"2024-12-17T13:13:06.111Z","avatar_url":"https://github.com/circuit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xlator-bot\nThis sample application shows how to receive Circuit Conversation updates and how to send Circuit conversation items with the [circuit node SDK](https://circuitsandbox.net/sdk/)\n\n## Recommended ##\n* [node 6.x LTS](http://nodejs.org/download/)\n* [circuit module](https://circuitsandbox.net/sdk/)\n\n## Getting Started ##\n\n```bash\n    git clone https://github.com/circuit-sandbox/xlator-bot.git\n    cd xlator-bot\n    cp config.json.template config.json\n```\n\nEdit config.json\n* Change \"client_id\" and \"client_secret\" to the circuit account you'll use for the Xlator Bot.\n    you can request client credentials for bots here https://circuit.github.io/oauth.html.\n* Change the apiKey to a google \"Key for server applications\" with access to the \"Translate API\".\n\n```bash\n    \"client_id\"          : \"your circuit client id\",\n    \"client_secret\"      : \"your circuit secret\",\n    \"domain\"             : \"circuitsandbox.net\",\n    \"apiKey\"             : \"google translation API key\",\n\n```\n\nRun the sample application with\n```bash\n    npm install\n    node index.js\n```\n\nAdd the Xlator Bot user to one of your circuit conversations. The Xlator Bot will translate posts and reply with a comment. By default translation is done to English. The Xlator Bot will attempt to translate to another language if the first word of a post matches one of the languages in lang.json.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fxlator-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircuit%2Fxlator-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircuit%2Fxlator-bot/lists"}