SimpleFileServer.jl

Simple HTTP file server for Julia
Author fonsp
Popularity
5 Stars
Updated Last
1 Year Ago
Started In
May 2021

SimpleFileServer.jl

Run a simple HTTP file server, serving files from the given local directory.

julia> import Pkg; Pkg.add(url="https://github.com/fonsp/SimpleFileServer.jl")

julia> using SimpleFileServer

julia> serve(".")
HTTP server listening on http://0.0.0.0:4507/

Details

The server is running on deno, using the file_server standard library. We use the cross-platform Deno_jll package for the deno binary (30MB).