Repo is archived, check issue for more information: #1
Now you can just do:
pkg install python tor
pip install onionshare-cli
onionshare-cli
This script will install Onionshare in your termux (android) and let you share files securely https://onionshare.org/
pkg update
pkg install git
git clone https://github.com/oleanderxoxo/onidroid
cd onidroid
bash setup.sh
onionshare /location/of/file.extension
example:
onionshare /sdcard/oleander.jpg