Code Monkey home page Code Monkey logo

github-avatar-downloader's Introduction

GitHub Avatar Downloader

Problem Statement

Given a GitHub repository name and owner, download all the contributors' profile images and save them to a subdirectory, avatars/.

Expected Usage

This program should be executed from the command line, in the following manner:

node download_avatars.js jquery jquery

Functional Requirements

As an open source project leader, I want a folder with the avatars of all of my github project's contributors so that I can use them in a website.

Given

  • I have node installed
  • I am in the shell
  • I have your file in my current folder

When

  • I execute your file using node, providing a github user and repository as command-line arguments For example: $ node download_avatars.js nodejs node

Then

  • I should find a folder called avatars in my current directory
  • The avatars folder should contain images corresponding to the avatars of the contributors of the repo
  • The name of each image file should be the contributor's name and the file extension (ex. johnny.png)

Implementation Requirements

  • uses 'request' library to make the HTTP requests
  • uses git for version control

github-avatar-downloader's People

Contributors

nridout 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.