goof
goof is a lightweight command-line utility written in Golang that simplifies serving files and directories over a network. Modeled after the classic Python script woof, this tool addresses the difficulty of quickly sharing data across a local network without complex server configurations. It allows users to host single files or entire directories via a simple HTTP server. When a directory is selected, the tool automatically compresses its contents into a ZIP archive before delivery. Users can customize the service behavior by specifying the listening IP address, port number, and the number of times a file should be served before the process exits. Additionally, goof includes a client mode that ingests a URL argument to download and save remote files directly to the current working directory. A unique feature allows the application to serve its own binary to other machines, facilitating easy distribution and installation. The software is designed for speed and simplicity, requiring minimal system resources. It