Skip to content

Command line tool for uptobox.com, built for personal use only, you may wanna adjust the code for your needs.

License

Notifications You must be signed in to change notification settings

vaginessa/php-uptobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

A Command line tool, built for uptobox.com

NOTE This tool is built for my personal use only, but it has the most required features, like login to your uptobox account, copying files from other account, renaming files, and much more.

Feel free to adjust it for your need, and send me a PR :)

Usage:

Before you start

$ ./uptobox env:create

This command will create .env file on the root of the application, please open it and fill in your uptobox username and password.

UPTOBOX_USERNAME=
UPTOBOX_PASSWORD=

Command line:

$ ./uptobox <uptobox-link> --json

--json is not required, but in case you want to use the tool from other programs, and you need to get the output as json, then pass this flag.

This command will copy the file from the given link to your account, and return a direct download link, and a stream if it's available.

The returned data looks like this:

'source_link' => '',       // link you provided
'new_link' => '',          // link to the file copied to your account
'para_title' => '',        // original title of the file (complete)
'name' => '',              // original name of the file
'size' => '',              // size
'add_to_my_account' => '', // file is added to your account
'slug' => '',              // new name of the file in your account (hashed)
'stream' => '',            // stream link
'direct' => '',            // direct link to your file

About

Command line tool for uptobox.com, built for personal use only, you may wanna adjust the code for your needs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages