-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathscript.js
More file actions
2232 lines (1997 loc) · 64.1 KB
/
script.js
File metadata and controls
2232 lines (1997 loc) · 64.1 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
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
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Modern Dev Toolkit JavaScript
// Interactive elements and animations
// Updated: Image Performance Audit tool integration - v1.1
// Updated: 2024-12-19 - Added Credit Card Validator tool
// Global error handling
window.addEventListener("error", function (e) {
console.error("Global error:", e.error);
});
window.addEventListener("unhandledrejection", function (e) {
console.error("Unhandled promise rejection:", e.reason);
});
document.addEventListener("DOMContentLoaded", function () {
try {
// Show loading screen
initLoadingScreen();
// Initialize all features
initTypingEffect();
initCounterAnimation();
initToolsFilter();
initScrollAnimations();
initNavbarScroll();
initSmoothScrolling();
initParallaxEffect();
initAdvancedSearch();
initPerformanceMonitoring();
initMobileMenu();
initSidebar();
initEnhancedNavigation();
initMicroAnimations();
initSectionAnimations();
initBackToTop();
// Theme system removed per user request
// Hide loading screen after initialization
setTimeout(hideLoadingScreen, 1500);
} catch (error) {
console.error("Error during initialization:", error);
hideLoadingScreen();
}
});
// Advanced Loading Screen
function initLoadingScreen() {
const loadingOverlay = document.getElementById("loadingOverlay");
if (loadingOverlay) {
// Add random loading messages
const messages = [
"Loading DevToolkit...",
"Preparing tools...",
"Setting up workspace...",
"Almost ready...",
];
const textElement = loadingOverlay.querySelector(".loading-text");
let messageIndex = 0;
const messageInterval = setInterval(() => {
if (textElement) {
textElement.textContent = messages[messageIndex];
messageIndex = (messageIndex + 1) % messages.length;
}
}, 400);
// Store interval to clear it later
loadingOverlay.messageInterval = messageInterval;
}
}
function hideLoadingScreen() {
const loadingOverlay = document.getElementById("loadingOverlay");
if (loadingOverlay) {
// Clear message interval
if (loadingOverlay.messageInterval) {
clearInterval(loadingOverlay.messageInterval);
}
// Fade out with advanced animation
loadingOverlay.classList.add("fade-out");
setTimeout(() => {
loadingOverlay.remove();
}, 800);
}
}
// Dark Mode Toggle Functionality
// Theme functions removed
// Typing Effect Animation with performance optimization
function initTypingEffect() {
const typingText = document.querySelector(".typing-text");
if (!typingText) return;
const messages = [
"Build Amazing Tools",
"Join Open Source",
"Code Something Great",
"Make a Difference",
"Create & Contribute",
];
let messageIndex = 0;
let charIndex = 0;
let isDeleting = false;
let typingSpeed = 100;
let animationId;
function typeMessage() {
const currentMessage = messages[messageIndex];
if (isDeleting) {
typingText.textContent = currentMessage.substring(0, charIndex - 1);
charIndex--;
typingSpeed = 50;
} else {
typingText.textContent = currentMessage.substring(0, charIndex + 1);
charIndex++;
typingSpeed = 100;
}
if (!isDeleting && charIndex === currentMessage.length) {
setTimeout(() => (isDeleting = true), 2000);
} else if (isDeleting && charIndex === 0) {
isDeleting = false;
messageIndex = (messageIndex + 1) % messages.length;
}
animationId = setTimeout(typeMessage, typingSpeed);
}
typeMessage();
// Cleanup function for better memory management
return () => {
if (animationId) {
clearTimeout(animationId);
}
};
}
// Animated Counter
function initCounterAnimation() {
const counters = document.querySelectorAll(".stat-number");
const toolCards = document.querySelectorAll(".tool-card");
const toolCounter = document.querySelector('[data-stat="tools"]');
if (toolCounter) {
toolCounter.setAttribute("data-target", toolCards.length - 1);
}
const animateCounter = (counter) => {
const target = parseInt(counter.getAttribute("data-target"));
const count = parseInt(counter.innerText);
const increment = target / 200;
if (count < target) {
counter.innerText = Math.ceil(count + increment);
setTimeout(() => animateCounter(counter), 30);
} else {
counter.innerText = target;
}
};
// Intersection Observer for counter animation
const counterObserver = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
const counter = entry.target;
animateCounter(counter);
counterObserver.unobserve(counter);
}
});
},
{ threshold: 0.7 }
);
counters.forEach((counter) => {
counter.innerText = "0";
counterObserver.observe(counter);
});
}
// Tools Filter System
function initToolsFilter() {
const filterButtons = document.querySelectorAll(".filter-btn");
const toolCards = document.querySelectorAll(".tool-card:not(.add-tool-card)");
const resultCount = document.getElementById("resultCount");
// Filter system ready
filterButtons.forEach((button) => {
button.addEventListener("click", () => {
// Remove active class from all buttons
filterButtons.forEach((btn) => btn.classList.remove("active"));
// Add active class to clicked button
button.classList.add("active");
const filterValue = button.getAttribute("data-filter");
let visibleCount = 0;
toolCards.forEach((card) => {
const cardCategory = card.getAttribute("data-category");
if (filterValue === "all" || cardCategory === filterValue) {
card.style.display = "flex";
card.style.animation = "fadeInUp 0.5s ease-out";
card.classList.remove("hidden");
visibleCount++;
} else {
card.style.display = "none";
card.classList.add("hidden");
}
});
// Update result count
if (resultCount) {
resultCount.textContent = visibleCount;
}
});
});
}
// Scroll Animations
function initScrollAnimations() {
const animatedElements = document.querySelectorAll(
".tool-card, .contribute-content, .footer-content"
);
const observer = new IntersectionObserver(
(entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
entry.target.style.opacity = "1";
entry.target.style.transform = "translateY(0)";
}
});
},
{
threshold: 0.1,
rootMargin: "0px 0px -50px 0px",
}
);
animatedElements.forEach((element) => {
element.style.opacity = "0";
element.style.transform = "translateY(30px)";
element.style.transition = "opacity 0.6s ease-out, transform 0.6s ease-out";
observer.observe(element);
});
}
// Navbar Scroll Effect
// script.js
function initNavbarScroll() {
const navbar = document.querySelector(".navbar");
let lastScrollTop = 0;
window.addEventListener("scroll", () => {
const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
// ✅ FIXED: Toggle a class instead of setting inline styles
if (scrollTop > 100) {
navbar.classList.add("scrolled");
} else {
navbar.classList.remove("scrolled");
}
// This part for hiding/showing the navbar is fine and can stay
if (scrollTop > lastScrollTop && scrollTop > 100) {
navbar.style.transform = "translateY(-100%)";
} else {
navbar.style.transform = "translateY(0)";
}
lastScrollTop = scrollTop;
});
}
// Smooth Scrolling for Navigation Links
function initSmoothScrolling() {
const navLinks = document.querySelectorAll('a[href^="#"]');
navLinks.forEach((link) => {
link.addEventListener("click", function (e) {
e.preventDefault();
const targetId = this.getAttribute("href");
const targetSection = document.querySelector(targetId);
if (targetSection) {
const offsetTop = targetSection.offsetTop - 80; // Account for fixed navbar
window.scrollTo({
top: offsetTop,
behavior: "smooth",
});
}
});
});
}
// Parallax Effect for Background Shapes
function initParallaxEffect() {
const shapes = document.querySelectorAll(".shape");
window.addEventListener("scroll", () => {
const scrolled = window.pageYOffset;
const rate = scrolled * -0.5;
shapes.forEach((shape, index) => {
const speed = 0.2 + index * 0.1;
shape.style.transform = `translateY(${scrolled * speed}px) rotate(${
scrolled * 0.1
}deg)`;
});
});
}
// Tool Card Hover Effects
document.addEventListener("DOMContentLoaded", function () {
const toolCards = document.querySelectorAll(".tool-card:not(.add-tool-card)");
toolCards.forEach((card) => {
card.addEventListener("mouseenter", function () {
if (this.classList.contains("coming-soon")) {
this.style.transform = "translateY(-5px) scale(1.01)";
this.style.boxShadow = "0 15px 30px rgba(245, 166, 35, 0.15)";
} else {
this.style.transform = "translateY(-15px) scale(1.02)";
this.style.boxShadow = "0 25px 50px rgba(255, 107, 53, 0.15)";
}
});
card.addEventListener("mouseleave", function () {
this.style.transform = "translateY(0) scale(1)";
this.style.boxShadow = "0 20px 40px rgba(0, 0, 0, 0.2)";
});
// Add click handler for coming soon cards
if (card.classList.contains("coming-soon")) {
card.addEventListener("click", function (e) {
e.preventDefault();
e.stopPropagation();
// Show a brief notification
const notification = document.createElement("div");
notification.className = "coming-soon-notification";
notification.innerHTML =
"🚧 This tool is coming soon! Check back later.";
notification.style.cssText = `
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: var(--warning-color);
color: var(--bg-primary);
padding: 1rem 2rem;
border-radius: var(--radius-md);
font-weight: 600;
z-index: 10000;
animation: fadeInUp 0.3s ease-out;
`;
document.body.appendChild(notification);
setTimeout(() => {
notification.style.animation = "fadeOutDown 0.3s ease-out forwards";
setTimeout(() => notification.remove(), 300);
}, 2000);
});
}
});
});
// Add Tool Card Click Handler
document.addEventListener("DOMContentLoaded", function () {
const addToolCard = document.querySelector(".add-tool-card");
if (addToolCard) {
addToolCard.addEventListener("click", function () {
window.open("https://github.com/heysaiyad/dev-toolkit", "_blank");
});
}
});
// Button Ripple Effect
function createRipple(event) {
const button = event.currentTarget;
const circle = document.createElement("span");
const diameter = Math.max(button.clientWidth, button.clientHeight);
const radius = diameter / 2;
circle.style.width = circle.style.height = `${diameter}px`;
circle.style.left = `${event.clientX - button.offsetLeft - radius}px`;
circle.style.top = `${event.clientY - button.offsetTop - radius}px`;
circle.classList.add("ripple");
const ripple = button.getElementsByClassName("ripple")[0];
if (ripple) {
ripple.remove();
}
button.appendChild(circle);
}
// Add ripple effect to buttons
document.addEventListener("DOMContentLoaded", function () {
const buttons = document.querySelectorAll(".btn");
buttons.forEach((button) => {
button.addEventListener("click", createRipple);
});
});
// Add CSS for ripple effect
const rippleStyle = document.createElement("style");
rippleStyle.textContent = `
.btn {
position: relative;
overflow: hidden;
}
.ripple {
position: absolute;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.3);
transform: scale(0);
animation: ripple-animation 0.6s linear;
pointer-events: none;
}
@keyframes ripple-animation {
to {
transform: scale(4);
opacity: 0;
}
}
`;
document.head.appendChild(rippleStyle);
// Loading Animation for Page
window.addEventListener("load", function () {
document.body.style.opacity = "0";
document.body.style.transition = "opacity 0.5s ease-out";
setTimeout(() => {
document.body.style.opacity = "1";
}, 100);
});
// Easter Egg: Konami Code
let konamiCode = [];
const correctCode = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65]; // Up Up Down Down Left Right Left Right B A
document.addEventListener("keydown", function (e) {
konamiCode.push(e.keyCode);
if (konamiCode.length > correctCode.length) {
konamiCode.shift();
}
if (JSON.stringify(konamiCode) === JSON.stringify(correctCode)) {
// Easter egg animation
document.body.style.animation = "rainbow 2s infinite";
setTimeout(() => {
document.body.style.animation = "";
}, 10000);
}
});
// Rainbow animation for easter egg
const rainbowStyle = document.createElement("style");
rainbowStyle.textContent = `
@keyframes rainbow {
0% { filter: hue-rotate(0deg); }
25% { filter: hue-rotate(90deg); }
50% { filter: hue-rotate(180deg); }
75% { filter: hue-rotate(270deg); }
100% { filter: hue-rotate(360deg); }
}
`;
document.head.appendChild(rainbowStyle);
// Advanced Search System
function initAdvancedSearch() {
const searchInput = document.getElementById("toolSearch");
const searchSuggestions = document.getElementById("searchSuggestions");
const resultCount = document.getElementById("resultCount");
const toolCards = document.querySelectorAll(".tool-card:not(.add-tool-card)");
// Tool database for search - Complete list of all available tools
const toolsDatabase = [
{
name: "Word Counter",
description:
"Advanced text analysis tool with real-time word, character, and paragraph counting",
category: "text",
keywords: [
"word",
"count",
"text",
"character",
"paragraph",
"analysis",
"writing",
"blog",
],
icon: "fas fa-font",
url: "tools/word-counter/index.html",
},
{
name: "Line Sorter & Unique",
description:
"Sort text lines alphabetically and remove duplicates. Perfect for cleaning up lists, organizing data, and removing redundant lines from text files.",
category: "text",
keywords: [
"line",
"sort",
"sorter",
"unique",
"duplicate",
"alphabetical",
"organize",
"list",
"clean",
],
icon: "fas fa-sort-alpha-down",
url: "tools/line-sorter-unique/index.html",
},
{
name: "Lorem Ipsum Generator",
description:
"Generate customizable placeholder text by words or paragraphs for your design and development projects. Perfect for mockups and prototyping.",
category: "text",
keywords: [
"lorem",
"ipsum",
"generator",
"placeholder",
"text",
"mockup",
"prototype",
"design",
],
icon: "fas fa-align-justify",
url: "tools/lorem-ipsum-generator/index.html",
},
{
name: "String Reverser",
description:
"Reverse any text instantly for coding exercises, data transformation, input testing, obfuscation, and playful text effects.",
category: "text",
keywords: [
"string",
"reverse",
"text",
"flip",
"backward",
"coding",
"transform",
],
icon: "fas fa-sync-alt",
url: "tools/string-reverser/index.html",
},
{
name: "Markdown Previewer",
description:
"Write and preview Markdown in real-time with split-view editor. Export to HTML, MD, or plain text.",
category: "code",
keywords: [
"markdown",
"preview",
"editor",
"md",
"html",
"export",
"real-time",
],
icon: "fas fa-markdown",
url: "tools/markdown-previewer/index.html",
},
{
name: "Code Beautifier",
description:
"Paste messy HTML code and instantly get beautifully formatted code.",
category: "code",
keywords: [
"code",
"beautify",
"format",
"html",
"pretty",
"clean",
"indent",
],
icon: "fas fa-code",
url: "tools/code-beautifier/index.html",
},
{
name: "Line Sorter & Unique",
description: "Sort text lines alphabetically and remove duplicates",
category: "text",
keywords: [
"sort",
"unique",
"lines",
"text",
"alphabetical",
"duplicate",
],
icon: "fas fa-sort-alpha-down",
url: "tools/line-sorter-unique/index.html",
},
{
name: "Lorem Ipsum Generator",
description: "Generate placeholder text for your designs and mockups",
category: "text",
keywords: ["lorem", "ipsum", "placeholder", "text", "generator"],
icon: "fas fa-paragraph",
url: "tools/lorem-ipsum-generator/index.html",
},
{
name: "String Reverser",
description: "Reverse any string or text instantly",
category: "text",
keywords: ["string", "reverse", "text", "flip"],
icon: "fas fa-exchange-alt",
url: "tools/string-reverser/index.html",
},
{
name: "Base64 Encoder",
description: "Encode and decode Base64 strings easily",
category: "utility",
keywords: ["base64", "encode", "decode", "string"],
icon: "fas fa-code",
url: "tools/base64-encoder/index.html",
},
{
name: "Code Beautifier",
description: "Format and beautify your code with syntax highlighting",
category: "code",
keywords: ["code", "format", "beautify", "syntax", "html", "css", "js"],
icon: "fas fa-code",
url: "tools/code-beautifier/index.html",
},
{
name: "Timer & Stopwatch",
description:
"Countdown timer and stopwatch with lap tracking, audio alerts, and keyboard shortcuts.",
category: "utility",
keywords: [
"timer",
"stopwatch",
"countdown",
"lap",
"alert",
"time",
"track",
],
icon: "fas fa-clock",
url: "tools/timer-stopwatch/index.html",
},
{
name: "Password Generator",
description:
"Generate secure passwords with customizable length and character sets.",
category: "utility",
keywords: [
"password",
"generator",
"secure",
"random",
"character",
"security",
],
icon: "fas fa-key",
url: "tools/password-generator/index.html",
},
{
name: "Base64 Encoder/Decoder",
description:
"Encode text to Base64 or decode Base64 strings. Support for text and file conversion.",
category: "utility",
keywords: [
"base64",
"encode",
"decode",
"encoder",
"decoder",
"text",
"file",
"conversion",
],
icon: "fas fa-lock",
url: "tools/base64-encoder/index.html",
},
{
name: "Image to Base64 Converter",
description:
"Convert images to Base64 encoded strings. Perfect for embedding images directly in HTML, CSS, or JSON files.",
category: "utility",
keywords: [
"image",
"base64",
"convert",
"converter",
"embed",
"html",
"css",
"json",
],
icon: "fas fa-image",
url: "tools/image-base64-converter/index.html",
},
{
name: "URL Encoder/Decoder",
description:
"Encode or decode URLs to ensure proper formatting. Convert special characters and spaces for safe URL transmission.",
category: "utility",
keywords: [
"url",
"encode",
"decode",
"encoder",
"decoder",
"format",
"character",
"space",
],
icon: "fas fa-link",
url: "tools/url-encoder-decoder/index.html",
},
{
name: "UUID Generator",
description:
"Generate Universally Unique Identifiers (UUIDs) instantly for database keys, session IDs, and unique identifiers.",
category: "utility",
keywords: [
"uuid",
"generator",
"unique",
"identifier",
"database",
"key",
"session",
"id",
],
icon: "fas fa-fingerprint",
url: "tools/uuid-generator/index.html",
},
{
name: "Unix Timestamp Converter",
description:
"A simple tool to convert human-readable dates into Unix timestamps and convert Unix timestamps back into readable date/time.",
category: "utility",
keywords: [
"unix",
"timestamp",
"converter",
"date",
"time",
"epoch",
"convert",
],
icon: "fas fa-clock",
url: "tools/unix-timestamp-converter/index.html",
},
{
name: "Percentage Calculator",
description:
"Easily calculate percentages with this intuitive calculator. Find out what is X% of Y in seconds.",
category: "utility",
keywords: [
"percentage",
"calculator",
"percent",
"math",
"calculate",
"ratio",
],
icon: "fas fa-calculator",
url: "tools/percentage-calculator/index.html",
},
{
name: "Random Number Generator",
description:
"Generate random numbers within a specified range quickly and easily.",
category: "utility",
keywords: ["random", "number", "generator", "rng", "math", "utility"],
icon: "fas fa-dice",
url: "tools/random-number-generator/index.html",
},
{
name: "Morse Code Translator",
description:
"Convert text to Morse code and Morse code back to text — supports letters, numbers, and punctuation.",
category: "text",
keywords: [
"morse",
"code",
"translator",
"text",
"signal",
"dot",
"dash",
"convert",
"communication",
],
icon: "fas fa-wave-square",
url: "tools/morse-code-translator/index.html",
},
{
name: "Even Odd Checker",
description:
"A simple tool to check whether a number is even or odd. Perfect for quick mathematical verifications.",
category: "utility",
keywords: [
"even",
"odd",
"checker",
"number",
"math",
"verify",
"parity",
],
icon: "fas fa-calculator",
url: "tools/even-odd-checker/index.html",
},
{
name: "Even Odd Checker",
description: "Check if a number is even or odd",
category: "utility",
keywords: ["even", "odd", "number", "check", "math"],
icon: "fas fa-calculator",
url: "tools/even-odd-checker/index.html",
},
{
name: "Image Base64 Converter",
description: "Convert images to Base64 and vice versa",
category: "utility",
keywords: ["image", "base64", "convert", "encode", "decode"],
icon: "fas fa-image",
url: "tools/image-base64-converter/index.html",
},
{
name: "Markdown Previewer",
description: "Preview markdown text with live rendering",
category: "code",
keywords: ["markdown", "preview", "md", "render", "text"],
icon: "fab fa-markdown",
url: "tools/markdown-previewer/index.html",
},
{
name: "Password Generator",
description: "Generate secure passwords with customizable options",
category: "utility",
keywords: ["password", "generate", "secure", "random"],
icon: "fas fa-key",
url: "tools/password-generator/index.html",
},
{
name: "Percentage Calculator",
description: "Calculate percentages, increase, and decrease",
category: "utility",
keywords: ["percentage", "calculate", "math", "percent"],
icon: "fas fa-percentage",
url: "tools/percentage-calculator/index.html",
},
{
name: "Timer & Stopwatch",
description: "Count down or count up with precision timing",
category: "utility",
keywords: ["timer", "stopwatch", "countdown", "time"],
icon: "fas fa-stopwatch",
url: "tools/timer-stopwatch/index.html",
},
{
name: "Unix Timestamp Converter",
description: "Convert between Unix timestamp and human-readable date",
category: "utility",
keywords: ["unix", "timestamp", "date", "convert", "time"],
icon: "fas fa-clock",
url: "tools/unix-timestamp-converter/index.html",
},
{
name: "URL Encoder/Decoder",
description: "Encode and decode URLs and URI components",
category: "utility",
keywords: ["url", "encode", "decode", "uri", "component"],
icon: "fas fa-link",
url: "tools/url-encoder-decoder/index.html",
},
{
name: "UUID Generator",
description: "Generate unique identifiers (UUID) in various formats",
category: "utility",
keywords: ["uuid", "generate", "unique", "identifier", "guid"],
icon: "fas fa-fingerprint",
url: "tools/uuid-generator/index.html",
},
{
name: "Image to PDF Converter",
description: "Convert your images into Pdfs",
category: "utility",
keywords: ["jpg", "converter", "pdf", "image"],
icon: "fas fa-file-pdf",
url: "tools/image-to-pdf/index.html",
},
{
name: "Color Contrast Checker",
description: "Check color contrast between two colors",
category: "utility",
keywords: ["utilities", "converter", "checker"],
icon: "fas fa-palette",
url: "tools/color-contrast-checker/index.html",
},
{
name: "XML to JSON converter",
description: "Convert your XML data into JSON",
category: "utility",
keywords: ["xml", "converter", "tool", "data", "json"],
icon: "fas fa-exchange",
url: "tools/xml-to-json-converter/index.html",
},
{
name: "File Zipper",
description: "Convert your files into a zip and download it.",
category: "utility",
keywords: ["qr", "code", "generator", "url", "text", "wifi", "scan"],
icon: "fas fa-qrcode",
url: "tools/file-zipper/index.html",
},
{
name: "QR Code Generator",
description:
"Create QR codes for URLs, text, WiFi, and more with customizable styling.",
category: "utility",
keywords: ["qr", "code", "generator", "url", "text", "wifi", "scan"],
icon: "fas fa-qrcode",
url: "#",
},
{
name: "Text Extractor",
description:
"Extract meaningful text from various document formats, including PDFs, Word files and images.",
category: "utility",
keywords: ["text", "extraction", "pdf", "word", "image"],
icon: "fas fa-file-alt",
url: "tools/text-extractor/index.html",
},
{
name: "Image Performance Audit",
description:
"Analyze any webpage's images for performance issues, missing alt tags, and optimization opportunities. Get detailed insights and recommendations.",
category: "utility",
keywords: [
"image",
"performance",
"audit",
"seo",
"optimization",
"alt",
"webp",
"avif",
"analysis",
"webpage",
"performace",
"images",
"speed",
"lighthouse",
"web",
"site",
"check",
"analyze",
],
icon: "fas fa-chart-line",
url: "tools/image-performance-audit/index.html",
name: "Web Scraper",
description:
"Extract links and images from any website using our powerful web scraper. Input a URL and get organized results with detailed statistics and export options.",
category: "utility",
keywords: [
"web",
"scraper",
"scraping",
"parser",
"links",
"images",
"extract",
"crawl",
"spider",
"url",
"website",
"api",
"cors",
],
icon: "fas fa-spider",
url: "tools/web-scraper/index.html",
name: "Credit Card Validator",