This is share svg Share this item

GoFoil (CLI)

Gofoil is a little tool inspired by tinfoil's python remote_install_pc.py, written in go. Using a little bit of bycEEE/tinfoilusbgo.


fCwXs11aEBm1DhmL_gvAfgNLYUdeCH9ArPaSr-gllaKS8_8rauYpgY-E1XnQc2maFouOWuopcx6BVDmtwfjp3J-Cltt8POtpgahiPyTaS768be2cEk4qGplnMqGxOFR-RlEWhy
I wanted to load switch saves from my NAS onto my switch without powering up my computer. No client provided samba or NFS, so this was designed as an always on server to run on my NAS, that can handshake with Tinfoil-like net install and serve files directly from there.

This was tested only with Awoo Installer on Atmosphere. May also work on tinfoil but not tested.

Usage
To run gofoil, you need to provide it a few arguments, like the host IP, port, and folder to scan for switch files.
Example, on a windows machine (and shared network):

gofoil -root /volume1/ -folders Games -ip 192.168.1.2 -port 8000

usage :

gofoild

-folders string
CSV of folders to scan (default "Downloads,Games/switch")
-ip string
Host IP to display to switch (default "192.168.1.95")
-port string
Host Port to display to switch (default "8000")
-root string
Path to start scanning from (default "Z:\\")

On Qnap it start automatically goild on port 8008 and scan /share as root

It will start a server at the ip:port indicated. You can open this page (on your phone for example) to show a page where you can input your switch's IP.
With Awoo or Tinfoil opened on your switch, and the network install selected, you should now see a list of files from the directory, available to install.


TIP ME !!
Your gratitude and finance will help me to continue integration of this QPKG and maintain up to date versions.


www.paypal.me/qoolbox



Contact the Author

No older version