-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zleyyij
committed
May 15, 2024
1 parent
4b09a27
commit a317a71
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). | ||
|