Update: new URL freedoms4.org

This commit is contained in:
psychhim
2026-01-12 21:16:30 +05:30
parent fea23bf5e3
commit b011fa5009
2 changed files with 28 additions and 38 deletions

View File

@@ -96,15 +96,13 @@ upload -C -e
~/.uploaded_files.txt ~/.uploaded_files.txt
Each line format: --Each line format: YYYY-MM-DD HH:MM:SS | filename | URL
YYYY-MM-DD HH:MM:SS | filename | URL --Tracks last 100 uploads.
Used for tracking last 100 uploads. --recent flag outputs the contents of the file.
--recent shows chronological uploads. --check flag checks all the URLs from the file and shows if they are still active.
--check verifies if URLs are still active.
## Colors ## Colors
@@ -120,23 +118,15 @@ upload -f file.png --no-color
## Requirements ## Requirements
Bash 4+ Bash 4+, curl
curl For clipboard copying: xclip(Linux), pbcopy(MacOS)
Optional for clipboard copying: For screenshot uploading: grim, slurp
Linux: xclip
macOS: pbcopy
Optional for Screenshot uploading:
grim, slurp
## License ## License
MIT License - https://mit-license.org/ MIT License - https://mit-license.org/
### Author ### Author
Created by psychhim https://github.com/hexZoN3/command_upload Created by hyzen https://github.com/hyzendust/command_upload

View File

@@ -3,7 +3,7 @@
set -euo pipefail set -euo pipefail
UPLOAD_URL="https://user:pass@upload.freedoms4.top/index.php" UPLOAD_URL="https://user:pass@upload.freedoms4.org/index.php"
HISTORY_FILE="$HOME/.uploaded_files.txt" HISTORY_FILE="$HOME/.uploaded_files.txt"
COPY_TO_CLIPBOARD=false COPY_TO_CLIPBOARD=false
USE_COLOR=true USE_COLOR=true