Giter Site home page Giter Site logo

dserve's Introduction

dserve ⚡️

a CLI tool to serve files and dirs on HTTP(s) inspired by miniserve

you can install dserve, and immediately you can host your local files on HTTP(s). !

How to use

install

$ deno run -A --unstable https://deno.land/x/dserve/src/install.ts

serve current directory

$ dserve .

serve with TLS

$ dserve --tls-cert {your tls cert path} --tls-key {your tls key path} .

help

$ dserve --help

Feature ✨

  • easy to use
  • if you installed deno on your machine, you can install this with one command
  • Serve with Correct MIME type
  • show index of files in directory
  • serve with TLS

RoadMap for v1.0.0 🚚

  • File Uploading
  • download with zip
  • Basic Auth
  • Scan with QR Code

Usage

$ dserve --help

[email protected]
Developed by Shinobu Hayashi/Shinyaigeek <[email protected]>

Usage
    dserve [Flags] [Options] [--] [Path]

Flags
    -h --help [Bool]
        Show this help message

Options
    -p, --port [Number]
        Port number to listen to. default 3030
    -t, --title [String]
        Title of the page. default "dserve"
    -i, --index [String]
        Index file to serve. optional
        --tls-cert [String]
        TLS certificate file. optional. if both of --tls-key and --tls-cert are specified, dserve will use TLS.
        --tls-key [String]
        TLS key file. optional. if both of --tls-key and --tls-cert are specified, dserve will use TLS.
    
Args
    <Path>
        Path to serve. default "."

dserve's People

Contributors

shinyaigeek avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.