thwawar
V2EX  ›  Rust

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

  •  
  •   thwawar · May 29, 2017 · 5413 views
    This topic created in 3386 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   ·   Privacy   ·   Solana   ·   2646 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:58 · PVG 23:58 · LAX 08:58 · JFK 11:58
    ♥ Do have faith in what you're doing.