0.8.1 • Published 2 years ago

frinkiac-gif-generator v0.8.1

Weekly downloads
4
License
ISC
Repository
github
Last release
2 years ago

Build Status

Frinkiac GIF Generator

An un-official package for auto-generating gifs from frinkiac.com, morbotron.com or masterofallscience.com based on a search term.

Installing

npm install --save frinkiac-gif-generator

Usage

This package uses frinkiac.com, morbotron.com or masterofallscience.com to generate a gif based on a piece of dialogue. At the moment it is quite basic and only returns one gif based on what Frinkiac/Morbotron/MOAS thinks is the best match to your dialogue search term. It returns the URL to the gif as a promise.

For example:

const gifGenerator = require('frinkiac-gif-generator');

gifGenerator('super nintendo chalmers')
    .then((gif) => {
        console.log(gif); // https://frinkiac.com/video/S10E07/MI9Rd6R0gNkiZnr2cFb_wA8vC3k=.gif
    })
    .catch(console.error);

As you can see above if no site is specified it defaults to Frinkiac, but to change site simply pass it through as the second argument, e.g:

gifGenerator('Robot house', 'morbotron')
    .then((gif) => {
        console.log(gif); // https://morbotron.com/video/S02E02/jLCY1cQwrS26ymv6djszozleXmY=.gif
    })
    .catch(console.error);

The available sites are:

  • frinkiac - frinkiac.com
  • morbotron - morbotron.com
  • moas - masterofallscience.com

License

ISC © Sammy Griffiths

0.8.1

2 years ago

0.8.0

3 years ago

0.7.1

3 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.5.1

4 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago