blob: 4a04174953979a8fd25dd0c100dfd7cfa9fd10ea (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/_assets/style/master.css" />
<title>keks-meet</title>
</head>
<body>
<div class="start-box">
<h2>keks-meet</h2>
<p>A web conferencing application using webrtc</p>
<p>
keks-meet is free software! It is licenced under the terms of
the third version of the GNU Affero General Public Licence only.
</p>
<p>
To get started, just enter a unique idenfier, click 'Join', then
share the URL with your partner.
</p>
<noscript>
keks-meet needs evil javascript to be enabled. Don't be afraid
though, all the code is free (AGPL-3.0-only)! Look at it on
<a href="https://codeberg.org/metamuffin/keks-meet">codeberg</a>
</noscript>
<script>
const room_input = document.createElement("input");
room_input.type = "text";
room_input.id = "room-id-input";
room_input.placeholder = "Room ID (leave blank for random id)";
const submit = document.createElement("input");
submit.type = "button";
submit.addEventListener("click", () => {
if (room_input.value.length == 0)
room_input.value = Math.floor(Math.random() * 0x100000)
.toString(16)
.padStart(5, "0");
window.location.pathname = `/${encodeURIComponent(
room_input.value
)}`;
});
submit.value = "Join room!";
document
.querySelector("div.start-box")
?.append(room_input, document.createElement("br"), submit);
</script>
</div>
</body>
</html>
|