thwawar
V2EX  ›  Rust

方便的静态文件服务器 ( Python -m SimpleHTTPServer 的 rust 版本)

  •  
  •   thwawar · May 29, 2017 · 5274 views
    This topic created in 3302 days ago, the information mentioned may be changed or developed.

    几个主要特性:

    • 多个工作线程
    • 面包屑导航
    • 支持上传文件
    • 支持 HTTP Basic 认证

    快速安装

    # Install Rust
    curl https://sh.rustup.rs -sSf | sh
    
    # Install simple-http-server
    cargo install simple-http-server
    rehash
    simple-http-server -h
    

    Github 地址: https://github.com/TheWaWaR/simple-http-server

    1 replies    2018-06-04 11:42:32 +08:00
    Wichna
        1
    Wichna  
       Jun 4, 2018
    赞,支持一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   978 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:06 · PVG 03:06 · LAX 12:06 · JFK 15:06
    ♥ Do have faith in what you're doing.