Easy file sharing from the command line

# Upload using cURL
$ curl --upload-file hello.txt https://aptget.xyz https://aptget.xyz/66nb8/hello.txt

# Using the alias
$ aptget hello.txt
##################################################### 100.0% https://aptget.xyz/eibhM/hello.txt

# Upload from web
Drag your files here, or click to browse.
learn more

Made for use within shell

Share files with just a URL

Upload up to 1GB

Files stored until AWS bill is $1000

Sample use cases

How to upload

# Uploading is easy using curl
$ curl --upload-file hello.txt https://aptget.xyz
https://aptget.xyz/66nb8/hello.txt

# Download the file
$ wget https://aptget.xyz/66nb8/hello.txt

Add an alias to .bashrc or .zshrc

# Add this to .bashrc or its equivalent
aptget() { if [ $# -eq 0 ]; then echo -e "No arguments specified. Usage:\naptget hello.txt"; return 1; fi; tmpfile=$( mktemp -t aptgetXXX ); if tty -s; then basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --upload-file "$1" "https://aptget.xyz/$basefile" >> $tmpfile; else curl --progress-bar --upload-file "-" "https://aptget.xyz/$1" >> $tmpfile ; fi; cat $tmpfile; rm -f $tmpfile; }

# Now you can use the aptget command
$ aptget hello.txt