Skip to content

Instantly share code, notes, and snippets.

@olizilla
Created November 17, 2017 15:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olizilla/81566861dc05088ed1486aaff14a0dcb to your computer and use it in GitHub Desktop.
Save olizilla/81566861dc05088ed1486aaff14a0dcb to your computer and use it in GitHub Desktop.
IPFS Address flavours
<!doctype html>
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.9.0/css/tachyons.min.css"/>
<body class='sans-serif'>
<h1 class='mw6 center'>IPFS Address flavours</h1>
<dl class='lh-copy mw6 center pt4'>
<dt>HTTP-to-IPFS</dt>
<dd>
<a href='http://ipfs.io/ipfs/QmZyRCtk8MGpuWXn2d1QyTfLWKMTHrT2aHs2vDkfry5zKT'>
http://ipfs.io/ipfs/QmHash
</a>
</dd>
<dt>URL</dt>
<dd>
<a href='ipfs://QmZyRCtk8MGpuWXn2d1QyTfLWKMTHrT2aHs2vDkfry5zKT'>
ipfs://QmHash
</a>
</dd>
<dt>URI</dt>
<dd>
<a href='dweb:/ipfs/QmZyRCtk8MGpuWXn2d1QyTfLWKMTHrT2aHs2vDkfry5zKT'>
dweb:/ipfs/QmHash
</a>
</dd>
<dt title='Nestable URI aka path addressing'>NURI</dt>
<dd>
<a href='/ipfs/QmZyRCtk8MGpuWXn2d1QyTfLWKMTHrT2aHs2vDkfry5zKT'>
/ipfs/QmHash
</a>
</dd>
</dl>
<div class="pt5 mw7 center">
<blockquote class="athelas ml0 mt0 pl4 black-90 bl bw2 b--blue">
<p class="f5 f4-m f3-l lh-copy mt0">
&ldquo;whenever we talk about these, it's important to be very exact in the notation of the address. <strong>The number of slashes matters a great deal</strong>.&rdquo;
</p>
<cite class="f6 ttu tracked fs-normal">―
<a href='https://github.com/ipfs/specs/pull/152#issuecomment-284628862'>@lgirth</a>
</cite>
</blockquote>
</div>
</body>
@olizilla
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment