diff --git a/index.php b/index.php new file mode 100644 index 0000000..ccda696 --- /dev/null +++ b/index.php @@ -0,0 +1,389 @@ + + + + + + + + Neural Network Interface + + + +
+
+

Urmic.org

+

Powred by ShreeBhattJi ( Devdatt Bhatt )

+
+ +
+
+

📥 Downloaded Content

+

Access your downloaded files and media library

+ Access Library +
+ +
+

🚀 Downloader

+

Manage and schedule new downloads

+ Open Downloader +
+
+ +
+

🌐 Samba Share Credentials

+

Network access information for shared resources

+ +
+

Current Windows IP Address:

+
+ +
+ \\\download +
+ +
+
+

Username

+

shreebhattji

+
+
+

Password

+

foreverstreamingpartner

+
+
+
+ +
+

🔄 Update yt-dlp

+

Update yt-dlp to the latest version

+ +
+
+ + +
+ + + + \ No newline at end of file diff --git a/setup.sh b/setup.sh index 66a1461..91e7cf2 100755 --- a/setup.sh +++ b/setup.sh @@ -1,17 +1,17 @@ -apt updtae; +apt update; apt upgrade -y; -apt install php ffmpeg apache2 php-gd samba -y +apt install php ffmpeg apache2 php-gd samba python3-pip -y rm -rf /var/www/html/* -mkdir -p /var/www/download /var/www/downloader /var/www/download/queue /var/www/download/ready +mkdir -p /var/www/html/download /var/www/html/downloader /var/www/html/download/queue /var/www/html/download/ready -cp -r downloader/* /var/www/downloader +cp -r downloader/* /var/www/html/downloader # Create system user if it doesn't exist sudo useradd -m -s /bin/bash shreebhattji sudo smbpasswd -a shreebhattji echo "foreverstreamingpartner" | sudo smbpasswd -s -a shreebhattji -sudo chmod 755 /var/www/download +sudo chmod 755 /var/www/html # Add shreebhattji to www-data group to avoid read/write conflicts sudo usermod -a -G www-data shreebhattji @@ -21,7 +21,7 @@ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.backup cat << EOF | sudo tee -a /etc/samba/smb.conf [download] - path = /var/www/download + path = /var/www/html/download browseable = yes writable = yes guest ok = no @@ -52,4 +52,6 @@ StandardError=journal [Install] WantedBy=multi-user.target -EOF \ No newline at end of file +EOF + +pip install yt-dlp --break-system-packages