Project

yadisk

0.03
No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Command line tool for download file from Yandex.Disk through share link
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.9, < 4.0
 Project Readme

Gem Version Build Status Coverage Status

Yadisk

Command line tool for download file from Yandex.Disk through share link

Install

$ gem install yadisk

For development:

$ gem install --dev yadisk

How use

# Save to current directory
$ yadisk https://yadi.sk/i/HEjuI2Ln3RiRcQ

# Save to other directory
$ yadisk https://yadi.sk/i/HEjuI2Ln3RiRcQ /path/to/directory

How use for development

# Local build and install to rubygems
$ gem build yadisk.gemspec && gem install yadisk-*

# Remove local file and uninstall from rubygems
$ rm yadisk-*.gem && gem uninstall yadisk

# Run script from local folder
$ ruby -Ilib ./bin/yadisk https://yadi.sk/i/HEjuI2Ln3RiRcQ

Dependencies

Use in Windows

  1. Download and install wget from gnuwin32.sourceforge.net
  2. Add <you base path>\GnuWin32\bin (E.g. C:\Program Files (x86)\GnuWin32\bin) to PATH environment variable.

Use Docker

docker build -t yadisk .
docker run -v ${pwd}:/yadisk --rm -it yadisk sh # for interactive
docker run --rm yadisk yadisk https://yadi.sk/i/HEjuI2Ln3RiRcQ
docker run -v $(pwd):/yadisk --rm yadisk yadisk https://yadi.sk/i/HEjuI2Ln3RiRcQ

Use Docker for Dev

To be soon

Test

For run test use:

$ rspec

Contribution

Feel free for send me pull request.

License

License (MIT) Copyright (c) 2018 Yegorov A. yegorov0725@yandex.ru