{"id":19450160,"url":"https://github.com/webexsamples/javabot","last_synced_at":"2025-04-25T03:32:04.009Z","repository":{"id":114829133,"uuid":"207298353","full_name":"WebexSamples/javabot","owner":"WebexSamples","description":"An example for implementing a simple Webex Teams bot using the Java SDK","archived":false,"fork":false,"pushed_at":"2024-05-07T18:56:38.000Z","size":15,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-03T15:23:28.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebexSamples.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-09T11:57:42.000Z","updated_at":"2024-05-07T18:56:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"acce818e-8618-4e45-8430-de0f3fbc3a3b","html_url":"https://github.com/WebexSamples/javabot","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/WebexSamples%2Fjavabot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fjavabot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fjavabot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebexSamples%2Fjavabot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebexSamples","download_url":"https://codeload.github.com/WebexSamples/javabot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250748058,"owners_count":21480774,"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-10T16:35:33.751Z","updated_at":"2025-04-25T03:32:03.743Z","avatar_url":"https://github.com/WebexSamples.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# javabot\n\n## Description\n\nUsed to listen to events in Webex Teams on a localhost port. The only command it can understand is **hello**,\nreplies \"hello there\".\n\n## Requirements\n\n* **Webex Teams access token**: this will be used to communicate with Webex Teams. Ideally you would use the access token of the same bot here.\n* **open port on localhost**: this is where the app will listen for incoming messages\n* **Java 1.8**\n* **Maven 3.6.1**\n\n## Installation\n\n* clone the repo\n* ```mvn install```\n* ```mvn exec:java -Dexec.mainClass=Main```\n\n## Usage\n\n```\n+---------------------------------------------+\n|                                             |\n|        _                  _           _     |\n|       | | __ ___   ____ _| |__   ___ | |_   |\n|    _  | |/ _` \\ \\ / / _` | '_ \\ / _ \\| __|  |\n|   | |_| | (_| |\\ V / (_| | |_) | (_) | |_   |\n|    \\___/ \\__,_| \\_/ \\__,_|_.__/ \\___/ \\__|  |\n|                                             |\n|                                             |\n+---------------------------------------------+\n\nPlease enter an access token\nAaBbCcDdEeFfGgHhIiJjAaBbCcDdEeFfGgHhIiJjAaBbCcDdEeFfGgHhIiJj_ABCD_1a2b3c4d-1234-abcd-9876-abcdefghijkl\nINFO Verifying account\nINFO Account verified as Droid\nPlease enter port you want to listen on:\n5000\nINFO Service listening on localhost:5000\n```\n\n**Tip**: you can use the [hookbuster](https://github.com/WebexSamples/hookbuster) to test how this app works. Start a websocket listener for `messages:created` and the **hookbuster** will forward incoming message events to localhost, where **javabot** can listen to them. No need for webhooks!\n\n## Dependencies\n\n```xml\n\u003cdependencies\u003e\n \u003cdependency\u003e\n   \u003cgroupId\u003eorg.glassfish\u003c/groupId\u003e\n   \u003cartifactId\u003ejavax.json\u003c/artifactId\u003e\n   \u003cversion\u003e1.0.4\u003c/version\u003e\n \u003c/dependency\u003e\n\n \u003cdependency\u003e\n   \u003cgroupId\u003ecom.ciscospark\u003c/groupId\u003e\n   \u003cartifactId\u003eciscospark-client\u003c/artifactId\u003e\n   \u003cversion\u003e1.0-SNAPSHOT\u003c/version\u003e\n \u003c/dependency\u003e\n\n \u003cdependency\u003e\n   \u003cgroupId\u003eorg.json\u003c/groupId\u003e\n   \u003cartifactId\u003ejson\u003c/artifactId\u003e\n   \u003cversion\u003e20180130\u003c/version\u003e\n \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fjavabot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebexsamples%2Fjavabot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebexsamples%2Fjavabot/lists"}