{"action":"created","issue":{"url":"https://api.github.com/repos/ssbc/patchwork/issues/19","labels_url":"https://api.github.com/repos/ssbc/patchwork/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/ssbc/patchwork/issues/19/comments","events_url":"https://api.github.com/repos/ssbc/patchwork/issues/19/events","html_url":"https://github.com/ssbc/patchwork/issues/19","id":105278543,"number":19,"title":"minimum viable app proposal","user":{"login":"dominictarr","id":259374,"avatar_url":"https://avatars.githubusercontent.com/u/259374?v=3","gravatar_id":"","url":"https://api.github.com/users/dominictarr","html_url":"https://github.com/dominictarr","followers_url":"https://api.github.com/users/dominictarr/followers","following_url":"https://api.github.com/users/dominictarr/following{/other_user}","gists_url":"https://api.github.com/users/dominictarr/gists{/gist_id}","starred_url":"https://api.github.com/users/dominictarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominictarr/subscriptions","organizations_url":"https://api.github.com/users/dominictarr/orgs","repos_url":"https://api.github.com/users/dominictarr/repos","events_url":"https://api.github.com/users/dominictarr/events{/privacy}","received_events_url":"https://api.github.com/users/dominictarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-08T00:12:02Z","updated_at":"2015-09-08T02:47:24Z","closed_at":null,"body":"The goal here is not to create the perfect solution to apps, but just to get an app model that can bootstrap better models.\r\n\r\n* Each app is a single static javascript file (browserifyied by the developer, probably)\r\n* Each app runs as a \"tab\" in a webview, with a name.\r\n* Each user has a local appDb, mapping `appname->hash`.\r\n* Apps have permissions to access different apis. access to fs, net, internal apis, are all configurable in permsDb\r\n* Permission to access appDb and permsDb are in permsDb so you can have app and permission managing apps. With this, we can bootstrap better app managing mechanisms.\r\n\r\nWe don't need to figure out a sophisticated app model, with updates, etc, that is just part of the app manager app."},"comment":{"url":"https://api.github.com/repos/ssbc/patchwork/issues/comments/138415816","html_url":"https://github.com/ssbc/patchwork/issues/19#issuecomment-138415816","issue_url":"https://api.github.com/repos/ssbc/patchwork/issues/19","id":138415816,"user":{"login":"pfraze","id":1270099,"avatar_url":"https://avatars.githubusercontent.com/u/1270099?v=3","gravatar_id":"","url":"https://api.github.com/users/pfraze","html_url":"https://github.com/pfraze","followers_url":"https://api.github.com/users/pfraze/followers","following_url":"https://api.github.com/users/pfraze/following{/other_user}","gists_url":"https://api.github.com/users/pfraze/gists{/gist_id}","starred_url":"https://api.github.com/users/pfraze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfraze/subscriptions","organizations_url":"https://api.github.com/users/pfraze/orgs","repos_url":"https://api.github.com/users/pfraze/repos","events_url":"https://api.github.com/users/pfraze/events{/privacy}","received_events_url":"https://api.github.com/users/pfraze/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T02:47:24Z","updated_at":"2015-09-08T02:47:24Z","body":"Hm. No better way to find out if we *do* need a structure builtin than not to have it.\r\n\r\nOk, I'm on board. Let's go with the single JS file.\r\n\r\nOne of the first ones we'll need to write will inject another JS from the FS, so we can do dev."}}