{"id":49881239,"url":"https://github.com/alekseibalan/ab-watson-msg","last_synced_at":"2026-05-15T14:14:28.329Z","repository":{"id":39955158,"uuid":"202926583","full_name":"alekseibalan/ab-watson-msg","owner":"alekseibalan","description":"IBM Watson Assistant with messenger","archived":false,"fork":false,"pushed_at":"2022-05-20T21:06:23.000Z","size":28,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-13T01:29:04.175Z","etag":null,"topics":["artificial-intelligence","chatbot","ibm-watson","messenger","quality","telegram","virtual-girlfriend","voice-recognition"],"latest_commit_sha":null,"homepage":"","language":"Java","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/alekseibalan.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":"2019-08-17T20:03:22.000Z","updated_at":"2025-07-28T18:33:31.000Z","dependencies_parsed_at":"2022-07-25T02:02:10.225Z","dependency_job_id":null,"html_url":"https://github.com/alekseibalan/ab-watson-msg","commit_stats":null,"previous_names":["alekseibalan/ab-watson-msg"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alekseibalan/ab-watson-msg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekseibalan%2Fab-watson-msg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekseibalan%2Fab-watson-msg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekseibalan%2Fab-watson-msg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekseibalan%2Fab-watson-msg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alekseibalan","download_url":"https://codeload.github.com/alekseibalan/ab-watson-msg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alekseibalan%2Fab-watson-msg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33069050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["artificial-intelligence","chatbot","ibm-watson","messenger","quality","telegram","virtual-girlfriend","voice-recognition"],"created_at":"2026-05-15T14:14:27.483Z","updated_at":"2026-05-15T14:14:28.324Z","avatar_url":"https://github.com/alekseibalan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ab-watson-msg\nIBM Watson Assistant with messenger\n\n### Configuring Telegram\n* Register in Telegram https://telegram.org/ with your phone number for example +1(514)123-4567\n* Add the example chatbot @juliechatbot to the list\n* Obtain api_id and api_hash https://core.telegram.org/api/obtaining_api_id\nfor example 391152 and 24dd4e2a02a41b5da140a2940555ce03\n* Build jar and run\n```\njava -Dtelegram.api.id=391152 -Dtelegram.api.hash=24dd4e2a02a41b5da140a2940555ce03 \\\n  -Dtelegram.phoneNumber=15141234567 -jar target/ab-watson-msg.jar\n```\n\nFor the first run the application will ask for an sms code, input it in console\n\n### Testing Telegram\n* Open http://localhost:8080/test/text\n\nthe response will look like this\n```\n\u003cvoice-transformation type=\"Custom\" timbre=\"Breeze\" timbre_extent=\"60%\"\u003e\nHello, how are you today?\u003c/voice-transformation\u003e\n```\nplease do not make too many test requests or the chat can be blocked\n* Configure port forwarding and connect to local IP https://www.google.com/search?q=what+is+my+ip\n\nhttp://123.456.789.12:8080/test/text\n\n### Configuring IBM Voice Agent with Watson\n* Create an account on IBM Cloud, create Voice Agent\n\nhttps://cloud.ibm.com/docs/services/voice-agent?topic=voice-agent-getting-started\n\n### Edit agent:\n* Service type - Other Watson Assistant service instance\n* Credential type - User name and password\n* URL - http://123.456.789.12:8080/watson\n* User name - any\n* Password - any\n* Workspace ID - any\n* Text to Speech Voice - en-US_LisaVoice: Lisa: American English female voice\n\n### Ready to go.\nCall SIP phone number, talk with Telegram bot and see lines running on the screen.\n```\n[nio-8080-exec-7] info.ab.WatsonAssistantController: i: hello\n[nio-8080-exec-7] info.ab.WatsonAssistantController: o: Hello, how are you?\n[nio-8080-exec-8] info.ab.WatsonAssistantController: i: I'm good thank you\n[nio-8080-exec-8] info.ab.WatsonAssistantController: o: Pleased to meet you good thank you.\n[nio-8080-exec-4] info.ab.WatsonAssistantController: i: what is your name\n[nio-8080-exec-4] info.ab.WatsonAssistantController: o: My name is Julie.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseibalan%2Fab-watson-msg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falekseibalan%2Fab-watson-msg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falekseibalan%2Fab-watson-msg/lists"}