{"id":810,"date":"2017-02-28T00:27:36","date_gmt":"2017-02-28T00:27:36","guid":{"rendered":"http:\/\/www.talkcrypto.org\/blog\/?p=810"},"modified":"2017-02-28T00:42:11","modified_gmt":"2017-02-28T00:42:11","slug":"where-does-ipfs-store-its-files","status":"publish","type":"post","link":"https:\/\/www.talkcrypto.org\/blog\/2017\/02\/28\/where-does-ipfs-store-its-files\/","title":{"rendered":"Where does IPFS store it&#8217;s files?"},"content":{"rendered":"<p>If you were wondering where IPFS, the Inter Planetary File System, aka global distributed and decentralised database stores its files, read on.<\/p>\n<p>The best place to start is to follow the &#8216;Getting Started&#8217; page at:\u00a0<a href=\"https:\/\/ipfs.io\/docs\/getting-started\" target=\"_blank\">https:\/\/ipfs.io\/docs\/getting-started<\/a>. You&#8217;ll have to install it first which is very quick.<\/p>\n<p>After you run ipfs init you will get a link to a readme file which looks like this:<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-811 \" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.23.06-PM-1024x852.png\" width=\"543\" height=\"452\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.23.06-PM-1024x852.png 1024w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.23.06-PM-300x250.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.23.06-PM-768x639.png 768w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.23.06-PM.png 1432w\" sizes=\"(max-width: 543px) 100vw, 543px\" \/><\/p>\n<p>The question I had was where was this file being served from?<\/p>\n<p>I finally found out that it was in my local drive at $HOME\/.ipfs\/blocks\/R3\/CIQBED3K6YA5I3QQWLJOCHWXDRK5EXZQILBCKAPEDUJENZ5B5HJ5R3A.data<\/p>\n<p>To figure this out, all you have to do is run a grep like below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-812 size-large\" src=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.25.54-PM-1024x63.png\" width=\"940\" height=\"58\" srcset=\"https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.25.54-PM-1024x63.png 1024w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.25.54-PM-300x19.png 300w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.25.54-PM-768x48.png 768w, https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/02\/Screen-Shot-2017-02-28-at-1.25.54-PM.png 1484w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<pre>&gt;&gt;\u00a0grep -rn \"interfacing\" *<\/pre>\n<p>It seems obvious but as a complete newbie, even the simplest things can throw you off.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you were wondering where IPFS, the Inter Planetary File<\/p>\n","protected":false},"author":1,"featured_media":814,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-810","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain"],"featured_image_urls":{"full":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"thumbnail":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs-150x120.jpg",150,120,true],"medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs-300x120.jpg",300,120,true],"medium_large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"1536x1536":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"2048x2048":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"chromenews-featured":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"chromenews-large":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false],"chromenews-medium":["https:\/\/www.talkcrypto.org\/blog\/wp-content\/uploads\/2017\/03\/ipfs.jpg",300,120,false]},"author_info":{"info":["seandotau"]},"category_info":"<a href=\"https:\/\/www.talkcrypto.org\/blog\/category\/blockchain\/\" rel=\"category tag\">Blockchain<\/a>","tag_info":"Blockchain","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/comments?post=810"}],"version-history":[{"count":1,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/810\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/posts\/810\/revisions\/813"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media\/814"}],"wp:attachment":[{"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/media?parent=810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/categories?post=810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.talkcrypto.org\/blog\/wp-json\/wp\/v2\/tags?post=810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}