glod-cli

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

README

Build Status Coverage Status

glod-cli

glod-cli is a small command line tool that using glod to download music/video from multiple sources.

glod-cli is written in Go with support for multiple platforms. We currently provide pre-built binaries for Windows, Linux, FreeBSD and OS X (Darwin) for x64, i386 and ARM architectures.

glod-cli may also be compiled from source wherever the Go compiler tool chain can run, e.g. for other operating systems including DragonFly BSD, OpenBSD, Plan 9 and Solaris

Video Walkthough

Video Walkthrough

Installation

Binary Install

If you want to use glod-cli, simply install the glod-cli binaries. The glod-cli binaries have no external dependencies.

Installation is very easy. Simply download the appropriate version for your platform from glod-cli Releases. Once downloaded it can be run from anywhere. You don’t need to install it into a global location. This works well for shared hosts and other systems where you don’t have a privileged account.

Ideally, you should download and put it somewhere in your $PATH for easy use. /usr/local/bin is the most probable location.

On OS X, if you have Homebrew, installation is even easier: just run

$ brew update && brew install glod-cli
Build and Install the Binaries from Source

Add glod-cli and its package dependencies to your go src directory.

go get -v github.com/dwarvesf/glod-cli

Once the get completes, you should find your new glod-cli (or glod-cli.exe) executable sitting inside $GOPATH/bin/.

To update glod-cli dependencies, use go get with the -u option.

go get -u -v github.com/dwarvesf/glod-cli
Upgrading

Upgrading glod-cli is as easy as downloading and replacing the executable you’ve placed in your $PATH.

Usage

Make sure either glod-cli is in your $PATH or provide a path to it.


$ glod-cli help

NAME:
   glod-cli - A small cli written in Go to help download music/video from multiple sources.

USAGE:
   glod-cli [global options] command [command options] [arguments...]

VERSION:
   1.0.3

AUTHOR(S):
    <dev@dwarvesf.com>

COMMANDS:
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --Media URL "link"				Input MP3/nhaccuatui/youtube/soundcloud link
   --Custom output directory "dir"	The directory you want to save
   --play							Play song after downloaded
   --help, -h						show help
   --version, -v					print the version
	

Example: To download song/video to current directory

glod-cli https://www.youtube.com/watch?v=6d6oq0zGGmw 

To download song/video to custom directory

glod-cli https://www.youtube.com/watch?v=6d6oq0zGGmw youtube-download

To play song/video after downloaded(OSX support)

glod-cli --play https://www.youtube.com/watch?v=6d6oq0zGGmw

Supported sources & TODO

Music
Video
Files
  • Flickr
  • Slideshare
  • Dropbox

License

Copyright 2016 Dwarves Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/PuerkitoBio/goquery
Package goquery implements features similar to jQuery, including the chainable syntax, to manipulate and query an HTML document.
Package goquery implements features similar to jQuery, including the chainable syntax, to manipulate and query an HTML document.
_workspace/src/github.com/andybalholm/cascadia
The cascadia package is an implementation of CSS selectors.
The cascadia package is an implementation of CSS selectors.
_workspace/src/github.com/cheggaaa/pb
Simple console progress bars
Simple console progress bars
_workspace/src/github.com/codegangsta/cli
Package cli provides a minimal framework for creating and organizing command line Go applications.
Package cli provides a minimal framework for creating and organizing command line Go applications.
_workspace/src/github.com/dwarvesf/glod
Being inspired by youtube-dl, Glod is a small library to help retrieve direct URL from multiple media sources that written in Go.
Being inspired by youtube-dl, Glod is a small library to help retrieve direct URL from multiple media sources that written in Go.
_workspace/src/golang.org/x/net/html
Package html implements an HTML5-compliant tokenizer and parser.
Package html implements an HTML5-compliant tokenizer and parser.
_workspace/src/golang.org/x/net/html/atom
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".
Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL