void.cat/index.html
2019-05-15 16:39:41 +08:00

166 lines
4.9 KiB
HTML

<!doctype html>
<html>
<head>
<title>void.cat</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="dist/bundle.css" />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3289062345896209",
enable_page_level_ads: true
});
</script>
<template id="tmpl-upload">
<div class="upload">
<div class="file-info">
<div class="file-info-name">...</div>
<div class="file-info-speed">0 B/s</div>
<div class="file-info-size">0 B</div>
</div>
<div class="status">
<div class="status-state">Starting...</div>
<div class="status-key">Key: 000000000000000000000000000000:00000000000000000000000000</div>
</div>
<div class="upload-progress">
<span>0%</span>
<div></div>
</div>
<div class="links" style="display: none"></div>
<div class="errors" style="display: none"></div>
</div>
</template>
<template id="tmpl-view-image">
</template>
<template id="tmpl-view-video">
</template>
<template id="tmpl-view-audio">
</template>
<template id="tmpl-view-default">
<div class="view-default">
<div>
<b>Id:</b> <span class="view-file-id"></span>
</div>
<div>
<b>Key:</b> <span class="view-key"></span>
</div>
<div>
<b>IV:</b> <span class="view-iv"></span>
</div>
<div class="btn-download">
Download
</div>
<div class="view-transfer-stats">
<div class="view-download-progress">
<div>0%</div>
<div></div>
</div>
<div class="view-download-label-speed">
0 B/s
</div>
</div>
</div>
</template>
</head>
<body>
<div class="page">
<div class="header" onclick="window.location.href = '/'">
void.cat
</div>
<div id="page-notice">
<b>Please take note that:</b><br>
<ul>
</ul>
</div>
<div id="page-upload">
<div class="page-left" style="width: 100%">
<div id="dropzone">Click me!</div>
<div id="stats"></div>
</div>
<div id="uploads" class="page-right" style="display: none"></div>
</div>
<div id="page-view">
<div class="file-info">
<div>
<b>Size:</b> <span class="file-info-size"></span>
</div>
<div>
<b>Views:</b> <span class="file-info-views"></span>
</div>
<div>
<b>Last Download:</b> <span class="file-info-last-download"></span>
</div>
<div>
<b>Uploaded:</b> <span class="file-info-uploaded"></span>
</div>
</div>
</div>
<div id="page-stats">
<h3>7 days tx graph</h3>
<canvas id="weektxgraph" width="1024" height="200"></canvas>
</div>
<div id="page-faq">
<div class="faq-section">
<div class="faq-header">
Are there any restrictions on what can be uploaded
</div>
<div class="faq-content">
No.
</div>
</div>
<div class="faq-section">
<div class="faq-header">
How can I embed content in my site
</div>
<div class="faq-content">
I have created a service worker which you can host on your site which will decrypt the links automatically, find
more info <a href="https://github.com/v0l/void.cat/blob/v3-b2b/examples/embed" target="_blank">here on github.</a>
</div>
</div>
<div class="faq-section">
<div class="faq-header">
I have more questions
</div>
<div class="faq-content">
Feel free to join <a href="https://discord.gg/8BkxTGs" target="_blank">Discord</a> and ask there.
</div>
</div>
</div>
<div id="page-donate">
<form method="POST" action="https://btc-pay.noinput.xyz/api/v1/invoices">
<input type="hidden" name="storeId" value="EveZSjtijFkn3UXKjq69AxhHxksjHcsHA23WHFFQWbzH" />
<label for="price">USD: </label><input type="number" name="price" value="10" style="width: 50px"/><br>
<input type="hidden" name="currency" value="USD" />
<input type="image" src="https://btc-pay.noinput.xyz/img/paybutton/pay.png" name="submit" style="width:209px" alt="Pay with BtcPay, Self-Hosted Bitcoin Payment Processor">
</form>
</div>
<div id="footer-stats">
<div><b>Files:</b><span>0</span></div>
<div><b>Total Size:</b><span>0 B</span></div>
<div><b>24Hr Transfer:</b><span>0 B</span></div>
</div>
<div id="footer">
<a href="javascript:(function() { App.ShowStats(); })()">Stats</a> |
<a href="javascript:(function() { App.ShowFAQ(); })()">FAQ</a> |
<a href="javascript:(function() { App.ShowDonate(); })()">Donate</a> |
<a href="http://rv6omygg3ksi3dys.onion/" target="_blank">Tor</a>
<br>
</div>
<ins class="adsbygoogle" style="display:block; margin-left: auto; margin-right: auto;" data-ad-client="ca-pub-3289062345896209"
data-ad-slot="9187315106" data-ad-format="auto" data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<script type="text/javascript" src="dist/bundle.js"></script>
</body>
</html>