Git Product home page Git Product logo

gif-it's Introduction

Gif-It - Make Gifs from portion of any* Youtube Video | Product Hunt

What am I looking at?

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

any*: Video Playback should be enabled for other sites

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.

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
  2. React.js
  3. Node.js

Author

Special Mention: Aman Tibrewal for suggesting youtube-dl.

gif-it's People

Contributors

ankitsangwan1955 avatar ankitsangwan1999 avatar pratiknarola 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.