{"action":"created","issue":{"url":"https://api.github.com/repos/cleverdevil/together/issues/11","repository_url":"https://api.github.com/repos/cleverdevil/together","labels_url":"https://api.github.com/repos/cleverdevil/together/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/cleverdevil/together/issues/11/comments","events_url":"https://api.github.com/repos/cleverdevil/together/issues/11/events","html_url":"https://github.com/cleverdevil/together/issues/11","id":271925198,"number":11,"title":"Random Backend Thoughts","user":{"login":"grantcodes","id":3390268,"avatar_url":"https://avatars3.githubusercontent.com/u/3390268?v=4","gravatar_id":"","url":"https://api.github.com/users/grantcodes","html_url":"https://github.com/grantcodes","followers_url":"https://api.github.com/users/grantcodes/followers","following_url":"https://api.github.com/users/grantcodes/following{/other_user}","gists_url":"https://api.github.com/users/grantcodes/gists{/gist_id}","starred_url":"https://api.github.com/users/grantcodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grantcodes/subscriptions","organizations_url":"https://api.github.com/users/grantcodes/orgs","repos_url":"https://api.github.com/users/grantcodes/repos","events_url":"https://api.github.com/users/grantcodes/events{/privacy}","received_events_url":"https://api.github.com/users/grantcodes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-07T17:52:24Z","updated_at":"2017-11-22T21:23:17Z","closed_at":null,"author_association":"COLLABORATOR","body":"Ok so just wanted to write down some random thoughts on a backend system while I remember them.\r\n\r\nI think we will almost certainly need a (hopefully fairly lightweight) backend system that can talk to microsub endpoints. Functionality I can see being very useful is:\r\n\r\n1. **Resizing photos** - At the moment all photos are retrieved from their original url in full resolution, obviously not ideal\r\n2. **Normalising data** - It will be a pain to have to deal with a lot of the variables in JF2 data, such as the `author` property seems like it can either be an object, a url string or completely empty and inferred from the source site hcard. Would be great if it was always an object so the frontend is more consistent. This might be something the microsub spec handles but I don't know. And the same goes for a bunch of other properties.\r\n3. **Micropub client** - The backend should provide micropub client functionality to post likes, replies etc. I have my `micropub-helper` node package I can easily use if we have a node backend.\r\n4. **Streaming data** - Would be great to have some sort of real time updates if possible without needing to refresh. \r\n5. **Url to MF2 parsing** - For attributes like `in-repy-to` or `children` that may just be a url it would be great to be able to expand those into full MF2 objects and pull them into together if we want them."},"comment":{"url":"https://api.github.com/repos/cleverdevil/together/issues/comments/346476987","html_url":"https://github.com/cleverdevil/together/issues/11#issuecomment-346476987","issue_url":"https://api.github.com/repos/cleverdevil/together/issues/11","id":346476987,"user":{"login":"martymcguire","id":14772,"avatar_url":"https://avatars1.githubusercontent.com/u/14772?v=4","gravatar_id":"","url":"https://api.github.com/users/martymcguire","html_url":"https://github.com/martymcguire","followers_url":"https://api.github.com/users/martymcguire/followers","following_url":"https://api.github.com/users/martymcguire/following{/other_user}","gists_url":"https://api.github.com/users/martymcguire/gists{/gist_id}","starred_url":"https://api.github.com/users/martymcguire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martymcguire/subscriptions","organizations_url":"https://api.github.com/users/martymcguire/orgs","repos_url":"https://api.github.com/users/martymcguire/repos","events_url":"https://api.github.com/users/martymcguire/events{/privacy}","received_events_url":"https://api.github.com/users/martymcguire/received_events","type":"User","site_admin":false},"created_at":"2017-11-22T21:23:17Z","updated_at":"2017-11-22T21:23:17Z","author_association":"NONE","body":"Regarding resizing photos, a model like [imageproxy](https://github.com/willnorris/imageproxy) might be nice. Transformations like sizing, cropping, and rotating are specified in the URL, which is signed with a shared secret to avoid abuse."}}
{"actor":{"display_login":"martymcguire"}}