Skip to content

Commit

Permalink
docs: add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zleyyij committed May 15, 2024
1 parent 4b09a27 commit a317a71
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# HWGV
HWGV, or hwinfo-online is a viewer for .csv log files generated by [HWiNFO](https://www.hwinfo.com/).

All parsing is done client side, by a Rust parser compiled to WASM (located in `src/scripts/parser`).

## Building
To build HWGV, you need to have the Rust toolchain installed (<https://rustup.rs/>), and `wasm-pack` installed.

To install wasm-pack (after installing the Rust toolchain):
```
cargo install wasm-pack
```

After this, you'll need to compile the parser located in `src/scripts/parser`, after compilation, a `src/scripts/parser/pkg` directory will be created.

To compile the parser:
```
wasm-pack build --target web
```

Optionally, you may run `./build.sh` which will build the parser and copy essential files to `./target`.

HWGV will still function if you open `src/index.html`, the build script simply omits nonessential files (rust source files, documentation).

0 comments on commit a317a71

Please sign in to comment.