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 --install
in the terminal. The extension expectspython3
to be available in your PATH.
Once installed, simply trigger the Raycast command palette and search for the Simple HTTP commands.
Manage Simple Http
This 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 Status
This command will show the current status of the HTTP server (Running or Not Running).
Default Port
You can set the default port to use when serving a directory. The default port is 8000
.
Default Directory
You can set the default directory to serve. The default directory is ~/Downloads
.