Skip to content
This repository has been archived by the owner on Jul 21, 2018. It is now read-only.

pluser/yacoinado

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Coinado.io Client

What is coinado?

Coinado is a remote torrenting service. We do the torrenting for you, worry about seeding, keep your privacy and deliver the file over an encrypted connection. After requesting a file, the torrenting happens transparently on our servers and a minute later the file starts streaming to you.

And this software is a client of coinado.io.

Dependence

How to install

It is easy.

$ git clone https://github.com/pluser/yacoinado.git --depth 1
$ cd yacoinado.git
$ pip install -r requirements.txt
$ pip install PySixel # to display QRcode in your terminal (optional)

Done.

How to use

First of all, you need to set your secret key as environment variable. The secret key will be found in your genuine coinado.io script file which you have downloaded before.

$ export YACOINADO_SECRET=foobarfoooooobaaaaaaa

Now, you can download smoothly.

$ python yacoinado.py 743bc6fad39e3a35460d31af5322c131dd196ac2
$ python yacoinado.py 'http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso.torrent'
$ python yacoinado.py 'magnet:?xt=urn:btih:743bc6fad39e3a35460d31af5322c131dd196ac2&dn=ubuntu-14.04.3-desktop-amd64.iso'
$ python yacoinado.py ~/Desktop/ubuntu-14.04.3-desktop-amd64.iso.torrent

If you want to download the specific file,

$ python yacoinado.py 743bc6fad39e3a35460d31af5322c131dd196ac2 --select filename_or_keyword

Want all files instead of specific file? Yes you can.

$ python yacoinado.py 743bc6fad39e3a35460d31af5322c131dd196ac2 --all

To inquire account balance,

$ python yacoinado.py --inquire
...
Balance: 6.42 GB
...

Advanced usage

Basic

$ python yacoinado.py --filename 743bc6fad39e3a35460d31af5322c131dd196ac2
ubuntu-14.04.3-desktop-amd64.iso
$ python yacoinado.py --endpoint 743bc6fad39e3a35460d31af5322c131dd196ac2
https://coinado.io/i/743bc6fad39e3a35460d31af5322c131dd196ac2/auto?u=yoursecretfoobar
$ python yacoinado.py --infohash 'http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso.torrent'
743bc6fad39e3a35460d31af5322c131dd196ac2

Using high functioning downloader

$ cat hash-list.txt | python yacoinado.py --endpoint --stdin | xargs curl -O --remote-header-name
$ cat hash-list.txt | python yacoinado.py --endpoint --stdin | xargs wget --content-disposition

Parallel download (GNU Parallel)

$ cat hash-list.txt | python yacoinado.py --endpoint --stdin | parallel -a - curl -O --remote-header-name

License

BSD 3-clause license

About

Yet another Coinado.io command line client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages