public-gateway-cacher/index.html

76 lines
2.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
2019-04-04 22:19:19 +00:00
<head>
<meta charset="UTF-8">
2019-04-28 02:54:04 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
2017-09-27 19:52:43 +00:00
<title>Public IPFS Gateways</title>
2019-04-04 23:12:27 +00:00
<link rel="shortcut icon" type="image/png" href="images/favicon.png" />
2019-04-04 22:19:19 +00:00
2019-04-28 02:54:04 +00:00
<!-- Bootstrap 4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<!-- CSS -->
2019-04-04 23:12:27 +00:00
<link rel="stylesheet" href="css/styles.css">
2019-04-04 22:19:19 +00:00
2019-04-28 02:54:04 +00:00
<!-- JavaScript -->
2019-04-04 23:12:27 +00:00
<script async src="javascript/app.js"></script>
</head>
2019-04-04 22:19:19 +00:00
<body>
2019-04-28 02:54:04 +00:00
<!-- Title -->
<header class="container">
<h1>Public IPFS Gateways</h1>
</header>
<main class="container">
<!-- IPFS Hash -->
<div class="form-group input-group">
<div class="input-group-prepend">
<label class="input-group-text" for="input_ipfs">IPFS Hash</label>
</div>
<input type="text" class="form-control" id="input_ipfs">
<div class="input-group-append">
2019-04-28 03:24:59 +00:00
<button class="btn btn-secondary" type="button" onclick="start_ipfs();">Cache</button>
2019-04-28 02:54:04 +00:00
</div>
</div>
<!-- IPNS Hash -->
<div class="form-group input-group">
<div class="input-group-prepend">
<label class="input-group-text" for="input_ipns">IPNS Hash</label>
</div>
<input type="text" class="form-control" id="input_ipns">
<div class="input-group-append">
2019-04-28 03:24:59 +00:00
<button class="btn btn-secondary" onclick="start_ipns();">Cache</button>
2019-04-28 02:54:04 +00:00
</div>
</div>
<!-- Results -->
<h3 id="stats"></h3>
<div id="results"></div>
</main>
<!-- About -->
<footer class="container">
<h3>About</h3>
<p>
This is a fork of <a href="https://github.com/ipfs/public-gateway-checker">github.com/ipfs/public-gateway-checker</a> that allows you to cache a specific IPFS and IPNS hash to a bunch of public gateways. The code source is available at <a href="https://gitlab.com/NatoBoram/public-gateway-checker">gitlab.com/NatoBoram/public-gateway-checker</a>.
</p>
<p>
If you'd like to add a new public gateway, please go to <a href="https://github.com/ipfs/public-gateway-checker">github.com/ipfs/public-gateway-checker</a>, submit a pull request then open an issue <a href="https://gitlab.com/NatoBoram/public-gateway-checker/issues/new">here</a>.
</p>
</footer>
</body>
2019-04-04 22:19:19 +00:00
</html>