Tinfoil server using google drive link
This script can serve Google Drive link, URL Files (No admin for inserting), or hosted files.
based on this documentation
sample on tabel.sql
composer install
if you enable login $must_login = false; you must use SMS Server or WhatsApp server. username is phone number, and pasword anything, it will send real password by sms.
docker-compose up
all script need to run from command line, except Google login. need to run from browser.
How to setup google drive client, and put it on config.php, just change $client_id and $client_sc
http:// domain/import/login.php
to login drive, check inside token folder if it exists.cd import/
go to folder import from command linephp importGameData.php
run it first, to download game data.folder.example.txt
to folder.txt
folder.txt
php drive2db.php
it will start importing file id from google drivefile2db.php
will scan game inside folder data/games
to database. you can upload your games file to this folder,run it from browser