I want to share this simple tool I created to share files between devices in the same network using Golang Web Server.
Just type go install github.com/jempe/servedir@latest .
Then go to the directory you want to share and use the command servedir plus the port number.
It will display the url you need to enter in your web browser to access the files.
It also works on Android using Termux app.
The source is available here: https://github.com/jempe/servedir
Enjoy!