FileServer 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global FileServer --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local FileServer --version 1.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=FileServer&version=1.0.1
nuke :add-package FileServer --version 1.0.1

File Server

A simple, command-line http server for loading static content. It can be used for local development and testing purposes.

Installation

FileServer is cross-platform and runs on .NET 5.

dotnet tool install -g FileServer

Usage

Simply navigate to a given directory from the command line and run file-server. Then access it from the browser on http://localhost:8080, being the default port number.

To run file-server on a custom port, provide --port or -p as an argument. For example

file-server --port <PORT>

It is possible to run multiple insances of file-server where each listens on a subsequent port unless a custom one is provided.

Installation from Source

  1. git clone https://github.com/deniskyashif/file-server.git
  2. cd file-server
  3. Run dotnet pack
  4. Run dotnet tool install --global --add-source .\nupkg\ FileServer
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.2.1 449 8/17/2022
1.2.0 361 8/17/2022
1.1.0 370 2/2/2021
1.0.1 491 12/19/2020
1.0.0 386 12/18/2020