thwawar
V2EX  ›  Rust

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

  •  
  •   thwawar · May 29, 2017 · 5365 views
    This topic created in 3354 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   ·   5375 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:45 · PVG 15:45 · LAX 00:45 · JFK 03:45
    ♥ Do have faith in what you're doing.