Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/routes/(tools)/color-blindness-simulator-2/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script>

</script>

<div class="card gap-16 items-center mx-auto max-w-screen-xl lg:grid lg:grid-cols-2 overflow-hidden rounded-lg">
<!-- Add tool here -->
</div>

<style>

</style>
23 changes: 23 additions & 0 deletions src/routes/(tools)/color-blindness-simulator-2/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Color Blindness Simulator",
"description":"",
"contributors": [{
"name": "",
"githubId": ""
}, {
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
}]
}
11 changes: 11 additions & 0 deletions src/routes/(tools)/color-tools/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script>

</script>

<div class="card gap-16 items-center mx-auto max-w-screen-xl lg:grid lg:grid-cols-2 overflow-hidden rounded-lg">
<!-- Add tool here -->
</div>

<style>

</style>
23 changes: 23 additions & 0 deletions src/routes/(tools)/color-tools/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Color Tools",
"description":"",
"contributors": [{
"name": "",
"githubId": ""
}, {
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
}]
}
11 changes: 11 additions & 0 deletions src/routes/(tools)/multi-timer-with-alarm/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script>

</script>

<div class="card gap-16 items-center mx-auto max-w-screen-xl lg:grid lg:grid-cols-2 overflow-hidden rounded-lg">
<!-- Add tool here -->
</div>

<style>

</style>
23 changes: 23 additions & 0 deletions src/routes/(tools)/multi-timer-with-alarm/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "Multi Timer With Alarm",
"description":"",
"contributors": [{
"name": "",
"githubId": ""
}, {
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
}]
}
11 changes: 11 additions & 0 deletions src/routes/(tools)/svg-shape-generator-2/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<script>

</script>

<div class="card gap-16 items-center mx-auto max-w-screen-xl lg:grid lg:grid-cols-2 overflow-hidden rounded-lg">
<!-- Add tool here -->
</div>

<style>

</style>
23 changes: 23 additions & 0 deletions src/routes/(tools)/svg-shape-generator-2/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "SVG Shape Generator ",
"description":"",
"contributors": [{
"name": "",
"githubId": ""
}, {
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
},
{
"name": "",
"githubId": ""
}]
}
54 changes: 52 additions & 2 deletions src/routes/(tools)/youtube-thumbnail-grabber/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,61 @@
<script>

let url = '';
let thumbnail = '';

function getVideo(url) {
const urlObj = new URL(url);
const videoId = urlObj.searchParams.get('v');
if (videoId) {
return videoId;
}
// For shortened URLs or other formats
const pathSegments = urlObj.pathname.split('/');
return pathSegments[pathSegments.length - 1];
}

function getThumbnail() {
const videoId = getVideo(url);
if (videoId) {
thumbnail = `https://img.youtube.com/vi/${videoId}/maxresdefault.jpg`;
} else {
thumbnail = '';
}
}
</script>


<main>
<div class="card gap-16 items-center mx-auto max-w-screen-xl lg:grid lg:grid-cols-2 overflow-hidden rounded-lg">
<!-- Add tool here -->
</div>
<h1>YouTube Thumbnail Grabber</h1>
<input
type="text"
placeholder="Enter the URL of YouTube video"
bind:value={url}
on:input={getThumbnail}
/>
{#if thumbnail}
<img src={thumbnail} alt="YouTube Thumbnail" />
{/if}
</main>

<style>
main {
text-align: center;
margin: 1em;
font-family: Arial, sans-serif;
}

input {
width: 80%;
padding: 0.5em;
margin: 0.5em;
font-size: 1em;
}

</style>
img {
max-width: 100%;
height: auto;
margin-top: 1em;
}
28 changes: 15 additions & 13 deletions src/routes/(tools)/youtube-thumbnail-grabber/meta.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
{
"name": "YouTube Thumbnail Grabber",
"description":"",

"description":"Yotube Thumbnail Grabber lets you get the thumbnail iamges of Youtube Videos. You can also save the images for fututre use.",
"contributors": [{
"name": "",
"githubId": ""
"name": "Shreeja Roy",
"githubId": "https://github.com/shreejaroy2003"
}, {
"name": "",
"githubId": ""
"name": "Abdul Karim Mirza",
"githubId": "https://github.com/karimmirzaabdul"
},
{
"name": "",
"githubId": ""
"name": "Aditya Mahale",
"githubId": "https://github.com/AdityaM24"
},
{
"name": "",
"githubId": ""
"name": "Harsh Vardhan Joshi",
"githubId": "https://github.com/hvjoshi9"
},
{
"name": "",
"githubId": ""
}]
}
"name": "Maryam Mohamed Yahya",
"githubId": "https://github.com/MaryamMohamedYahya"
}]
}

24 changes: 24 additions & 0 deletions src/routes/tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -820,5 +820,29 @@
"githubId": ""
}
]
},
"youtube-thumbnail-grabber": {
"name": "Youtube Thumbnail Grabber",
"link": "/youtube-thumbnail-grabber",
"description": "Yotube Thumbnail Grabber lets you get the thumbnail iamges of Youtube Videos. You can also save the images for fututre use.",
"contributors": [{
"name": "Shreeja Roy",
"githubId": "https://github.com/shreejaroy2003"
}, {
"name": "Abdul Karim Mirza",
"githubId": "https://github.com/karimmirzaabdul"
},
{
"name": "Aditya Mahale",
"githubId": "https://github.com/AdityaM24"
},
{
"name": "Harsh Vardhan Joshi",
"githubId": "https://github.com/hvjoshi9"
},
{
"name": "Maryam Mohamed Yahya",
"githubId": "https://github.com/MaryamMohamedYahya"
}]
}
}