Coder Social home page Coder Social logo

githubdownloader's Introduction

GithubDownloader

A GitHub CLI utility that lets you download repositories' release assets without the need of opening a browser and searching

Features:

  • Lists all you might need to know when choosing the repository and release asset.
  • Allows for instant zip file extraction (other zip files like tar.gz should work).
  • Cross platform support for Windows and unix systems

How to use:

  1. Download and extract the latest release and unzip the contents.
  2. You can either make a token.txt file or run GihubtDownloader.exe for the first time and let it make one for you.
  3. Place your github token into the token.txt file.
  4. Re-run GithubDownloader.exe and enjoy!.

Command Line Arguements: When using command line arguements, 3 parameters are specifed, here is the style of command the program accepts:

GithubDownloader.exe <repo-owner>/<repo-name> <path-to-download-into> <extract>

An example of this would be the following:

GithubDownloader.exe MelonIs45/GithubDownloader C:/Demo/Output true

NOTE: If there are any paths that have spaces in them, surround them with ".

When you run with arguments, you will still have to select the asset you'd like to download.

Building

Prerequisites to build:

  • 64bit dotnet 5.0

How to build:

  • Enter the downloaded folder and run dotnet run in the current directory.
  • Build files will be in ~/bin/Debug/net5.0/.

Packages used:

octokit.net - used for interation with the GitHub API

nfd-sharp - used for the folder browser as a wrapper for the nativefiledialog library

Why do you need a token?

The need for a GitHub token is there for the webclient to provide the token for downloading files from GitHub, as well as for increasing the API request limit, allowing you to make more requests if that is what you might want.

If you don't know how to obtain your token, you can recieve it here.

githubdownloader's People

Contributors

melonis45 avatar

Watchers

 avatar

Forkers

bubdm

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.