{"action":"created","issue":{"url":"https://api.github.com/repos/evbogue/mvd/issues/5","repository_url":"https://api.github.com/repos/evbogue/mvd","labels_url":"https://api.github.com/repos/evbogue/mvd/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/evbogue/mvd/issues/5/comments","events_url":"https://api.github.com/repos/evbogue/mvd/issues/5/events","html_url":"https://github.com/evbogue/mvd/issues/5","id":351670531,"node_id":"MDU6SXNzdWUzNTE2NzA1MzE=","number":5,"title":"Investigate libdweb for mvdclient discovery","user":{"login":"jedahan","id":32407,"node_id":"MDQ6VXNlcjMyNDA3","avatar_url":"https://avatars1.githubusercontent.com/u/32407?v=4","gravatar_id":"","url":"https://api.github.com/users/jedahan","html_url":"https://github.com/jedahan","followers_url":"https://api.github.com/users/jedahan/followers","following_url":"https://api.github.com/users/jedahan/following{/other_user}","gists_url":"https://api.github.com/users/jedahan/gists{/gist_id}","starred_url":"https://api.github.com/users/jedahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedahan/subscriptions","organizations_url":"https://api.github.com/users/jedahan/orgs","repos_url":"https://api.github.com/users/jedahan/repos","events_url":"https://api.github.com/users/jedahan/events{/privacy}","received_events_url":"https://api.github.com/users/jedahan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T17:07:37Z","updated_at":"2018-08-18T18:12:28Z","closed_at":null,"author_association":"NONE","body":"So I just tried out the libdweb discovery demo with `npm install`, `npm run demo:discovery`.\r\n\r\nIt is really slick - we can have `bin server` advertise on mDNS, and mvdClient could potentially find it via \r\n\r\n```js\r\nconst muxrpcServices = await browser.ServiceDiscovery.discover({\r\n  subtype: \"ssb\",\r\n  type: \"http\",\r\n  protocol: \"tcp\"\r\n})\r\n```\r\n\r\nor\r\n\r\n```js\r\nconst ssbServices = await browser.ServiceDiscovery.discover({\r\n  subtype: \"ssb\",\r\n  type: \"ws\",\r\n  protocol: \"udp\"\r\n})\r\n```\r\n\r\nor something else\r\n\r\nThis would allow for the client to run separately from the server (without having to share port context) in `node bin server`. Which means mvd would be easier to run independent of sbot, possibly improving adoption.\r\n\r\nGot any thoughts?"},"comment":{"url":"https://api.github.com/repos/evbogue/mvd/issues/comments/414076583","html_url":"https://github.com/evbogue/mvd/issues/5#issuecomment-414076583","issue_url":"https://api.github.com/repos/evbogue/mvd/issues/5","id":414076583,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA3NjU4Mw==","user":{"login":"evbogue","id":2468866,"node_id":"MDQ6VXNlcjI0Njg4NjY=","avatar_url":"https://avatars1.githubusercontent.com/u/2468866?v=4","gravatar_id":"","url":"https://api.github.com/users/evbogue","html_url":"https://github.com/evbogue","followers_url":"https://api.github.com/users/evbogue/followers","following_url":"https://api.github.com/users/evbogue/following{/other_user}","gists_url":"https://api.github.com/users/evbogue/gists{/gist_id}","starred_url":"https://api.github.com/users/evbogue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evbogue/subscriptions","organizations_url":"https://api.github.com/users/evbogue/orgs","repos_url":"https://api.github.com/users/evbogue/repos","events_url":"https://api.github.com/users/evbogue/events{/privacy}","received_events_url":"https://api.github.com/users/evbogue/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T18:12:28Z","updated_at":"2018-08-18T18:12:28Z","author_association":"OWNER","body":"Cool. Let me do some research on libdweb and get back to you after this work weekend. \r\n\r\nIf you want to play around with it, feel free to use any of the mvd code however you want! \r\n\r\nI've been thinking more about how to create a simple-as-possible sbot in the browser, as that's one of my goals before I leave the ssbc. "}}
{"actor":{"display_login":"evbogue"}}