{"action":"opened","issue":{"url":"https://api.github.com/repos/OriginProtocol/demo-dapp/issues/161","repository_url":"https://api.github.com/repos/OriginProtocol/demo-dapp","labels_url":"https://api.github.com/repos/OriginProtocol/demo-dapp/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/OriginProtocol/demo-dapp/issues/161/comments","events_url":"https://api.github.com/repos/OriginProtocol/demo-dapp/issues/161/events","html_url":"https://github.com/OriginProtocol/demo-dapp/issues/161","id":322056685,"number":161,"title":"Serve https://demo.originprotocol.com directly from IPFS","user":{"login":"nick","id":939,"avatar_url":"https://avatars0.githubusercontent.com/u/939?v=4","gravatar_id":"","url":"https://api.github.com/users/nick","html_url":"https://github.com/nick","followers_url":"https://api.github.com/users/nick/followers","following_url":"https://api.github.com/users/nick/following{/other_user}","gists_url":"https://api.github.com/users/nick/gists{/gist_id}","starred_url":"https://api.github.com/users/nick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick/subscriptions","organizations_url":"https://api.github.com/users/nick/orgs","repos_url":"https://api.github.com/users/nick/repos","events_url":"https://api.github.com/users/nick/events{/privacy}","received_events_url":"https://api.github.com/users/nick/received_events","type":"User","site_admin":false},"labels":[{"id":800004535,"url":"https://api.github.com/repos/OriginProtocol/demo-dapp/labels/devops","name":"devops","color":"e99695","default":false},{"id":901920950,"url":"https://api.github.com/repos/OriginProtocol/demo-dapp/labels/discussion","name":"discussion","color":"740de2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T19:38:08Z","updated_at":"2018-05-10T19:38:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Since the demo-dapp is just a collection of static files, there's no reason we can't serve it directly from IPFS. To accomplish this we'd just need to point the 'A' record of demo.originprotocol.com to the same IP as gateway.originprotocol.com and set a TXT record pointing to the IPFS hash of the latest approved deployment. IPFS will handle the rest automatically.\r\n\r\n'Deploying' a new version of the demo-dapp would then be a simple case of updating the TXT record when we're happy a particular version is ready for release.\r\n\r\nRelated: we can have cloudflare, cloudfront or whatever other CDN sit in front of out IPFS server to reduce load on IPFS itself."}}
{"actor":{"display_login":"nick"}}