Giter Site home page Giter Site logo

parrotify-cli's Introduction

parrotify-cli

Custom parrots from your command line ๐ŸŽ‰

parrotify-cli demo

Installation

npm install -g parrotify-cli

Requires node > 8

To display the parrot in your command line you need iTerm > 3, a parrot.gif will be generated in your current directory anyway.

Usage

Just running

> parrotify

Will start the wizard โœจ which will guide you through the parrot generation process ๐Ÿฆ„

You can also give these options:

> parrotify [options]


  Options:

    -V, --version             output the version number
    -w --wizard               Use the wizard (inquirer) to create your custom parrot โšก๏ธ
    -b --base [base]          Base parrot to use
    -o --overlay [overlay]    Image to place on top of the parrot
    -p --position [position]  Position of the overlay (face, hand or hat)
    -d --delay [delay]        How hard does the parrot party?
    -h, --help                output usage information

Positioning

The overlay will autoposition itself based on it's ratio and chosen base (experimental).

> parrotify -o http://vignette3.wikia.nocookie.net/runescape2/images/0/0a/Wizard_hat_\(t\)_detail.png -p hat -b mega

Will generate:

parrotify hat demo

A gif file will be generated in the current path showing the result parrot. By default it will be called parrot.gif

TODO

  • Error handling whenever user data is not entered properly (missing overlay and positions defined)

  • Give an error when node version < 8

  • Prevent replacing existing parrot.gif in the folder.

  • Customise overlay size option.

Contributing

Please see our contributing.md


PARTY OR DIE

Built using Parrot As A Service

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.