Skip to content
/ Gif-It Public
forked from ContriHUB/Gif-It

Make Gifs from any Any Video

Notifications You must be signed in to change notification settings

VVV007/Gif-It

 
 

Repository files navigation

What am I looking at?

Gif-It - An online tool to Make Gifs from portion of any Any* Youtube Video

Any*: Video Playback should be enabled for other sites

Why it exists?

For ContriHUB-21

How it works?

Currently FFMPEG is being used as a binary(same as on LINUX) and executing the commands on the Shell with the help of the node-server. Part of the process was to get the source url of the Youtube Video which is done using youtube-dl-exec library. So, As a result Process of converting and fetching the gif from the server is slower, sometimes Request may Time Out as Heroku has limit of 30 seconds of until Timed Out Responses.

NOTE: Future prospects are to make this completely Client Side. See Live Demo for basic functionality.

Special Mention: Aman Tibrewal for suggesting youtube-dl.

How to run it locally?

  1. Clone this repo to your local machine and cd into the Gif-It directory.

  2. npm i
    

    This will download all the required dependencies for the application to run on your local machine.

  3. Create the .env file at root of the Project and add all the environment Variables with appropriate values to it as illustrated in .env.sample

  4. As you might notice from .env.sample file you need an API KEY for using Youtube-Data-Api. Here is quick guide for generating one. Add this key to .env file.

  5. npm start
    

    This will start react development serve at port 3000(by default)

  6. npm run serve
    

    This will start node-server at port 5000(by default)

How to use it?

Step-1:

Search with keywords about the video just like youtube.com

Step-2:

Click on 'Use Video for making Gif'

Step-3:

Set the 'Starting Time' of the Video in seconds

Step-4:

Set the 'Duration' for the Gif in seconds

Step-5:

Click on 'Gif-It Now!' and wait till you get the Gif File downloaded from the Server.

What should I have under my belt before start contributing?

  1. HTML/CSS/JS (Beginner).
  2. React.js (Beginner).
  3. Node.js (Beginner).

Are there any tips/guidelines for contributors under ContriHUB-21?

Yes. Check CONTRIBUTING.md

Where to add the contributors name for ContriHUB-21?

Inside CONTRIBUTORS.md file.

Mentor(s)

About

Make Gifs from any Any Video

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.8%
  • CSS 10.2%
  • HTML 4.0%