Servexy

Lightning-Fast HTTP File Server

Built with Go for unmatched performance. Serve any directory with zero configuration - just install and run.

Terminal
$ npm i -g servexy
View on GitHub
Lightning Fast
📁
Zero Configuration
🔧
Built with Go

Why Choose Servexy?

Built for developers who need a fast, reliable, and easy-to-use HTTP file server. No configuration required, just install and serve.

Lightning Fast

Built with Go for unmatched performance. Native binary execution means no JavaScript overhead.

Zero Configuration

Serve any directory with a single command. No config files, no setup required.

Cross-Platform

Works seamlessly on Windows, macOS, and Linux. One binary, everywhere.

NPM Distribution

Install globally via npm or run directly with bunx. Integrates with your workflow.

Secure by Default

Built-in security features and safe defaults. Serve files without compromising safety.

Highly Customizable

Custom ports, CORS settings, directory listings, and more configuration options.

Open source and free forever

Get Started in Seconds

Install Servexy and start serving files immediately. No configuration files, no complex setup.

Installation

RECOMMENDED

NPM Global Install

npm install -g servexy

Recommended: Install globally and use anywhere

Run with NPX

npx servexy -h

Use with npm package runner

Run with Bunx

bunx servexy -p 8080

Run directly without installation

Usage Examples

Basic Usage

servexy

Serve current directory on default port (8080)

Custom Port

servexy -p 3000

Serve on port 3000

Specific Directory

servexy -d /path/to/files

Serve specific directory

Network Access

servexy -n

Allow access from other devices on network

Quick Start

1
npm install -g servexy

Install Servexy globally

2
cd /your/project

Navigate to your project directory

3
servexy -p 8080

Start serving files on port 8080