-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (78 loc) · 3.63 KB
/
index.html
File metadata and controls
82 lines (78 loc) · 3.63 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="referrer" content="no-referrer" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="5chan is a free, open-source, decentralized imageboard built on the Bitsocial protocol. No servers, no admins — all content is shared peer-to-peer via IPFS." />
<meta name="author" content="bitsocialnet" />
<link rel="canonical" href="https://5chan.app/" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<!-- OpenGraph -->
<meta property="og:type" content="website" />
<meta property="og:site_name" content="5chan" />
<meta property="og:title" content="5chan — Decentralized Imageboard" />
<meta property="og:description" content="Free, open-source, serverless imageboard built on the Bitsocial protocol. No servers, no admins — peer-to-peer via IPFS." />
<meta property="og:url" content="https://5chan.app/" />
<meta property="og:image" content="https://5chan.app/manifest-icon-512x512.png" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="5chan — Decentralized Imageboard" />
<meta name="twitter:description" content="Free, open-source, serverless imageboard built on the Bitsocial protocol. Peer-to-peer via IPFS." />
<meta name="twitter:image" content="https://5chan.app/manifest-icon-512x512.png" />
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "5chan",
"url": "https://5chan.app/",
"description": "Free, open-source, decentralized imageboard built on the Bitsocial protocol. No servers, no admins — all content is shared peer-to-peer via IPFS.",
"applicationCategory": "SocialNetworkingApplication",
"operatingSystem": "Any",
"offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD" },
"author": {
"@type": "Organization",
"name": "bitsocialnet",
"url": "https://github.com/bitsocialnet"
},
"license": "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html",
"sourceOrganization": {
"@type": "Organization",
"name": "bitsocialnet",
"url": "https://github.com/bitsocialnet"
},
"isAccessibleForFree": true,
"codeRepository": "https://github.com/bitsocialnet/5chan"
}
</script>
<title>5chan — Decentralized Imageboard</title>
<!-- React Grab: toolbar-only activation; keyboard shortcut disabled to avoid copy/paste conflicts (dev only) -->
<script type="module">
if (import.meta.env.DEV) {
import("react-grab/core").then((m) => m.init({ activationShortcut: () => false }));
}
</script>
<script>
// Redirect non-hash URLs to hash URLs on initial load
// Skip redirect for file:// protocol (Electron) or if pathname ends with index.html
if (
window.location.protocol !== 'file:' &&
window.location.pathname &&
window.location.pathname !== '/' &&
!window.location.pathname.endsWith('/index.html') &&
!window.location.hash
) {
window.location.replace('/#' + window.location.pathname + window.location.search);
}
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>