danRen

分享一个局域网分享 markdown 文件的工具

  •  
  •   danRen · Nov 19, 2019 · 4338 views
    This topic created in 2400 days ago, the information mentioned may be changed or developed.

    md-http 是在 2017 年七月使用 nodejs 开发的通过 http 快速访问 markdown 的程序。依赖 nodejs 环境。

    github:https://github.com/liuyinglong/md-server
    npm:https://www.npmjs.com/package/md-http

    install

    npm install md-http -g
    

    use

    md-http --path="your md path" --port 80
    

    options

    • path
      markdown 文件路径 默认当前目录
    • port
      端口号 默认 3000

    快速开启服务

    md-http

    pm2 启动

    pm2 start md-http -- --port 9003 --path="your/md/path"
    

    md-http-pm2

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3026 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 14:59 · PVG 22:59 · LAX 07:59 · JFK 10:59
    ♥ Do have faith in what you're doing.