Submit a product

serve

command-line static file server with directory listing

ToolCommand lineOpen source

serve is a command-line tool that starts a local HTTP server for a folder of static files. It is aimed at developers who want to preview a built website or share a directory over the network without writing server code. Running it in a directory serves its contents, and it can show a listing of files when no index page is present.

The tool runs as a Node.js command-line program and is published as an npm package. Its source code is public on GitHub under the MIT license, so it is free to use and modify. The facts available do not describe further options or configuration details.

Alternatives to serve

Products that do a similar job in Developer Tools.

All alternatives

miniserve

command-line tool that serves files and folders over HTTP

ToolDeveloper Tools··Open source·8.2k

Windows Terminal

Command-line terminal app and console host for Windows

ToolDeveloper Tools··Open source·106k

fzf

Command-line fuzzy finder for lists of files, history and any text

ToolDeveloper Tools··Open source·85k

lazygit

Terminal UI for running git commands with keyboard shortcuts

ToolDeveloper Tools··Open source·84k

ripgrep

command-line search tool that finds regex matches across directory trees

ToolDeveloper Tools··Open source·71k

Alacritty

GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD

ToolDeveloper Tools··Open source·66k

bat

command-line file viewer with syntax highlighting and git integration

ToolDeveloper Tools··Open source·62k

GitHub CLI

Command line tool for working with GitHub from the terminal

ToolDeveloper Tools··Open source·47k