42wim / matterbridge

bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, rocketchat, twitch, ssh-chat, zulip, whatsapp, keybase, matrix, microsoft teams, nextcloud, mumble, vk and more with REST API (mattermost not required!)
Apache License 2.0
6.57k stars 616 forks source link

New Hangouts Api Allows for Free bridging #528

Closed Warfields closed 3 years ago

Warfields commented 5 years ago

Is your feature request related to a problem? Please describe. As mententioned in issue #28 hangouts is notoriously bad to bridge, and issue #409 mentions that Google's go interface is not free. There is another option of the python interface hangups for free hangouts interface.

Describe the solution you'd like Hangups was made by reverse engineering the Hangouts network protocol and is at zero cost to use. I'd like to interface the current go code to call python scripts at launch to create a bridge to matrix. From this bridge I have gotten matterbridge to replicate to other clients.

Additional context Currently I have a prototype example that is being prepared to face publicly (Removing and squashing commits with hard coded user names and passwords). Being developed as a project under Colorado School of Mines ACM (Some of our members refused to switch to Matrix from Hangouts so I made the horrendous starter code that we are refactoring). I will link to our work once it's ready!

42wim commented 5 years ago

Cool! Looking forward to your project. Are you using the matterbridge API for this?

Warfields commented 5 years ago

Not currently, We've been using the Matrix api and then had matter bridge forward. Could you link to the api documentation?

42wim commented 5 years ago

The api isn't very much documented https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample#L1432-L1439

But 3 projects https://github.com/42wim/matterbridge#api are already using it to integrate

patcon commented 5 years ago

Yeah! A little python heroku app bridging the two would be awesome!

jheiselman commented 5 years ago

Given the shutdown of the service next year, perhaps time would be better spent elsewhere. Just a thought.

Arinerron commented 5 years ago

@jheiselman I would disagree; as groups from Google Hangouts migrate to other platforms, a bridge between the old and the new would be ideal until Google Hangouts is shutdown.

scrthq commented 5 years ago

@jheiselman - Super late reply in case anyone else stumbles upon this, but Classic Hangouts is being sunset this year (or next, per recent Google updates), not Hangouts Chat. Hangouts Chat is the successor to Classic Hangouts and is the service covered by the API that supports bots, not Classic Hangouts.

jheiselman commented 5 years ago

@scrthq yeah, at the time the discussion above happened, Hangouts Chat was still going to be exclusive to G Suite customers. We don't have any details for what the consumer version will look like, but speculation is that bot integration will still be reserved for paying customers. We'll see what shakes out over time.

scrthq commented 5 years ago

Fair! There are still some specifics about the bot integration with Chat that may break the expectation of how a chat bridge should perform:

I'll try and get a PR in to at least enable Hangouts Chat to receive messages from another service via we hook and cover some base documentation around it once I have some time

Sent with GitHawk

qaisjp commented 5 years ago

Hangouts Chat was still going to be exclusive to G Suite customers. We don't have any details for what the consumer version will look like, but speculation is that bot integration will still be reserved for paying customers. We'll see what shakes out over time.

Where did you hear this?

Sweet!

42wim commented 3 years ago

hangouts will be replaced with hangouts chat, closing this in favor of #409