Skip to content

kalafut/wwv

Repository files navigation

WWV Simulator

Source for https://wwv.mcodes.org

Hacker News discussion

Functionality

Simulates the audio portion of WWV. For more information, visit the site.

Running locally

The compiled site is in the dist folder. You'll need to serve it from something and cannot just open index.html from the file system. One easy method is to use Python to serve the directory. Just cd into it and run: python3 -m http.server

Building

If you want to build the site, here are the basic steps:

  1. Install NodeJS
  2. Clone or download this repo and navigate to it.
  3. Install dependencies: npm install. If you're running on MacOS and haven't installed Command Line Tools for Xcode, you might see some errors. As far as I can tell they don't prevent building.
  4. Build: npx webpack

At this point you'll have the full site in ./dist.