awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
vercel avatar

vercel/serve

0
View on GitHub↗
9,863 stars·701 forks·TypeScript·MIT·23 viewsnpmjs.com/package/serve↗

Serve

Serve is a Node.js static file server that delivers assets and single-page applications from a local directory over HTTP. It functions as both a command-line web server for hosting directories directly from the terminal and as HTTP middleware for integrating static asset delivery into existing servers.

The project includes a directory browser interface that provides a web-based file explorer for navigating and accessing files within a served folder. It supports single-page application fallback by redirecting unmatched request paths to a root file to enable client-side routing.

The server handles asset resolution through automatic index-file discovery and stream-based file transfers. It also provides dynamic directory listing when no index file is present to represent folder contents in the browser.

Features

  • Static File Servers - Provides a command-line interface for hosting static sites and local files over HTTP.
  • Command Line Web Servers - Allows hosting of local directories over HTTP directly from the terminal.
  • Static Asset Middleware - Integrates static file serving logic as middleware into existing Node.js HTTP servers.
  • Request Middleware - Uses middleware to intercept HTTP requests for static asset retrieval and directory listing.
  • Static Site Hosting - Serves static files and single-page applications as a web server for local or network access.
  • Asset Loading and Resolution - Maps incoming URL paths directly to the local filesystem to retrieve and serve assets.
  • Static Asset Serving - Provides optimized capabilities for delivering static files and directory listings via middleware.
  • Web-Based Directory Browsers - Provides a web-based file explorer to navigate and access files within a served folder.
  • Directory Browsers - Ships a web-based interface for listing and navigating files within served directories.
  • Development Servers - Runs a lightweight server for previewing websites and static files during development.
  • Directory Listing Interfaces - Generates real-time HTML views of folder contents when no index file is present.
  • File Streaming - Pipes files directly from the filesystem to the HTTP response stream to optimize memory usage.
  • Index File Resolution - Implements automatic discovery of default files like index.html to serve as directory entry points.
  • Single Page Application Hosting - Provides fallback routing that redirects unmatched paths to a root file for single-page applications.
  • HTTP Servers - Serve static files with advanced features.
  • Built with Micro - Listed in the “Built with Micro” section of the Awesome Micro awesome list.

Star history

Star history chart for vercel/serveStar history chart for vercel/serve

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Serve

These projects share indexed features with Serve. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • zeit/servezeit avatar

    zeit/serve

    9,870View on GitHub↗

    serve is a static file server and command line tool used for serving assets and websites over HTTP from a local file system. It functions as a Node.js static hosting tool for single page applications and static content, as well as a directory listing web server. The project provides a visual browser interface for navigating and downloading files from a directory, enabling remote directory browsing. It maps incoming HTTP request paths to local folder structures to deliver images, stylesheets, and scripts. The tool includes capabilities for static content hosting and static file serving middle

    TypeScript
    View on GitHub↗9,870
  • svenstaro/miniservesvenstaro avatar

    svenstaro/miniserve

    7,391View on GitHub↗

    Miniserve is an HTTP static file server that hosts local directories over the network with an integrated web-based file browser. It functions as a single-binary tool capable of serving as a markdown rendering server, a TLS-enabled web server for encrypted traffic, and a WebDAV file manager for remote file operations. The project distinguishes itself through specialized hosting modes, including a single page application mode that routes requests to a single index file and the ability to generate random hexadecimal access URLs to obscure served directories. It also provides the ability to conve

    Rustclicommand-linecommand-line-tool
    View on GitHub↗7,391
  • kataras/iriskataras avatar

    kataras/iris

    25,582View on GitHub↗

    Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the infrastructure necessary to build HTTP/2 web applications, REST APIs, and MVC-based websites. The project distinguishes itself through a flexible architectural model that supports multiple isolated application instances within a single process and allows for binary-embedded asset loading to eliminate external filesystem dependencies. It features dynamic router hot-reloading and a pluggable view engine for rendering dynamic HTML content. The framework covers a broad range of capabilities,

    Go
    View on GitHub↗25,582
  • julienschmidt/httprouterjulienschmidt avatar

    julienschmidt/httprouter

    17,121View on GitHub↗

    httprouter is a high-performance HTTP request router for Go that maps incoming network requests to specific handler functions using a radix tree. It functions as a request dispatcher and path parameter parser, organizing URL paths in a tree structure to ensure efficient lookups. The router specializes in capturing dynamic segments and catch-all wildcards from URL paths to pass directly into request handlers. It implements method-specific routing and automatically manages responses for unsupported HTTP methods. The library covers broader capabilities including request normalization through tr

    Gogogolanghttp
    View on GitHub↗17,121
Compare all 30 related projects→

Frequently asked questions

What does vercel/serve do?

Serve is a Node.js static file server that delivers assets and single-page applications from a local directory over HTTP. It functions as both a command-line web server for hosting directories directly from the terminal and as HTTP middleware for integrating static asset delivery into existing servers.

What are the main features of vercel/serve?

The main features of vercel/serve are: Static File Servers, Command Line Web Servers, Static Asset Middleware, Request Middleware, Static Site Hosting, Asset Loading and Resolution, Static Asset Serving, Web-Based Directory Browsers.

Which projects share features with vercel/serve?

Projects with overlapping indexed features include: zeit/serve — serve is a static file server and command line tool used for serving assets and websites over HTTP from a local file… svenstaro/miniserve — Miniserve is an HTTP static file server that hosts local directories over the network with an integrated web-based… kataras/iris — Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the… julienschmidt/httprouter — httprouter is a high-performance HTTP request router for Go that maps incoming network requests to specific handler… gofiber/recipes — This project is a comprehensive library of reference implementations and patterns for building web applications using… http-party/http-server — This project is a lightweight Node.js web server and command-line tool designed for hosting static assets and…