Skip to content

Commit 4f27b8c

Browse files
committed
GitHub page for OnionTalk.
1 parent 687369d commit 4f27b8c

File tree

3 files changed

+67
-0
lines changed

3 files changed

+67
-0
lines changed

docs/assets/qrcode.png

5.83 KB
Loading

docs/index.html

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<!DOCTYPE>
2+
<head>
3+
<meta charset="UTF-8" />
4+
<meta name="keywords" content="nthnn" />
5+
<meta name="author" content="nthnn, nathannestein" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
8+
<title>🧅 OnionTalk</title>
9+
<link rel="stylesheet" href="styles/bootstrap.min.css" />
10+
</head>
11+
<body>
12+
<br/>
13+
<div class="container my-4" align="center">
14+
<div class="col-lg-8 col-12 p-4 shadow-lg border">
15+
<a href="https://github.com/nthnn/oniontalk" target="_blank" class="text-decoration-none text-dark">
16+
<h1>🧅 OnionTalk</h1>
17+
</a>
18+
<br/>
19+
20+
<p>A secure, end-to-end encrypted chat application designed for deployment on the TOR Network as an onion service with room-based conversations with encrypted messaging, user presence tracking, and typing indicators. Below is the onion link:</p>
21+
<div class="row gap-0 row-gap-3 m-0 p-0">
22+
<div class="col-10 m-0 p-0">
23+
<pre class="border bg-secondary px-2 py-2 d-flex w-100" align="center">
24+
<div class="w-100" align="center">n44z5vtkhti5qncg3hswwykir2vy7kifptnykxi4nbso4iya3gtiufid.onion</div>
25+
</pre>
26+
</div>
27+
28+
<div class="col-2 m-0 p-0">
29+
<button class="btn btn-primary d-flex w-100" onclick="copyToClipboard()">
30+
<div class="w-100" align="center" id="copy-btn">Copy</div>
31+
</button>
32+
</div>
33+
</div>
34+
35+
<hr/>
36+
<p>Or scan the QR code below:</p>
37+
<img src="assets/qrcode.png" width="200" />
38+
</div>
39+
</div>
40+
<br/>
41+
42+
<script>
43+
const copyToClipboard = ()=> {
44+
navigator.clipboard.writeText(
45+
"n44z5vtkhti5qncg3hswwykir2vy7kifptnykxi4nbso4iya3gtiufid.onion"
46+
);
47+
48+
const copyBtn = document.getElementById("copy-btn");
49+
copyBtn.innerText = "Copied!";
50+
51+
setTimeout(()=> copyBtn.innerText = "Copy", 1500);
52+
}
53+
</script>
54+
</body>
55+
</html>

docs/styles/bootstrap.min.css

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)