GithubHelp home page GithubHelp logo

ytb-get-video-thumbnail's Introduction

ytb-get-video-thumbnail

This project is a utility that allows you to retrieve the thumbnail of a YouTube video using its URL. It is a React application that uses the YouTube API to retrieve the video information and display the thumbnail. It also uses a proxy server to bypass the CORS policy when downloading the thumbnail. It embeds a dark mode feature to switch between light and dark themes and uses the localStorage to save the user's preference.

Installation

  1. Clone this repository on your local machine.
  2. Make sure you have Node.js installed.
  3. Run the command npm install to install the dependencies.

Usage

Create a .env file at the root of the project and add the YouTube API key as an environment variable REACT_APP_API_KEY.

YTB_API_KEY=YOUR_API_KEY

To use this utility, you can run the following command:

npm run start

This will start the development server and open the application in your default browser.

You'll need to launch the proxy server to bypass the CORS policy. To do this, access the repository at ytb-get-video-thumbnail-proxy and follow the instructions in the README.

You will be prompted to enter the URL of the YouTube video from which you want to retrieve the thumbnail.

See live

You can see this project live here.

ytb-get-video-thumbnail's People

Contributors

axelvilleret avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.