{"id":21396875,"url":"https://github.com/posixpascal/battlenet-chat","last_synced_at":"2025-10-24T11:32:30.189Z","repository":{"id":142926999,"uuid":"77140631","full_name":"posixpascal/battlenet-chat","owner":"posixpascal","description":"A mobile battlenet chat client written in Ionic2 / Angular2 - ServerSide based on Python and Google Protobufs","archived":false,"fork":false,"pushed_at":"2016-12-22T12:12:02.000Z","size":1064,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T11:05:07.327Z","etag":null,"topics":["battlenet-chat","hearthsim","python"],"latest_commit_sha":null,"homepage":"","language":"Protocol Buffer","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/posixpascal.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-22T11:54:06.000Z","updated_at":"2017-02-16T09:42:23.000Z","dependencies_parsed_at":"2023-07-14T22:01:36.035Z","dependency_job_id":null,"html_url":"https://github.com/posixpascal/battlenet-chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/posixpascal/battlenet-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posixpascal%2Fbattlenet-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posixpascal%2Fbattlenet-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posixpascal%2Fbattlenet-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posixpascal%2Fbattlenet-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posixpascal","download_url":"https://codeload.github.com/posixpascal/battlenet-chat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posixpascal%2Fbattlenet-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280787588,"owners_count":26391141,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["battlenet-chat","hearthsim","python"],"created_at":"2024-11-22T14:30:14.535Z","updated_at":"2025-10-24T11:32:30.173Z","avatar_url":"https://github.com/posixpascal.png","language":"Protocol Buffer","funding_links":[],"categories":[],"sub_categories":[],"readme":"# battlenet-chat\n\nA **non-working** battle.net chat client written in TypeScript and Python. \nIt aims to be a simple yet complete mobile chat application. \n\nThe python server is a proxy to communicate with the battlenet server because Websockets can't do this.\nMaybe I'll try to make a \"standalone\" app in the future but that's not a goal on my list at the moment.\n\nThe server is able to log into battle.net and receives messages (whispers) from friend contacts,\nit then stores these messages inside a JSON file which is available through an HTTP server.\nFor the server to log in you need to obtain a specific token after login, I could not automate this in time but I certainly will in the future.\n\nTo get the token you need to launch `main.py` and view the console logs – it'll print the URL you need to open with your browser.\nOnce opened you'll need to log in, then the website tries to redirect you to: http://localhost:0/?\u003cyour-token-is-here\u003e – since this obviously won't receive the python instance, you have to manually copy the token and paste it into `main.pyL40`.\n\n# Other resources\nI've used most of the ProtoBuf files from Eion Robb's \"purple-battlenet\" Pidgen Plugin (https://bitbucket.org/EionRobb/purple-battlenet/src).\nThe server side is based on HearthSim's python-bnet library (https://github.com/HearthSim/python-bnet).\nI modified it to serve a flask instance as well as storing messages inside JSON files.\n\n# Status\nUnfortunately this is not a working chat client at the moment.\n\n\n# License\nBe aware of the HearthSim license\n\n            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \n                        Version 2, December 2004 \n\n    Copyright (C) 2004 Sam Hocevar \u003csam@hocevar.net\u003e \n\n    Everyone is permitted to copy and distribute verbatim or modified \n    copies of this license document, and changing it is allowed as long \n    as the name is changed. \n\n                DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE \n    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION \n\n    0. You just DO WHAT THE FUCK YOU WANT TO.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposixpascal%2Fbattlenet-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposixpascal%2Fbattlenet-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposixpascal%2Fbattlenet-chat/lists"}