Latest / Infra & self-hosting

nano-web

github.com · Open source · Active

Single-binary static file server for SPAs

Visit github.com ↗Share

Stars
245
Forks
9
Open issues
0
Last commit
Releases
45
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

nano-web is a single compiled binary that serves single-page apps and static sites such as those built with Vite or Astro. It caches files in memory and can inject configuration variables at runtime, so one build can run in several environments. It suits teams deploying containers who want to avoid a separate web server.

Positioned as an alternative to nginx.

Repository description on GitHub: “🔥 Ultra-fast in-memory static file server for SPAs and static content”

What it does

  • Single binary static file server for single-page apps
  • Pre-compresses files with brotli, gzip and zstd at startup
  • Injects configuration variables at runtime

Good for

  • Serve a Vite or Astro build from a container
  • Run a static site without a separate web server
  • Deploy one build to several environments with runtime config

Suits: Teams deploying containers who want no separate web server.

Worth knowing: The image runs as an unprivileged user, so the bundle files must be world-readable.

What you can try

Read the README on GitHub and install from source.

Install

cargo install nano-web

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw nano-web on , when antihero posted it to Show HN. The oldest published release on GitHub is v0.3.9, dated . Its first tagged release came 427 days after it was found. 45 releases have been published in total; the latest is v1.4.14 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 157 points, 115 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 157 points, 115 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 10). Based on the most recent releases on record.
  1. Repository created on GitHub: radiosilence/nano-web
  2. Found: antihero posted it to Show HN. Show HN
  3. Release v0.3.9
  4. Release v1.4.7
  5. Release v1.4.8
  6. Release v1.4.9
  7. Release v1.4.12
  8. Release v1.4.13
  9. Release v1.4.14
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 45 releases. All releases on GitHub

Quick answers

When was nano-web released?
Its first tagged release on GitHub is dated 26 May 2025. Kip found it on Show HN on 25 Mar 2024.
Is nano-web open source?
Its source is public on GitHub at radiosilence/nano-web under the MIT licence.
What does nano-web run on?
Self-hosted, Command line.
Is nano-web free?
It is open source, so the code is free to read and run; check the licence for terms.
Is nano-web still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryradiosilence/nano-web
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-39815976. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Infra & self-hosting

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.