Source repository for wavedrom.com — the documentation site, ecosystem directory, and real-time WaveDrom Editor for digital timing diagrams (signal), register & bitfield maps (reg), and combinational logic schematics (assign) powered by WaveDrom and WaveJSON.
- Online Editor
- Timing Diagrams Tutorial
- Register & Bitfield Tutorial
- Logic Schematics Tutorial
- Ecosystem Directory
- Desktop App Releases (Windows, macOS, Linux)
Requires Node.js 22+ (engines.node >= 22).
npm install
npm run build # generate static HTML, CSS, and JS bundles
npm run serve # local preview server
npm test # ESLint (bin, lib, test) + Mocha unit testsOther scripts:
npm run build:dev— unminified esbuild bundles for debuggingnpm run coverage— Mocha tests withc8coverage reportnpm run ecosystem:collect— refreshdata/ecosystem.jsonmetadata
npm run build automatically copies wavedrom.min.js and skins/*.js from node_modules/wavedrom/ into the repository root and skins/. After bumping wavedrom in package.json:
npm install
npm run build
npm testThe offline desktop app is packaged with NW.js for Windows, macOS, and Linux:
npm run build:wde # runs ./build-wde.shThis runs npm run build, stages assets into src/, downloads the matching NW.js runtimes, and writes distributable archives under build/:
wavedrom-editor-v<version>-linux-x64.tar.gzwavedrom-editor-v<version>-win-x64.zipwavedrom-editor-v<version>-osx-x64.zipwavedrom-editor-v<version>-osx-arm64.zip
Pass --stage-only to ./build-wde.sh to populate src/ without downloading NW.js.
The NW.js and app versions are configured at the bottom of build-wde.sh:
bash build.sh --name wavedrom-editor --nwversion v0.115.0 --version v3.8.0- Bump versions in
package.json,WaveDromEditor/package.json,service-worker.js(CACHE_NAME), andbuild-wde.sh(--version/--nwversion). - Build the site and desktop packages:
npm run build:wde npm test - Tag and push the release:
git tag v3.8.0 git push origin v3.8.0
- Publish artifacts to GitHub Releases via
gh:gh release create v3.8.0 \ build/wavedrom-editor-v3.8.0-*.tar.gz \ build/wavedrom-editor-v3.8.0-*.zip \ --title "v3.8.0" \ --notes-file TMP_RELEASE_NOTES.md
Use the WaveDrom User Group or GitHub Issues for questions, discussions, and bug reports.
See LICENSE.