Skip to content

Commit f5a8f3f

Browse files
committed
feat(knowemail): add dynamic version fetching and multi-platform download options
1 parent 13bc896 commit f5a8f3f

File tree

1 file changed

+102
-21
lines changed

1 file changed

+102
-21
lines changed

knowemail/index.html

Lines changed: 102 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta http-equiv="X-UA-Compatible" content="ie=edge">
88
<title>KnowEmail - Free Bulk Email Verifier &amp; Validator</title>
9-
9+
1010
<!-- SEO Meta Tags -->
11-
<meta name="description" content="KnowEmail is a free, open-source bulk email verifier &amp; validator that ensures your email lists are clean and effective. Verify email syntax, check domains, and boost deliverability with our accurate email validation tool.">
12-
<meta name="keywords" content="KnowEmail, Email Verifier, Email Validator, Bulk Email Verification, Free Email Validation, Email List Cleaner, Open Source Email Tool, Email Syntax Checker, Domain Verification, ad free email validator, windows tool, linux tool, github tool">
11+
<meta name="description"
12+
content="KnowEmail is a free, open-source bulk email verifier &amp; validator that ensures your email lists are clean and effective. Verify email syntax, check domains, and boost deliverability with our accurate email validation tool.">
13+
<meta name="keywords"
14+
content="KnowEmail, Email Verifier, Email Validator, Bulk Email Verification, Free Email Validation, Email List Cleaner, Open Source Email Tool, Email Syntax Checker, Domain Verification, ad free email validator, windows tool, linux tool, github tool">
1315
<meta name="robots" content="index, follow">
14-
16+
1517
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
1618
<link rel="stylesheet" href="css/style.css">
1719
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
1820
<meta name="google-site-verification" content="_ft_U8zEWVwtTApo38arI_aruNjLJDj5H9tESr0TNoY" />
19-
21+
2022

2123
</head>
2224

