https://github.com/fonsp/simplefileserver.jl
Simple HTTP file server for Julia
https://github.com/fonsp/simplefileserver.jl
Last synced: over 1 year ago
JSON representation
Simple HTTP file server for Julia
- Host: GitHub
- URL: https://github.com/fonsp/simplefileserver.jl
- Owner: fonsp
- License: mit
- Created: 2021-05-18T09:23:22.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-18T09:29:34.000Z (about 5 years ago)
- Last Synced: 2025-03-10T11:02:17.903Z (over 1 year ago)
- Language: Julia
- Size: 2.93 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleFileServer.jl
Run a simple HTTP file server, serving files from the given local directory.
```julia
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](https://deno.land/), using the [`file_server` standard library](https://deno.land/manual/examples/file_server). We use the cross-platform [`Deno_jll`](https://github.com/JuliaBinaryWrappers/Deno_jll.jl) package for the deno binary (30MB).