{"id":312,"date":"2016-02-02T22:59:07","date_gmt":"2016-02-02T09:59:07","guid":{"rendered":"http:\/\/eion.robbmob.com\/blog\/?p=312"},"modified":"2016-02-02T22:59:07","modified_gmt":"2016-02-02T09:59:07","slug":"a-hangouts-prpl","status":"publish","type":"post","link":"https:\/\/eion.robbmob.com\/blog\/2016\/02\/02\/a-hangouts-prpl\/","title":{"rendered":"A Hangouts Prpl"},"content":{"rendered":"<p>So Pidgin has fairly alrightish support for Hangouts through the XMPP server that Google provides. Unfortunately it&#8217;s missing a whole bunch of stuff &#8211; like group chats, self-sent messages et. al. &#8211; that make it just that little bit annoying to use.<\/p>\n<p>So we had <a href=\"https:\/\/developer.pidgin.im\/wiki\/nakulgulati\" target=\"_blank\">a Summer of Code 2015 student<\/a> start work on <a href=\"https:\/\/hg.pidgin.im\/soc\/2015\/nakulgulati\/main\/\" target=\"_blank\">a new <strong>pr<\/strong>otocol <strong>pl<\/strong>ugin (prpl)<\/a> for Pidgin. Unfortunately due to a few roadblocks (mostly around new stuff in libpurple3) it didn&#8217;t get completed, so I&#8217;ve spent the last too-many weeks implementing the pblite\/protobuf-json\/jsprotobuf protocol (TODO find a link for this one) that Google uses, in C using the amazing <a href=\"https:\/\/github.com\/protobuf-c\/protobuf-c\" target=\"_blank\">protobuf-c library<\/a> (in combination with the always awesome <a href=\"https:\/\/github.com\/ebassi\/json-glib\/\" target=\"_blank\">json-glib<\/a>), to begin work on a new Hangouts prpl for Pidgin.<\/p>\n<p>After the pblite-madness set in (seriously, that stuff will give you nightmares), <a href=\"https:\/\/bitbucket.org\/CMaiku\/\" target=\"_blank\">Maiku<\/a> came on board to help, and now we have a plugin that&#8217;s at a &#8216;good enough&#8217; state right now that people can start using it.<\/p>\n<p>We&#8217;ve taken inspiration from the <a href=\"https:\/\/github.com\/tdryer\/hangups\/\" target=\"_blank\">Python-based Hangups library<\/a>, and used the authentication code that Nakul wrote as part of GSoC2015 to come up with some moderately-sane code that works for both Pidgin 2.x and those foolish enough to be using Pidgin 3. There&#8217;s still a lot of pieces of the puzzle missing (you&#8217;ll see what I mean when you try it), but I think it&#8217;s good enough now that I&#8217;ve ditched my XMPP account in favour of it.<\/p>\n<p>Please give it a go and tell us what you think. Just to be different, it&#8217;s over <a href=\"https:\/\/bitbucket.org\/EionRobb\/purple-hangouts\" target=\"_blank\">on BitBucket<\/a> instead of GitHub.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So Pidgin has fairly alrightish support for Hangouts through the XMPP server that Google provides. Unfortunately it&#8217;s missing a whole bunch of stuff &#8211; like group chats, self-sent messages et. al. &#8211; that make it just that little bit annoying to use. So we had a Summer of Code 2015 student start work on a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3CEsE-52","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/312"}],"collection":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/comments?post=312"}],"version-history":[{"count":1,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":313,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions\/313"}],"wp:attachment":[{"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/media?parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/categories?post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eion.robbmob.com\/blog\/wp-json\/wp\/v2\/tags?post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}