File size: 2,284 Bytes
b3d2e4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{{define "index"}}
{{ template "header" . }}
	<section class="intro">
		<div class="splash">
			<img src="/static/images/chat.png" alt="" />
		</div>

		<div class="create">
			<h1>Instant disposable chat rooms</h1>
			<form v-on:submit.prevent="handleCreateRoom" method="post">
				<fieldset :disabled="isBusy">
					<p>
						<input v-model="password" :autofocus="'autofocus'" name="password" type="password"

							placeholder="Password" required minlength="6" maxlength="100" />
					</p>
					<p>
						<input v-model="roomName" name="name" type="text"

							placeholder="Room name (optional)" minlength="3" maxlength="100" />
					</p>
					<p>
						<input type="submit" class="button" value="Create room" />
					</p>
				</fieldset>
			</form>
		</div>
	</section>

	<article class="faq">
		<h2>How does it work?</h2>
		<div class="entry">
			<p>Create instant, password protected chat rooms without the
			need to signup. Simply click the "Create" button, and share the unique chat URL with your peers.</p>

			<p>
				A room has a lifetime of {{ .Config.RoomAge }} before the first login.
				Up to {{ .Config.MaxPeersPerRoom }} peers can join a room.
				Rooms are automatically deleted after {{ .Config.RoomTimeout }} of inactivity (no messages exchanged).</p>
			<p>
				While in a room, any of the peers can dispose of the room with the click of a button.
			</p>
		</div>
		<div class="entry">
			<h2>Why can any connected peer dispose of a room?</h2>
			<p>Niltalk is meant for holding short private conversations between groups of people who have mutually
			agreed to converse. There is no concept of ownership of a room, and introducing ownership complicates
			the otherwise simple privacy feature of instant disposal by any participant. This also means that Niltalk
			isn't really meant for starting conversations by opening up a room to a large number of uninvited participants.</p>
		</div>
	</article>
	<p class="text-center">
		<a class="github-button" href="https://github.com/knadh/niltalk" data-size="large" data-show-count="true" aria-label="Star knadh/niltalk on GitHub">Star</a>
	</p>
	<script async defer src="https://buttons.github.io/buttons.js"></script>
{{ template "footer" . }}
{{ end }}