nowfound

Life & fun · August 18, 2024

Wd-40, a static webserver with automatic hot-reloads

It works by injecting a websocket script which listens for file changes. The filechanges are detected using the go fsnotify package, which in turn uses the different OS's equivalent to inotify. I basically got bored with alt-tabbing and refresing when developing 'vanilla-js'. The hot-reload in the modern frameworks are very nice, so figured I'd recreate it.

Wd-40, a static webserver with automatic hot-reloads launched on August 18, 2024 with 108 votes, #589 of 5,471 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 2 years on.

Visit github.com ↗Alternativestop 11% of August 2024

In plain words

WD-40 is a static webserver that automatically reloads web pages when files change. It works by injecting a WebSocket script that monitors the file system for updates using the OS's native file notification system. The tool is designed for developers working with vanilla JavaScript who want to avoid manually refreshing their browser during development, bringing hot-reload functionality typically found in modern frameworks to static site development.

written from the facts on this page · September 2026

From the sources

Web-Development 41, a static web server with live-reload - baalimago/wd-41

Does a similar job

all alternatives →
  • Wsta – a CLI for working with WebSockets written in Rust2016 · github.com · ▲85

    A CLI development tool for WebSocket APIs. Contribute to eliihen/wsta development by creating an account on GitHub.

  • Open source JavaScript library to record and replay the web2018 · rrweb.io · ▲353

    Embeddable session replay infrastructure on rrweb, the open source standard. Unbranded SDK, ingest on your domain, replay through your API. Free tier included.

  • AU
    A Unixy approach to WebSockets2015 · websocketd.com · ▲421

    websocketd is a single binary that wraps a command-line program and serves it over a WebSocket. Your program reads lines from stdin and writes lines to stdout.

  • A dynamic C (Hot reloading) module-based Web Framework2024 · github.com · ▲128

    A modular web framework for C, inspired by kernel modules. Dynamically upload and compile C code at runtime to build REST APIs, WebSocket services, and more. Includes support for JSON (Jansson), SQLite, OpenSSL, and streaming large data efficiently. - joexbayer/c-web-modules

  • Restate – Low-latency durable workflows for JavaScript/Java, in Rust2024 · restate.dev · ▲185

    We'd love to share our work with you: Restate, a system for workflows-as-code (durable execution). With SDKs in JS/Java/Kotlin and a lightweight runtime built in Rust/Tokio. https://github.com/restatedev/ https://restate.dev/ It is free and open, SDKs are MIT-licensed, runtime permissive BSL (basically just the minimal Amazon defense). We worked on that for a bit over a year. A few points I think are worth mentioning: - Restate's runtime is a single binary, self-contained, no dependencies aside from a durable disk. It contains basically a…

  • Live Reload2023 · essentialbodycare.net · ▲69

    Live reloading web dev in the browser

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, August 2024

the whole month →
  • Wordware▲9,848

    Your tool for building AI agents with natural language

    AI · 2024 · wordware.ai

  • If Youtube had actual channels.

    Life & fun · 2024 · ytch.xyz

  • Me.bot▲1,627

    The inspiring companion for your life

    AI · 2024 · me.bot

  • Upmetrics AI▲1,197

    Business plan & financial forecast using AI

    Work · 2024 · upmetrics.co

  • Jupitrr AI▲1,195

    Jupitrr AI turns raw talking videos into scroll-stopping content for coaches and consultants. Research, script, record, edit, and publish in one app.

    AI · 2024 · jupitrr.com

  • Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…

    Dev tools · 2024 · github.com