V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
thwawar
V2EX  ›  Rust

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

  •  
  •   thwawar · 2017-05-29 23:49:15 +08:00 · 4501 次点击
    这是一个创建于 2494 天前的主题,其中的信息可能已经有所发展或是发生改变。

    几个主要特性:

    • 多个工作线程
    • 面包屑导航
    • 支持上传文件
    • 支持 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 条回复    2018-06-04 11:42:32 +08:00
    Wichna
        1
    Wichna  
       2018-06-04 11:42:32 +08:00
    赞,支持一下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3920 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 10:26 · PVG 18:26 · LAX 03:26 · JFK 06:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.