Big list of HTTP static server one-liners

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • RangeHTTPServer

    SimpleHTTPServer with support for Range requests

  • The node one does, and there is a fork of the python one that does: https://github.com/danvk/RangeHTTPServer/

    I know this because I have also been working on something using that magic sqlite-in-browser project :D

  • serverino

    Tiny CLI-based static server

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • devd

    A local webserver for developers

  • miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

  • I'm a big fan of miniserve[0]. It can do files, directories (including on the fly tgz or zip downloading), authentication and upload

    [0]: https://github.com/svenstaro/miniserve

  • Pode

    Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers

  • go

    The Go programming language

  • https://github.com/golang/go/issues/2096#issuecomment-660578...

    In short, it's probably both:

    - Innate distrust of all things BSD/GNU meant that the original Go team didn't feel they have to honor the established tradition. Just like dynamic linking, they believed that if there is something that GNU does wrong, they don't need to follow it just for the sake of keeping compatibility.

    - Positive experience using gflags convinced the team that the gflags approach (single-dash long flags) is the best one.

    I personally think they were wrong here. As Russ Cox himself clearly stated in response to all requests for fixing go flags: there are many libraries out there who implement GNU-style flags. What happened in practice is that most Go developers voted with their feet and chose a third-party flag module (even Google's own Kubernetes is using spf13/cobra). In the end, the Go flags package just ended up causing more confusion and didn't solve any of the problems (perceived or real) with GNU flags.

  • serv

    Share easily file / folder over local network (by xonixx)

  • In fact the use-case I addressed was slightly different (explained in the article) and later I found the similar tool [3] which probably is more powerful.

    [1] https://github.com/xonixx/serv

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • croc

    Easily and securely send things from one computer to another :crocodile: :package:

  • ruby

    The Ruby Programming Language

  • sthttpd

    A fork of Jef Poskanzer's popular thttpd.

  • dotfiles

    My personal dotfiles (by tngranados)

  • I wrote a zsh function[1] to runs an http server using ruby, php or python (2 and 3) depending on what's available in the system.

    [1] https://github.com/tngranados/dotfiles/blob/0ebdc12f2454061a...

  • PayloadsAllTheThings

    A list of useful payloads and bypass for Web Application Security and Pentest/CTF

  • https://github.com/swisskyrepo/PayloadsAllTheThings/blob/mas...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts