{"action":"created","issue":{"url":"https://api.github.com/repos/Jeffail/leaps/issues/21","repository_url":"https://api.github.com/repos/Jeffail/leaps","labels_url":"https://api.github.com/repos/Jeffail/leaps/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Jeffail/leaps/issues/21/comments","events_url":"https://api.github.com/repos/Jeffail/leaps/issues/21/events","html_url":"https://github.com/Jeffail/leaps/issues/21","id":148952717,"number":21,"title":"Using AWS S3 as storage","user":{"login":"amlwwalker","id":2920180,"avatar_url":"https://avatars.githubusercontent.com/u/2920180?v=3","gravatar_id":"","url":"https://api.github.com/users/amlwwalker","html_url":"https://github.com/amlwwalker","followers_url":"https://api.github.com/users/amlwwalker/followers","following_url":"https://api.github.com/users/amlwwalker/following{/other_user}","gists_url":"https://api.github.com/users/amlwwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/amlwwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amlwwalker/subscriptions","organizations_url":"https://api.github.com/users/amlwwalker/orgs","repos_url":"https://api.github.com/users/amlwwalker/repos","events_url":"https://api.github.com/users/amlwwalker/events{/privacy}","received_events_url":"https://api.github.com/users/amlwwalker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-17T13:46:58Z","updated_at":"2016-04-20T15:00:33Z","closed_at":null,"body":"Hi,\r\nI have been looking for a solution like leaps for Ages! It looks great!\r\nI want to use S3 as my storage for my Markdown documents and have leaps running on a server so that anyone who is authd can access and edit the documents stored in AWS - S3. \r\n\r\nI haven't been playing with Leaps very long, just studying the examples but I wondered if you could advise me on the way I could go about this:\r\n\r\n1. S3 is very simple key/value pair storage.\r\n2. S3 is quite slow to search/PUT/GET\r\n3. S3 is very very cheap.\r\n4. S3 has an easy to use API in Go. I have the code to interact with S3, get files, list all files, push files etc.\r\n\r\nWith regard to leaps and adding a \"new\" type of file storage I am thinking something on the lines of:\r\n\r\n1. In a similar way to how the leaps_share directory example works, list all the files in S3.\r\n2. The first user to select a file, Leaps grabs the file from S3 and stores it in memory/locally\r\n3. All other users who come to collaborate edit the local one. \r\n4. When the last user closes the file in leaps, Leaps pushes it back to S3.\r\n\r\nMy question is, a) would you do it like this, and b) is this something that should be a part of leaps or should it be built as a sort of plugin to leaps? Whats your recommendation about going about this?\r\n\r\n\r\nThank you very much for building this. I am going to try and become familiar with the code base and help work on it, or atleast build some examples. Its great and I want it to replace damned Google Docs!"},"comment":{"url":"https://api.github.com/repos/Jeffail/leaps/issues/comments/212464050","html_url":"https://github.com/Jeffail/leaps/issues/21#issuecomment-212464050","issue_url":"https://api.github.com/repos/Jeffail/leaps/issues/21","id":212464050,"user":{"login":"amlwwalker","id":2920180,"avatar_url":"https://avatars.githubusercontent.com/u/2920180?v=3","gravatar_id":"","url":"https://api.github.com/users/amlwwalker","html_url":"https://github.com/amlwwalker","followers_url":"https://api.github.com/users/amlwwalker/followers","following_url":"https://api.github.com/users/amlwwalker/following{/other_user}","gists_url":"https://api.github.com/users/amlwwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/amlwwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amlwwalker/subscriptions","organizations_url":"https://api.github.com/users/amlwwalker/orgs","repos_url":"https://api.github.com/users/amlwwalker/repos","events_url":"https://api.github.com/users/amlwwalker/events{/privacy}","received_events_url":"https://api.github.com/users/amlwwalker/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T15:00:33Z","updated_at":"2016-04-20T15:00:33Z","body":"Great, I'll let you know when I will look into this. This could make it very exciting for me, and hopefully others!"}}