Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > plowshare

Plowshare is a CLI download/upload tool for 'Hoster' websites.

Install

  1. Connect to your slot through SSH

  2. Clone the plowshare repository

     git clone https://github.com/mcrapet/plowshare.git ~/plowshare4
    
  3. Navigate to the plowshare repository directory

     cd ~/plowshare4
    
  4. Install the program

     make install PREFIX=$HOME/plowshare
    
  5. Run the following to allow use of plowshare commands directly from any directory (if you've done this for plowshare previously, you do not need to do it again)

     echo "PATH=\$HOME/plowshare/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    
  6. Run the following command to test. If it displays the plowdown help, you have successfully installed plowshare.

     plowdown -h
    
  7. To install the modules for supported one-click hoster run the command

     plowmod --install
    

    Later, use the following command to upload the modules

     plowmod --update
    
  8. Create the configuration directories and file used for plowshare

     mkdir -p ~/tmp ~/.config/plowshare; touch ~/.config/plowshare/plowshare.conf
    
  9. Copy the contents of the box below into the ~/.config/plowshare/plowshare.conf file:

plowshare.conf

[General]
temp-directory = /home/user/tmp

Optional: Clean up unneeded source files

    rm -r ~/plowshare4

Hosters requiring Javascript

Download this compiled JavaScript binary to your bin directory.

wget -O ~/plowshare/bin/js https://www.dropbox.com/s/cwjmcfzbpi0ktp9/js?dl=1 && chmod +x ~/plowshare/bin/js

Usage

You can find usage examples and on plowshare's Readme

Captcha

To download from sites using any kind of Captcha, use the --captchamethod=imgur switch to receive an image url to open in your browser. Enter the text at the prompt.