Simple HTTP is a Raycast extension to serve a directory with a local HTTP server.
To install the Simple HTTP extension, follow these steps:
Note:
You need to have Python 3.7 or newer installed on your system to use this extension. On macOS, Python is bundled with the Command Line Tools. To install Command Line Tools, runxcode-select --installin the terminal. The extension expectspython3to be available in your PATH.
Once installed, simply trigger the Raycast command palette and search for the Simple HTTP commands.
Manage Simple HttpThis command will show a form which allows you to specify the port and directory to serve. You can also choose to open the URL in your default browser once the server is started.
Simple Http StatusThis command will show the current status of the HTTP server (Running or Not Running).
Default PortYou can set the default port to use when serving a directory. The default port is 8000.
Default DirectoryYou can set the default directory to serve. The default directory is ~/Downloads.