Show HN: Nano-web, a low latency one binary webserver designed for serving SPAs

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

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

    Hyper-minimal low-latency webserver for serving SPAs and static content based on fasthttp.

  • The interesting bit is that the project is using a unikernel instead of Docker, I hope this becomes a trend.

    https://github.com/radiosilence/nano-web?tab=readme-ov-file#...

  • gohttpd

    A simple web server written in Go using net/http

  • 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
  • Caddy

    Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

  • Caddy [1] is a single binary. It is not minimal, but the size difference is barely noticeable.

    serve also comes to mind. If you have node installed, `npx serve .` does exactly that.

    There are a few go projects that fit your description, none of them very popular, probably because they end up being a 20-line wrapper around http frameworks just like this one.

    [1] https://caddyserver.com/

  • serv

    Discontinued HTTP File/Directory Server (by varbhat)

  • I wrote a similar tool long time ago.

    https://github.com/varbhat/serv

    * Serve the SPA (fallback to index.html): ```serv -spa```

    * Serve the directory and all it's contents: : ```serv -dir=/path/to/my/dir```

  • cdk-static-web

    Simple CDK construct for static website

  • Yeah, I ended up writing a whole thing for it as part of my static website CDK construct.

    Here's the request edge lambda:

    https://github.com/radiosilence/cdk-static-web/blob/master/s...

    Here's the response edge lambda:

    https://github.com/radiosilence/cdk-static-web/blob/master/s...

    It's been a while since I've updated that project though.

  • docker-static-website

    A very small Docker image (~154KB) to run any static website

  • lwan

    Experimental, scalable, high performance HTTP 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
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