-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
201 lines (201 loc) · 6.83 KB
/
index.html
File metadata and controls
201 lines (201 loc) · 6.83 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/webp" href="/favicon.webp" />
<link
rel="preload"
as="image"
href="/screenshots/spools.webp"
imagesrcset="/screenshots/spools.webp 1x, /screenshots/spools.png 1x"
fetchpriority="high"
/>
<link
rel="preload"
as="style"
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap&text=swap"
/>
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<title>SpoolSync — Filament Management for 3D Printing</title>
<meta
name="description"
content="Self-hosted filament management platform. Track weights in real time, scan NFC tags, integrate with your printers, and never run out mid-print again."
/>
<meta
name="keywords"
content="3D printing, filament management, spool tracking, NFC, Prusa, Bambu, inventory, open source, self-hosted, ESP32, load cell, printer integration, filament storage"
/>
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://spoolsync.com/" />
<!-- Open Graph -->
<meta property="og:type" content="website" />
<meta
property="og:title"
content="SpoolSync — Filament Management for 3D Printing"
/>
<meta
property="og:description"
content="Self-hosted filament management platform. Track weights in real time, scan NFC tags, integrate with your printers, and never run out mid-print again."
/>
<meta property="og:url" content="https://spoolsync.com/" />
<meta property="og:image" content="https://spoolsync.com/title-light.png" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:title"
content="SpoolSync — Filament Management for 3D Printing"
/>
<meta
name="twitter:description"
content="Self-hosted filament management platform. Track weights in real time, scan NFC tags, integrate with your printers, and never run out mid-print again."
/>
<meta
name="twitter:image"
content="https://spoolsync.com/title-light.png"
/>
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"name": "SpoolSync",
"url": "https://spoolsync.com/",
"logo": "https://spoolsync.com/title-light.png",
"sameAs": ["https://github.com/Spool-Sync/SpoolSync-App"],
"description": "Self-hosted filament management platform for 3D printing."
}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap&text=swap"
rel="stylesheet"
onload="this.media = 'all'"
/>
</head>
<body>
<div id="app"></div>
<!-- Minimal Cookie Banner for Microsoft Clarity -->
<div
id="cookie-banner"
style="
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 9999;
background: rgba(20, 20, 20, 0.95);
color: #fff;
padding: 12px 16px;
font-size: 15px;
display: none;
box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
text-align: center;
"
>
This site uses Microsoft Clarity for analytics.
<button
id="cookie-accept"
style="
background: #51cf66;
color: #222;
border: none;
padding: 6px 16px;
margin-left: 12px;
border-radius: 4px;
cursor: pointer;
font-weight: 600;
"
>
Accept
</button>
<button
id="cookie-decline"
style="
background: #eee;
color: #222;
border: none;
padding: 6px 16px;
margin-left: 6px;
border-radius: 4px;
cursor: pointer;
"
>
Decline
</button>
</div>
<script>
// Cookie banner logic
function setCookie(name, value, days) {
let expires = "";
if (days) {
const date = new Date();
date.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + value + expires + "; path=/";
}
function getCookie(name) {
const match = document.cookie.match(
new RegExp("(^| )" + name + "=([^;]+)"),
);
return match ? match[2] : null;
}
function showBanner() {
document.getElementById("cookie-banner").style.display = "block";
}
function hideBanner() {
document.getElementById("cookie-banner").style.display = "none";
}
window.addEventListener("DOMContentLoaded", function () {
if (!getCookie("clarityConsent")) {
showBanner();
} else if (getCookie("clarityConsent") === "accepted") {
// Load Clarity if accepted
(function (c, l, a, r, i, t, y) {
c[a] =
c[a] ||
function () {
(c[a].q = c[a].q || []).push(arguments);
};
t = l.createElement(r);
t.async = 1;
t.src = "https://www.clarity.ms/tag/vmgzzcc4su";
y = l.getElementsByTagName(r)[0];
y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "vmgzzcc4su");
}
var acceptBtn = document.getElementById("cookie-accept");
var declineBtn = document.getElementById("cookie-decline");
if (acceptBtn) {
acceptBtn.onclick = function () {
setCookie("clarityConsent", "accepted", 365);
hideBanner();
// Load Clarity
(function (c, l, a, r, i, t, y) {
c[a] =
c[a] ||
function () {
(c[a].q = c[a].q || []).push(arguments);
};
t = l.createElement(r);
t.async = 1;
t.src = "https://www.clarity.ms/tag/vmgzzcc4su";
y = l.getElementsByTagName(r)[0];
y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "vmgzzcc4su");
};
}
if (declineBtn) {
declineBtn.onclick = function () {
setCookie("clarityConsent", "declined", 365);
hideBanner();
};
}
});
</script>
<script type="module" src="/src/main.js"></script>
</body>
</html>