host
host copied to clipboard
Added an interactive menu
Update to Temporary Local File Hosting - Version 2.3
Changes:
- Added an interactive menu: A user-friendly interactive menu has been incorporated, allowing users to easily select their preferred hosting option from a list of choices - localhost, ngrok.io, cloudflared, and localxpose.
- The
init
function encapsulates the setup and execution of the hosting service. It manages the sequence of steps required to prepare the environment, install dependencies (if needed), and present the user with the interactive menu to choose their desired hosting method. By encapsulating these tasks within theinit
function, the codebase becomes more modular and maintainable.