etc.ari-web.xyz/page/peerjs-example/index.html
Ari Archer 05ae9535e6
Add peerjs example, make all pages dark
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-10-10 20:52:57 +03:00

68 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ari::web -&gt; PeerJSExample</title>
<meta name="description" content="Simple PeerJS example" />
<meta
name="keywords"
content="ari, ari-web, website, dark, peerjs, javascript, open source, opensource, gpl, peer.js, p2p, chat"
/>
<meta
name="robots"
content="follow, index, max-snippet:-1, max-video-preview:-1, max-image-preview:large"
/>
<meta property="og:type" content="website" />
<meta name="color-scheme" content="dark" />
<meta name="theme-color" content="black" />
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet" href="/content/styles/clean/index.css" />
<script type="text/javascript">
<!--//--><![CDATA[//><!--
/**
* @licstart The following is the entire license notice for the JavaScript
* code in this page.
*
* Copyright (C) 2022 Ari Archer
*
* The JavaScript code in this page is free software: you can redistribute
* it and/or modify it under the terms of the GNU General Public License
* (GNU GPL) as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version. The code is
* distributed WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU GPL
* for more details.
*
* As additional permission under GNU GPL version 3 section 7, you may
* distribute non-source (e.g., minimized or compacted) forms of that code
* without the copy of the GNU GPL normally required by section 4, provided
* you include this license notice and a URL through which recipients can
* access the Corresponding Source.
*
* @licend The above is the entire license notice for the JavaScript code
* in this page.
*/
//--><!]]>
</script>
<script src="https://unpkg.com/peerjs@1.4.7/dist/peerjs.min.js"></script>
<script src="/content/js/peerjs-example/index.js" defer></script>
</head>
<body>
<h1>
Simple <a href="https://peerjs.com/">PeerJS </a> example,
<a href="/git">source code</a>
</h1>
<h2 id="your-id">Your ID: Loading...</h2>
<button id="send">Send stuff to an ID</button>
</body>
</html>