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
Usage
Make sure either glod-cli
is in your $PATH
or provide a path to it.
$ glod-cli help
NAME:
glod-cli - Command line tool using glod library to download music/video from multiple source
USAGE:
glod-cli_darwin_amd64 [global options] command [command options] [arguments...]
VERSION:
1.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--link download "link" Input zing/nhaccuatui/youtube/soundcloud link
--custom directory "dir" The directory you want to save
--help, -h show help
--version, -v print the version
Supported sources & TODO
Music
Video
- YouTube
- Vimeo
- Lynda
- Udemy
- Coursera
Files
- Flickr
- Slideshare
- Dropbox
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
.
Video Walkthough
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.