This project is a Svelte-based web application that allows users to download YouTube video thumbnails by entering the video URL. The app provides an option to select the desired thumbnail resolution and download it.
- Input field for YouTube video URLs.
- Dynamic thumbnail preview.
- Resolution selection (Medium, High, Maximum).
- URL validation with error messages for invalid links.
- Download button for fetching the thumbnail at the selected resolution.
- Responsive layout.
-
Clone the repository:
git clone https://github.com/Anuraj4/youtube-thumbnail-downloader.git
-
Navigate to the project directory:
cd youtube-thumbnail-downloader
-
Install the dependencies:
npm install
-
Run the application:
npm run dev
- Enter a valid YouTube video URL in the input field (e.g.,
https://www.youtube.com/watch?v=video_id
). - Preview the thumbnail in the display area.
- Select the desired resolution from the dropdown (Medium, High, Maximum).
- Click the "Download Thumbnail" button to download the image.
- Svelte - JavaScript framework for building UI components.
- HTML/CSS - For layout and styling.
- JavaScript - Logic for handling YouTube URLs and fetching thumbnails.
├── public
│ ├── favicon.png
│ └── global.css
├── src
│ ├── App.svelte
│ ├── main.js
│ └── styles.css
└── package.json