-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sh: Pixeldrain: improve upload process [SQUASHED]
Usage Instructions for Linux Environment: To make the script globally available, run the following commands in your terminal: sudo wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/usr/local/bin/pixeldrain" sudo chmod +x /usr/local/bin/pixeldrain To uninstall pixeldrain, you can run: sudo rm "/usr/local/bin/pixeldrain" Usage Instructions for Termux: 1. Download this script using wget: wget https://raw.githubusercontent.com/tanvirr007/scripts/main/scripts/pixeldrain.sh -O "/data/data/com.termux/files/usr/bin/pixeldrain" && chmod +x "/data/data/com.termux/files/usr/bin/pixeldrain" To uninstall pixeldrain from Termux, you can run: rm "/data/data/com.termux/files/usr/bin/pixeldrain" How to Upload Files: 1. Run the script with the file(s) you want to upload: pixeldrain <your_filename> 2. You can upload multiple files by specifying their names separated by spaces: pixeldrain <file1> <file2> <file3> 3. If you have long filenames, you can use wildcards like: pixeldrain So*.zip pixeldrain Something*.zip 4. When you run the script for the first time, you’ll be prompted to enter your PixelDrain API key. This key will be saved in your home directory as .pixeldrain_api_key and reused automatically for future uploads. If you want to edit, change, or revoke your API key, simply open it via: nano .pixeldrain_api_key Android App: - [Download Pixeldrain]: https://raw.githubusercontent.com/tanvirr007/scripts/main/assets/Pixeldrain.v1.0.0.apk - API Key prompt and secure storage - Automatic jq Installation if missing - Show files with basic metadata - Sequential Uploads with error checks - Upload Summary with success count
- Loading branch information
1 parent
85e68a5
commit 5d77fb8
Showing
1 changed file
with
137 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters