Git Product home page Git Product logo

govie's Introduction

Govie Smiley face

Govie is a linux command line tool for movie buffs. Govie allows you to:

  • Instantly access movie pages from IMDB
  • Know the rating and other details of a new movie
  • Download and maintain poster collection of the movies you like.
  • Flexibility to read from command line arguments.
  • Ability to downloadable posters in light speed.
  • Can read and process list of movies from a file

Now let me show you how tool works.

Opening a Movie page of IMDB

command_open

Use -o flag to open a movie's IMDB page in browser.

$ ./govie -o american-hustle gods-of-egypt

When we type the command, it takes us to the IMDB page of respective movie. Now we will see these two IMDB pages opened for us already in browser.

command_open command_open

Getting details of a movie

Instead of launching browser, we can have a quick peek at details. Like curious to know about rating of a movie etc. We need to use -d option here.

$ ./govie -d jurassic-park titanic outlander

Then output is visible on terminal itself. command_open

Sometimes a movie name can create ambuiguity. So If you know the release year of the movie, we can pass it in -y option to get correct details.

$ ./govie -d -y=2016 tarzan

This gives the details about The Legend of the Tarzan (2016).

Saving a movie poster

We can use -p option to save the poster of a movie in a given directory. Govie also takes multiple movies at the same time to download their posters to the given directory.

$ ./govie -p jurassic-park titanic outlander ~/posters

We should pass movies & poster save directory path to the above -p option Using it we can create our own poster collection in our computer. Govie tries to fetch a decent quality poster for a movie.

command_open

Downloading and installing Govie

If you are on Ubuntu or any linux system, you can download Govie tar package from here.

Govie tar package

Then navigate to downloaded folder and do

 $ tar -xvf govie.tar

It gives a binary executable called govie. Now you can use it with the above syntax of execution. But for universal accesing of executable add a ALIAS in .bashrc or .zshrc .

Debugging

Govie creates a file in your home directory for purpose of logging and crash reporting that file is govie.log. Contents of that log file are used to report bugs if tool crashes.

~/govie.log

command_open

govie's People

Contributors

narenaryan avatar

Watchers

James Cloos avatar  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.