GithubHelp home page GithubHelp logo

capocasa / nimhttpd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h3rald/nimhttpd

0.0 0.0 0.0 42 KB

A tiny static file web server written in Nim

Home Page: https://h3rald.com/nimhttpd

License: MIT License

Nim 73.56% CSS 26.44%

nimhttpd's Introduction

Nimble

Release License

NimHTTPd

NimHTTPd is a minimal web server that can be used to serve static files.

Usage

nimhttpd [ -p:port -t:title -a:address -6:ipv6 -H:"key: val" ] [ directory ]

Where:

  • directory is the directory to serve (default: current directory).
  • port is the port to listen to (default: 1337). If the specified port is unavailable, the number will be incremented until an available port is found.
  • address is the address to bind to (default: localhost; use "0.0.0.0" to accept any IPv4 address).
  • ipv6 is the IPv6 address to bind to (default: localhost; use "::" to accept any IPv6 address).
  • title is the title to use when listing the contents of a directory.
  • -H is a custom header (Specified like in curl)

nimhttpd's People

Contributors

capocasa avatar h3rald avatar ire4ever1190 avatar muxueqz avatar timotheecour avatar unquietwiki 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.