-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
executable file
·57 lines (57 loc) · 4.03 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Peer to Peer Web Site hosting at your fingertips! Send full featured HTML (incl. CSS, JS) sites from your browser and attach files eg. videos, images, etc.">
<meta name="keywords" content="webtorrent, peerweb, webrtc, site-webtorrents, javascript, decentralized, peer-to-peer, p2p, dweb, dapp, realtime, ipfs, ipfs-web, js-ipfs, distributed, immutable">
<meta name="author" content="Weedshaker">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<!-- https://www.muicss.com/docs/v1/css-js/buttons -->
<link rel="stylesheet" type="text/css" href="css/mui.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<!--
TODO: Use Version 2.+ but there are still bugs, like no function .getBlob() on file object
<script type="module">
import WebTorrent from 'https://cdn.jsdelivr.net/npm/webtorrent@*/dist/webtorrent.min.js'
self.WebTorrent = WebTorrent
</script>
-->
<script src="https://cdn.jsdelivr.net/npm/webtorrent@latest/webtorrent.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/ipfs@*/dist/index.min.js"></script>
<link rel="apple-touch-icon" sizes="57x57" href="img/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="img/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="img/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
<link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="img/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="prefetch" href="./jspm_packages/github/twbs/bootstrap@3.3.7/fonts/glyphicons-halflings-regular.eot" as="font" type="font/eot" crossorigin="anonymous">
<link rel="prefetch" href="./jspm_packages/github/twbs/bootstrap@3.3.7/fonts/glyphicons-halflings-regular.svg" as="font" type="font/svg" crossorigin="anonymous">
<link rel="prefetch" href="./jspm_packages/github/twbs/bootstrap@3.3.7/fonts/glyphicons-halflings-regular.ttf" as="font" type="font/ttf" crossorigin="anonymous">
<link rel="prefetch" href="./jspm_packages/github/twbs/bootstrap@3.3.7/fonts/glyphicons-halflings-regular.woff" as="font" type="font/woff" crossorigin="anonymous">
<link rel="prefetch" href="./jspm_packages/github/twbs/bootstrap@3.3.7/fonts/glyphicons-halflings-regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<script>
window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date;
ga('create', 'UA-167842329-1', 'auto');
ga('send', 'pageview');
</script>
<title>Peer Web Site</title>
</head>
<body id='body'>
<span>peerwebsite moved to: https://weedshaker.github.io/PeerWebSite/</span>
<!-- jspm bundle-sfx ./config.js + ./JavaScript/js/init.js ./JavaScript/webRTC.js -->
<script type="text/javascript">var System = {config: function(conf){this.map = conf.map;}};</script>
<script type="text/javascript" src="JavaScript/webRTC.js"></script>
</body>
</html>