Chan5k / SWFS

SWFS (Simple Web File Server) is a Bash script that allows you to quickly and easily start a file server to share files over a local network. With SWFS, you can serve files from a specified directory and choose whether to run the server in the background or foreground.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SWFS - Simple Web File Server

SWFS (Simple Web File Server) is a Bash script that allows you to quickly and easily start a file server to share files over a local network. With SWFS, you can serve files from a specified directory and choose whether to run the server in the background or foreground.

Features

  • Serve files from a chosen directory.
  • Start the server in the background for convenience.
  • Simple menu-driven interface.
  • Informative messages about Python's availability and installation.

Getting Started

  1. Prerequisites: Ensure you have Python 3 installed on your system. If not, the script will provide instructions on how to install it.

  2. Clone or Download: Clone this repository to your local machine using git clone or download the ZIP archive.

  3. Navigate to the Directory: Open a terminal and navigate to the directory where you cloned or downloaded the repository.

  4. Run the Script: Run the script using the following command:

    bash swfs.sh
    
  5. Follow the Menu: The script will display a menu. Choose the desired options to start the file server and provide the directory to serve files from.

  6. Access the Server: Once the server is started, you can access it from a web browser using the provided port number.

  7. Stopping the Server: If you started the server in the background, you'll be given instructions on how to stop it using the kill command.

License

This project is licensed under the MIT License.

Contribution

Contributions to enhance the script's functionality, improve documentation, or fix issues are welcome. Please create a pull request to contribute.

Acknowledgments

  • This script is inspired by the need for a quick and lightweight way to share files over a network.
  • Special thanks to the open-source community for providing tools and resources that make projects like this possible.

Disclaimer: This script is provided as-is and is not intended for production use. Use it responsibly and be cautious when sharing files over a network.

About

SWFS (Simple Web File Server) is a Bash script that allows you to quickly and easily start a file server to share files over a local network. With SWFS, you can serve files from a specified directory and choose whether to run the server in the background or foreground.

License:MIT License


Languages

Language:Shell 100.0%