termuxinstall.sh (2057B)
1 #!/data/data/com.termux/files/usr/bin/bash 2 3 echo "Initializing Heartranked Version 11 Installer for Android Termux..." 4 cat <<'EOF' 5 .__---~~~(~~-_. 6 _-' ) -~~- ) _-" )_ 7 ( ( `-,_..`.,_--_ '_,)_ 8 ( -_) ( -_-~ -_ `, ) 9 (_ -_ _-~-__-~`, ,' )__-'))--___--~~~--__--~~--___--__.. 10 _ ~`_-'( (____;--==,,_))))--___--~~~--__--~~--__----~~~'`=__-~+_-_. 11 (@) (@) ````` `-_(())_-~ mn 12 EOF 13 14 # 1. System updates inside Termux architecture 15 echo "Updating Termux repositories..." 16 pkg update -y && pkg upgrade -y 17 18 # 2. Grab system dependencies safely inside native phone sandbox environment 19 echo "Installing core utilities, media libraries, and compression systems..." 20 pkg install -y python ndk-sysroot clang make libjpeg-turbo wget zip unzip ffmpeg sox mediainfo 21 22 # 3. Handle specific modern python wheels inside mobile platforms 23 echo "Upgrading pip components..." 24 pip install --upgrade pip setuptools wheel 25 26 # 4. Pull Python libraries required for data extraction, web parsing, and text generation 27 echo "Installing application requirements..." 28 pip install mutagen pillow markdown requests 29 30 # 5. Extract and deploy web.py framework bundle from project archive 31 if [ -f "webpy-v.0.76.zip" ]; then 32 echo "Installing local web.py wheel framework..." 33 pip install ./webpy-v.0.76.zip 34 else 35 echo "⚠️ Warning: webpy-v.0.76.zip archive not directly located in execution path." 36 echo "Attempting alternative distribution extraction..." 37 pip install web.py 38 fi 39 40 # 6. Initialize tracking paths natively so web.py server loop starts immediately 41 #echo "Building functional directory tree structures..." 42 #mkdir -p p/posts p/zipped p/comborank p/heartrank p/deleted u/ r/visitors r/invites r/trusted r/users r/stopflood r/stopresetpass #sessions 43 44 cat <<'EOF' 45 .-. 46 .-""`""-. |(@ @) 47 _/`oOoOoOoOo`\_ \ \-/ 48 '.-=-=-=-=-=-=-.' \/ \ 49 `-=.=-.-=.=-' \ /\ 50 ^ ^ ^ _H_ \ 51 52 🚀 Installation Complete! 53 To deploy your sovereign network node live on your phone, execute: 54 python server.py 55 EOF