{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/js-ipfs/issues/59","repository_url":"https://api.github.com/repos/ipfs/js-ipfs","labels_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/59/comments","events_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/59/events","html_url":"https://github.com/ipfs/js-ipfs/issues/59","id":128876791,"number":59,"title":"pin","user":{"login":"diasdavid","id":1211152,"avatar_url":"https://avatars.githubusercontent.com/u/1211152?v=3","gravatar_id":"","url":"https://api.github.com/users/diasdavid","html_url":"https://github.com/diasdavid","followers_url":"https://api.github.com/users/diasdavid/followers","following_url":"https://api.github.com/users/diasdavid/following{/other_user}","gists_url":"https://api.github.com/users/diasdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/diasdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasdavid/subscriptions","organizations_url":"https://api.github.com/users/diasdavid/orgs","repos_url":"https://api.github.com/users/diasdavid/repos","events_url":"https://api.github.com/users/diasdavid/events{/privacy}","received_events_url":"https://api.github.com/users/diasdavid/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/difficulty:moderate","name":"difficulty:moderate","color":"bfe5bf"},{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/feature","name":"feature","color":"5319e7"},{"url":"https://api.github.com/repos/ipfs/js-ipfs/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-26T16:52:33Z","updated_at":"2016-03-31T03:54:10Z","closed_at":null,"body":"The pin command let's you control what hashes (blocks) are not garbage collected, meaning that they are not removed unless you specifically tell the IPFS node to do so.\r\n\r\n#### To learn more about the pinning, you can\r\n\r\n- check go implementation https://github.com/ipfs/go-ipfs/tree/master/pin\r\n\r\n#### Implementation Roadmap\r\n\r\n- [x] complemente core object implementation https://github.com/ipfs/js-ipfs/issues/58\r\n- [ ] jsipfs pin add <ipfs-path>...  - Pins objects to local storage.\r\n- [ ] jsipfs pin rm <ipfs-path>...   - Removes the pinned object from local storage. (By default, recursively. Use -r=false for direct pins).\r\n- [ ] jsipfs pin ls [<ipfs-path>]... - List objects pinned to local storage."},"comment":{"url":"https://api.github.com/repos/ipfs/js-ipfs/issues/comments/203740707","html_url":"https://github.com/ipfs/js-ipfs/issues/59#issuecomment-203740707","issue_url":"https://api.github.com/repos/ipfs/js-ipfs/issues/59","id":203740707,"user":{"login":"AdamStone","id":6251611,"avatar_url":"https://avatars.githubusercontent.com/u/6251611?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamStone","html_url":"https://github.com/AdamStone","followers_url":"https://api.github.com/users/AdamStone/followers","following_url":"https://api.github.com/users/AdamStone/following{/other_user}","gists_url":"https://api.github.com/users/AdamStone/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamStone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamStone/subscriptions","organizations_url":"https://api.github.com/users/AdamStone/orgs","repos_url":"https://api.github.com/users/AdamStone/repos","events_url":"https://api.github.com/users/AdamStone/events{/privacy}","received_events_url":"https://api.github.com/users/AdamStone/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T03:54:10Z","updated_at":"2016-03-31T03:54:10Z","body":"Hi, really interested in the possibilities of fully browser-based IPFS apps so I wanted to try to contribute. I started a pin implementation [here](https://github.com/AdamStone/js-ipfs/tree/feature/pin). Let me know if you see any obvious problems with what I have so far, I'm basically trying to figure out the infrastructure as I go. Thanks!"}}