@@ -25,7 +27,7 @@
2527
<div class="container-xl">
2628
<a class="navbar-brand" href="#">
2729
<img src="logo.png" class="h-8" alt="...">
28-
30+
2931
</a>
3032
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse"
3133
aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
@@ -38,8 +40,8 @@
3840
3941
</div> -->
4042
<!-- Right navigation -->
41-
42-
43+
44+
4345
</div>
4446
</div>
4547
</nav>
@@ -51,46 +53,91 @@
5153
<div class="p-10">
5254
<div class="mb-8 text-center">
5355
<h1 class="mb-2">Free Bulk Email Verifier<br>Ad-Free & Open Source</h1>
56+
<div class="mb-4">
57+
<span class="badge bg-dark py-2 px-3" style="font-size: 1.1rem;">Latest Version: <span
58+
id="current-version">...</span></span>
59+
</div>
5460
<p>Tired of dealing with invalid email addresses? KnowEmail helps you clean
5561
your email lists by ensuring every address is valid before you send that important
5662
campaign.</p>
57-
63+
5864
</div>
5965
<div class="text-center mt-4">
60-
<a href="https://github.com/OpenInitia/KnowEmail/releases" class="btn btn-dark btn-lg m-2"> <i
61-
class="fas fa-download"></i> Download Latest Version
66+
<a href="#downloads" class="btn btn-dark btn-lg m-2"> <i class="fas fa-download"></i>
67+
Download Options
6268
</a>
63-
<a href="https://github.com/OpenInitia/KnowEmail/" class="btn btn-dark btn-lg m-2"> <i class="fab fa-github"></i>
69+
<a href="https://github.com/OpenInitia/KnowEmail/" class="btn btn-dark btn-lg m-2"> <i
70+
class="fab fa-github"></i>
6471
View on GitHub </a>
65-
<a href="https://github.com/Deadpool2000" class="btn btn-warning btn-lg m-2"> <i
72+
<a href="https://github.com/Deadpool2000" class="btn btn-warning btn-lg m-2"> <i
6673
class="fa-solid fa-heart"></i> Visit Maintainer Profile</a>
6774
</div>
75+
76+
<!-- Download Options Section -->
77+
<div id="downloads" class="row mt-10 g-4">
78+
<h2 class="text-center mb-5">Available for all platforms</h2>
79+
<div class="col-md-4">
80+
<div class="card h-100 shadow-sm border-0 border-top border-4 border-primary">
81+
<div class="card-body text-center p-5">
82+
<div class="display-4 text-primary mb-4"><i class="fab fa-windows"></i></div>
83+
<h3 class="h2 mb-3">Windows</h3>
84+
<p class="mb-4 text-muted small">Standard executable for Windows 10/11.</p>
85+
<a href="#" id="win-exe" class="btn btn-dark w-100">Download .exe</a>
86+
</div>
87+
</div>
88+
</div>
89+
<div class="col-md-4">
90+
<div class="card h-100 shadow-sm border-0 border-top border-4 border-dark">
91+
<div class="card-body text-center p-5">
92+
<div class="display-4 text-dark mb-4"><i class="fab fa-apple"></i></div>
93+
<h3 class="h2 mb-3">macOS</h3>
94+
<p class="mb-4 text-muted small">Optimized builds for Apple Silicon and Intel.
95+
</p>
96+
<a href="#" id="mac-dmg" class="btn btn-dark w-100 mb-2">Download .dmg</a>
97+
<a href="#" id="mac-app" class="btn btn-outline-dark w-100">Download .app</a>
98+
</div>
99+
</div>
100+
</div>
101+
<div class="col-md-4">
102+
<div class="card h-100 shadow-sm border-0 border-top border-4 border-warning">
103+
<div class="card-body text-center p-5">
104+
<div class="display-4 text-warning mb-4"><i class="fab fa-linux"></i></div>
105+
<h3 class="h2 mb-3">Linux</h3>
106+
<p class="mb-4 text-muted small">Support for all major distributions.</p>
107+
<a href="#" id="linux-appimage" class="btn btn-dark w-100 mb-2">Download
108+
.AppImage</a>
109+
<a href="#" id="linux-deb" class="btn btn-outline-dark w-100">Download .deb</a>
110+
</div>
111+
</div>
112+
</div>
113+
</div>
114+
68115
<div class="main text-center mt-5">
69-
<img src="knowemail.png" alt="">
116+
<img src="knowemail.png" alt="" class="img-fluid rounded shadow-lg">
70117
</div>
71118
</div>
72119
</div>
73120
</div>
74121
<div class="row">
75122
<div class="col-12 text-center">
76-
<h2>Support Us</h2>
123+
<h2 class="mt-10">Support Our Work</h2>
77124
<p class="mt-5">We’ve made this tool free and open-source for everyone. If you’d like to support our
78125
development
79126
efforts, consider donating.
80127
</p>
81-
<div class="d-flex justify-content-center align-items-center mt-5">
128+
<div class="d-flex justify-content-center flex-wrap align-items-center mt-5">
82129
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Support%20Our%20Tool&amount=5&currency_code=USD"
83-
class="btn btn-secondary mx-2">
130+
class="btn btn-secondary mx-2 my-2">
84131
<i class="fas fa-coffee"></i> $5
85132
</a>
86133
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Support%20Our%20Tool&amount=10&currency_code=USD"
87-
class="btn btn-secondary mx-2">
134+
class="btn btn-secondary mx-2 my-2">
88135
<i class="fas fa-coffee"></i> $10
89136
</a>
90-
<div class="input-group mx-2" style="max-width: 150px;">
137+
<div class="input-group mx-2 my-2" style="max-width: 150px;">
91138
<input type="number" id="customAmount" class="form-control" placeholder="Custom" min="1">
92139
</div>
93-
<a id="payNow" href="#" class="btn btn-dark">
140+
<a id="payNow" href="#" class="btn btn-dark mx-2 my-2">
94141
<img src="https://www.paypalobjects.com/webstatic/icon/pp258.png" alt="PayPal"
95142
style="height: 20px; margin-right: 8px;"> Donate
96143
</a>
@@ -104,7 +151,41 @@ <h3 class="mb-5">OR</h3>
104151
</div>
105152
</div>
106153
<script>
107-
document.getElementById('payNow').addEventListener('click', function () {
154+
// Fetch latest release info from GitHub
155+
async function fetchLatestRelease() {
156+
try {
157+
const response = await fetch('https://api.github.com/repos/OpenInitia/KnowEmail/releases/latest');
158+
if (!response.ok) throw new Error('Failed to fetch');
159+
const data = await response.json();
160+
161+
document.getElementById('current-version').innerText = data.tag_name;
162+
163+
data.assets.forEach(asset => {
164+
const name = asset.name.toLowerCase();
165+
const url = asset.browser_download_url;
166+
167+
if (name.endsWith('.exe')) {
168+
document.getElementById('win-exe').href = url;
169+
} else if (name.endsWith('.dmg')) {
170+
document.getElementById('mac-dmg').href = url;
171+
} else if (name.endsWith('.app.zip')) {
172+
document.getElementById('mac-app').href = url;
173+
} else if (name.endsWith('.appimage')) {
174+
document.getElementById('linux-appimage').href = url;
175+
} else if (name.endsWith('.deb')) {
176+
document.getElementById('linux-deb').href = url;
177+
}
178+
});
179+
} catch (error) {
180+
console.error('Error:', error);
181+
document.getElementById('current-version').innerText = 'v1.1.5 (Latest)';
182+
}
183+
}
184+
185+
fetchLatestRelease();
186+
187+
document.getElementById('payNow').addEventListener('click', function (e) {
188+
e.preventDefault();
108189
var customAmount = document.getElementById('customAmount').value;
109190
if (customAmount && customAmount > 0) {
110191
window.location.href = `https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&[email protected]&item_name=Support%20Our%20Tool&amount=${customAmount}&currency_code=USD`;

0 commit comments

Comments
 (0)