-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
360 lines (346 loc) · 15.8 KB
/
index.html
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Open-source tool to build your Windows 10/11 script from scratch."
/>
<meta
name="google-site-verification"
content="a0Ab5gGg8BM_I9xeKMC92vcmuInJxfZIlJCSi74OQ0k"
/>
<meta name="theme-color" content="#0d091b" />
<link rel="canonical" href="https://winscript.cc" />
<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=Archivo:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<link rel="icon" href="/icons/favicon.ico" />
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/animations.css" />
<link rel="stylesheet" href="css/style.css" />
<script defer src="main.js"></script>
<script src="https://code.iconify.design/iconify-icon/2.2.0/iconify-icon.min.js"></script>
<title>WinScript | Make Windows Yours.</title>
</head>
<body>
<nav id="navbar" class="navbar">
<a href="index.html"
><img src="icons/logo.svg" width="40px" alt=""
/></a>
<div class="nav-items center">
<div class="nav-item">
<iconify-icon id="nav-item-icon" icon="fa6-solid:up-right-from-square" width="32" height="32"></iconify-icon>
<a href="https://winscript.cc">Home</a>
</div>
<div class="nav-item">
<iconify-icon id="nav-item-icon" icon="fa6-solid:up-right-from-square" width="32" height="32"></iconify-icon>
<a id="openPrivacyDialog">Privacy</a>
</div>
<div class="nav-item">
<iconify-icon id="nav-item-icon" icon="fa6-solid:up-right-from-square" width="32" height="32"></iconify-icon>
<a href="https://github.com/flick9000/winscript" target="_blank"
>GitHub</a
>
</div>
<div class="nav-item">
<iconify-icon id="nav-item-icon" icon="fa6-solid:up-right-from-square" width="32" height="32"></iconify-icon>
<a
href="https://docs.winscript.cc"
class="support-button sm"
target="_blank"
>
Docs
</a>
</div>
</div>
<div class="nav-items right">
<a href="https://ko-fi.com/flick9000" target="_blank" class="icon">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 21v-2h18v2zM20 8V5h-2v3zm0-5a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-2v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V3zm-4 2H6v8a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2z"/></svg>
</a>
<a href="https://github.com/flick9000/winscript" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"/></svg>
</a>
</div>
<iconify-icon onclick="responsiveNav()" class="fa-solid fa-bars-staggered" icon="fa6-solid:bars-staggered" width="24" height="24"></iconify-icon>
<iconify-icon onclick="responsiveNav()" class="fa-solid fa-xmark" icon="fa6-solid:xmark" width="24" height="24"></iconify-icon>
</nav>
<div class="radial-wrapper">
<div class="radial-bg"></div>
</div>
<main>
<section class="hero">
<dialog id="privacyDialog">
<div class="modal-content">
<div class="modal-header">
<h1>Privacy</h1>
<iconify-icon id="closePrivacyDialog" class="fa-solid fa-xmark" icon="fa6-solid:xmark" width="24" height="24"></iconify-icon>
</div>
<p>
🤖 Website automatically deployed from
<a href="https://github.com/flick9000/winscript" target="_blank"
>GitHub</a
>.
</p>
<p>👁️ We do not log IP Address.</p>
<p>🍪 We do not use cookies.</p>
</div>
</dialog>
<dialog id="startDialog">
<div class="modal-content">
<div class="modal-header">
<h1>Get Started</h1>
<iconify-icon id="closeStartDialog" class="fa-solid fa-xmark" icon="fa6-solid:xmark" width="24" height="24"></iconify-icon>
</div>
<p>Start by downloading the desktop version (or using the online version). Explore and choose different tweaks based on your needs and after you can download or copy to run your custom script.</p>
<div class="modal-buttons">
<a href="https://github.com/flick9000/winscript/releases">Desktop Version -></a>
<a href="./online/index.html">Online Version -></a>
</div>
</div>
</dialog>
<div class="hero-wrapper">
<h1 class="hero-title">Make Windows Yours.</h1>
<p class="hero-description lg">
Open-source tool to build your Windows 10/11 script from scratch.
<br />
It features debloat, privacy, performance & app installing scripts.
</p>
<p class="hero-description sm">
Open-source tool to build your <br />
Windows 10/11 script from scratch.
</p>
<p class="version">Latest update: <span id="commit-date"></span></p>
<script>
async function fetchLatestCommitDate() {
const owner = 'flick9000'; // Replace with your GitHub username
const repo = 'winscript'; // Replace with your repository name
const storageKey = 'latestCommitDate';
const cacheDuration = 1 * 60 * 60 * 1000; // 24 hours in milliseconds
// Check localStorage for a cached date
const cachedData = localStorage.getItem(storageKey);
if (cachedData) {
const { date, timestamp } = JSON.parse(cachedData);
const now = new Date().getTime();
// Use cached data if it's still valid
if (now - timestamp < cacheDuration) {
document.getElementById('commit-date').textContent = date;
return;
}
}
// Fetch the latest commit date from the API
try {
const response = await fetch(`https://api.github.com/repos/${owner}/${repo}/commits`);
if (!response.ok) {
throw new Error(`Error fetching commits: ${response.statusText}`);
}
const commits = await response.json();
const latestCommit = commits[0];
const commitDate = new Date(latestCommit.commit.committer.date).toLocaleString();
// Save the result in localStorage
localStorage.setItem(storageKey, JSON.stringify({
date: commitDate,
timestamp: new Date().getTime(),
}));
document.getElementById('commit-date').textContent = commitDate;
} catch (error) {
console.error(error);
document.getElementById('commit-date').textContent = 'Error fetching commit date.';
}
}
// Call the function when the page loads
fetchLatestCommitDate();
</script>
<a id="openStartDialog" class="cta">
<span >Get Started -></span>
</a>
<div class="banner small">
<a href="https://winscript.cc" target="_blank">
<img src="img/winscript.webp" alt="WinScript" />
</a>
</div>
</div>
<div class="banner">
<a href="https://winscript.cc" target="_blank">
<img src="img/winscript.webp" alt="WinScript" />
</a>
</div>
</section>
<section class="privacy">
<div class="even-columns">
<h1>
<span style="opacity: 0.7">Your Computer</span> <br /><span
style="color: #6040bf"
>Your Privacy</span
>
</h1>
<p>
Windows collects extensive user data through telemetry, including
location, browsing history, and app usage, often without clear
consent, raising privacy concerns. You can improve your privacy by
using WinScript, which allows you to disable telemetry and data
collection.
</p>
</div>
</section>
<section class="features">
<h1 class="card-title">Features</h1>
<div class="card-wrapper">
<div
class="card"
style="
background: linear-gradient(180deg, #17122b, #705f81);
border: 1px solid #6b5b7b;
"
>
<h1><iconify-icon icon="fa6-solid:shield-halved" width="32" height="32"></iconify-icon> Privacy</h1>
<p>
Disable Windows and 3rd party telemetry & data collection,
tracking, app access & more.
</p>
</div>
<div
class="card"
style="
background: linear-gradient(180deg, #17122b, #968ca1);
border: 1px solid #94899f;
"
>
<h1><iconify-icon icon="fa6-solid:rocket" width="32" height="32"></iconify-icon> Performance</h1>
<p>
Free resources by setting unnecessary background services to
manual, removing telemetry & more.
</p>
</div>
<div
class="card"
style="
background: linear-gradient(180deg, #17122b, #705f81);
border: 1px solid #6b5b7b;
"
>
<h1><iconify-icon icon="fa6-solid:download" width="32" height="32"></iconify-icon> Apps</h1>
<p>
Install all your favourite apps simultaneously in one click
through chocolatey.
</p>
</div>
</div>
</section>
<section class="debloat">
<div class="even-columns">
<h1>
<span style="opacity: 0.7">Remove</span><br />Windows<br /><span
style="color: #6040bf"
>Bulls**t</span
>
</h1>
<img src="img/debloat.webp" alt="Debloat" />
</div>
</section>
<section class="telemetry">
<div class="even-columns">
<h1>
<span style="opacity: 0.7">Block</span><br />Windows<br /><span
style="color: #6040bf"
>Spying</span
>
</h1>
<img src="img/telemetry.webp" alt="Debloat" />
</div>
</section>
<section class="performance">
<div class="even-columns">
<h1>
<span style="opacity: 0.7">Boost</span><br />Windows<br /><span
style="color: #6040bf"
>Performance</span
>
</h1>
<img src="img/performance.webp" alt="Debloat" />
</div>
</section>
<section class="install">
<div class="even-columns">
<h1>
<span style="opacity: 0.7">Install All</span><br />Your Apps<br /><span
style="color: #6040bf"
>In One Click</span
>
</h1>
<img src="img/install.webp" alt="Debloat" />
</div>
</section>
<section class="opensource">
<div class="opensource-wrapper">
<h1 style="color: #6040bf">Open Source</h1>
<p>
WinScript is an open-source project licensed under GPL-3.0. It's
completely free to use and transparent. If you want to contribute,
please check the
<a
href="https://github.com/flick9000/winscript/blob/main/CONTRIBUTING.md"
>contributing guide</a
>.
</p>
<img class="opensource" src="img/opensource.png" alt="Open Source" />
</div>
</section>
</main>
<footer>
<div class="left">
<h1>WinScript</h1>
<p>
WinScript is an open-source project licensed under GPL-3.0. It's
completely free to use and transparent.
</p>
<div class="icons">
<a href="https://ko-fi.com/flick9000" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M2 21v-2h18v2zM20 8V5h-2v3zm0-5a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2h-2v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4V3zm-4 2H6v8a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2z"/></svg>
</a>
<a href="https://github.com/flick9000/winscript" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"/></svg>
</a>
<a
href="https://github.com/flick9000/winscript/releases"
target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 512 512"><path fill="currentColor" d="M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32v242.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64v-32c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352zm368 56a24 24 0 1 1 0 48a24 24 0 1 1 0-48"/></svg>
</a>
</div>
</div>
<div class="right">
<div class="links">
<h2>Links</h2>
<ul>
<li>
<a href="./online/"
>Get Started</a
>
</li>
<li>
<a href="https://github.com/flick9000/winscript/releases"
>Download</a
>
</li>
<li>
<a href="https://github.com/flick9000/winscript">GitHub</a>
</li>
</ul>
</div>
<div class="donations">
<h2>Donations</h2>
<a
href="https://ko-fi.com/flick9000"
target="_blank"
class="support-button"
>Ko-fi</a
>
</div>
</div>
</footer>
</body>
</html>