Make any directory a secure public file server in one command

srvdir is a program that takes a path to a directory and then creates a secure, public HTTPS endpoint which serves the files from that folder.

Download Sign up

Easily send files to a friend

Have some files you need to share with a friend? Just run srvdir on that folder and then send them a link!

Access your files anywhere

Need access to your files at home? srvdir can let you download them securely from anywhere.

Host static websites

srvdir interprets index.html files just like a normal static file server, so you can even run blogs and static sites over it.

Test static webhooks

srvdir can be useful for testing static responses to webhooks (like TwiML).

Features

Secure

All srvdir URLs are served over HTTPS with SSL/TLS encryption.

Password Protection

Just add the -auth flag to protect any served directory with a username and password.

Fast

srvdir builds on top of the world's best tunneling software, giving it production-grade latency and throughput up to 100's of reqs/sec.

No dependencies

srvdir has zero runtime dependencies. Just download it for your platform and run.

Open Source

Both srvdir's client and server are open-source on Github. Help make it better!

Upload too

srvdir optionally supports HTTP PUT for uploading files through firewalls as well.


Download and Installation

srvdir is easy to install. Download a single binary with zero run-time dependencies for any major platform. Unzip it and then run it from the command line.

Step 1: Download srvdir

Mac OS X Download
Windows Download
Linux Download
More platforms
Linux/ARM Download

Step 2: Unzip it

On Linux or OSX you can unzip srvdir from a terminal with the following command. On Windows, just double click srvdir.zip.

$ unzip /path/to/srvdir.zip

Step 3: Run it!

Read the Usage Guide for documentation on how to use srvdir. Try it out by running it from the command line:

$ ./srvdir -help