{"action":"created","issue":{"url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/10","repository_url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface","labels_url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/10/comments","events_url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/10/events","html_url":"https://github.com/cyrus-and/chrome-remote-interface/issues/10","id":56793914,"number":10,"title":"Fetch protocol.json from chrome?","user":{"login":"paulirish","id":39191,"avatar_url":"https://avatars.githubusercontent.com/u/39191?v=3","gravatar_id":"","url":"https://api.github.com/users/paulirish","html_url":"https://github.com/paulirish","followers_url":"https://api.github.com/users/paulirish/followers","following_url":"https://api.github.com/users/paulirish/following{/other_user}","gists_url":"https://api.github.com/users/paulirish/gists{/gist_id}","starred_url":"https://api.github.com/users/paulirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulirish/subscriptions","organizations_url":"https://api.github.com/users/paulirish/orgs","repos_url":"https://api.github.com/users/paulirish/repos","events_url":"https://api.github.com/users/paulirish/events{/privacy}","received_events_url":"https://api.github.com/users/paulirish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2015-02-06T10:14:49Z","updated_at":"2016-08-04T23:53:05Z","closed_at":null,"body":"What do you think.. if we allowed a means for you to grab the current protocol directly from Chrome?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/comments/237719965","html_url":"https://github.com/cyrus-and/chrome-remote-interface/issues/10#issuecomment-237719965","issue_url":"https://api.github.com/repos/cyrus-and/chrome-remote-interface/issues/10","id":237719965,"user":{"login":"paulirish","id":39191,"avatar_url":"https://avatars.githubusercontent.com/u/39191?v=3","gravatar_id":"","url":"https://api.github.com/users/paulirish","html_url":"https://github.com/paulirish","followers_url":"https://api.github.com/users/paulirish/followers","following_url":"https://api.github.com/users/paulirish/following{/other_user}","gists_url":"https://api.github.com/users/paulirish/gists{/gist_id}","starred_url":"https://api.github.com/users/paulirish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulirish/subscriptions","organizations_url":"https://api.github.com/users/paulirish/orgs","repos_url":"https://api.github.com/users/paulirish/repos","events_url":"https://api.github.com/users/paulirish/events{/privacy}","received_events_url":"https://api.github.com/users/paulirish/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T23:53:05Z","updated_at":"2016-08-04T23:53:05Z","body":"@cyrus-and yup this is the state of things. Just spoke with @pavelfeldman and while we aim to inevitably expose the actual protocol to you, we're not there yet.\r\n\r\nFor now we'll need do to this sort of solution.\r\n\r\nThis file from @willchen90 has similar implementation: https://github.com/ChromeDevTools/devtools-frontend/blob/5c6f9d1a1a45af50c0179e61c73df85fa84feeb0/scripts/hosted_mode/server.js (it's since changed, slightly). It handles getting the right two files, but doesn't merge them. That part is easier. :)\r\n\r\n-----------------\r\n\r\nalso fwiw the protocol split happened at chromium git hash b34642153f00033ae8cdeea5bdb351f569c7ad7a which is at the revision 397883. (If you want to support both ways in the meantime)\r\n\r\n"}}
{"actor":{"display_login":"paulirish"}}