GithubHelp home page GithubHelp logo

conget's Introduction

Conget

Conget is a CLI app which is a concurrent file downloader that download the file data by splitting into several chunks and fetch the data asynchronously.

Install

Get the dependency with 'dep'

$ dep ensure

If you don't have dep installed, this app has only one dependency right now github.com/urfave/cli so you can just get it with

go get github.com/urfave/cli.

And run this

$ go install

If you have added go bin diretory to your $GOPATH, Just like this: PATH="$GOPATH/bin:$PATH" then you can just run conget command from anywhere on your terminal. Or you may have to move the compiled binary file from $GOPATH/bin to /usr/local/bin to run it globally.

Installing or running it without Go

Clone the repo or just get the conget file and run it like this ./conget or if you want to run it as global command just move the file to your /usr/local/bin.

Usage

$ conget -u http://example.com/example.mp4

The default concurrent number is set to 10 if no number is provided. To set the concurrent number provide the number with -c option. Ex: $ conget -c 12 -u http://example.com/example.mp4

Note It downloads the file in current directory where you run the command.

Contribution

This is just in experimental phase, so if you think anything could be improved or fixed just send the PR.

conget's People

Contributors

monirz avatar

Watchers

 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.