GithubHelp home page GithubHelp logo

gyumeijie / github-files-fetcher Goto Github PK

View Code? Open in Web Editor NEW
154.0 4.0 25.0 103 KB

Download a specific folder or file from a GitHub repo through command line

Home Page: https://www.npmjs.com/package/github-files-fetcher

JavaScript 98.22% Shell 1.78%
github-repository downloader fetcher cli files fetch npm-package command-line command-line-tool github

github-files-fetcher's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @Gyumeijie
  • ๐Ÿ‘€ Iโ€™m interested in ...
  • ๐ŸŒฑ Iโ€™m currently learning ...
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on ...
  • ๐Ÿ“ซ How to reach me ...

github-files-fetcher's People

Contributors

gyumeijie avatar tdnguyen6 avatar xeruf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

github-files-fetcher's Issues

Repository url parsing error

The github-files-fetcher doesn't parse the url of a repository.

For example:
fetcher --url="https://github.com/reduxjs/redux/tree/master/examples/async/" --out="/tmp" is expected to generated the following output:

/tmp/async/README.md downloaded.
/tmp/async/package.json downloaded.
/tmp/async/.gitignore downloaded.
/tmp/async/src/index.js downloaded.
/tmp/async/package-lock.json downloaded.
/tmp/async/src/components/Posts.js downloaded.
/tmp/async/src/components/Picker.js downloaded.
/tmp/async/src/containers/App.js downloaded.
/tmp/async/src/reducers/index.js downloaded.
/tmp/async/public/index.html downloaded.
/tmp/async/src/actions/index.js downloaded.

But actually, it outputs the following messages, and the filenames are totally messed.

/tmp//EADME.md downloaded.
/tmp//rc/index.js downloaded.
/tmp//gitignore downloaded.
/tmp//ackage.json downloaded.
/tmp//rc/reducers/index.js downloaded.
/tmp//rc/containers/App.js downloaded.
/tmp//rc/components/Picker.js downloaded.
/tmp//rc/components/Posts.js downloaded.
/tmp//rc/actions/index.js downloaded.
/tmp//ublic/index.html downloaded.
/tmp//ackage-lock.json downloaded.

The url above should be treated as https://github.com/reduxjs/redux/tree/master/examples/async.

support fot gitlab

How can i use this for my gitlab repo,will a config change enable it or its not possible at the moment.

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.