Here is the beauty of the small bash web server , I found it online and forked a copy and messed it up a bit - it uses socat or netcat I tested it with socat - it is standalone in one-script and generates its own configuration file and icon.
By default, it starts as a browser with web browser support, but it is easily configured with a configuration file for any logic. For files, it transfers images and music (mp3), video (mp4, avi, etc.). I tested streaming of various file types on Linux, Windows and Android devices, including smartwatch!
I think these threads are better than VLC. I found this useful for transferring files to remote clients that do not have access outside of a web browser, for example. An Android smartwatch without worrying about physically connecting to a USB port.
If you want to try, just copy and paste it into a file called bashttpd, then run it on the host using $> bashttpd -s
Then you can go to any other computer (suppose the firewall does not block incoming tcp connections to port 8080 - the default port, you can change the port to whatever you want using the global variables at the top of the script). http://bashttpd_server_ip:8080
#!/usr/bin/env bash / 6Ch1P + Vl9f / jIzc / 3572f + CgNr / fnzP / 3l01f + Ih9r / h4TZ / 8fN4 // P1Oj / 3uPr / 7O + 1v + xu9X / u8XY #!/usr/bin/env bash
user4401178 May 16 '15 at 14:55 2015-05-16 14:55
source share