0.10.0 • Published 10 days ago

logjuicer-web v0.10.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 days ago

logjuicer-web

This crate provides the logjuicer-web application to render report and access the logjuicer-api.

Usage

The application support the following SPA URL:

Create a report: /report/new?target=$URL

Compare two urls: /report/new?target=$URL&baseline=$URL

Watch a report /report/watch/$REPORT_ID

Read report: /report/$REPORT_ID

Contribute

The application comes in two flavors:

  • report: the report viewer (when build with --no-default-features)
  • api_client: the full web application for the web service (this is the default).

To build the web interface, you need to use trunk. Get it by running:

cargo install --locked trunk

Report viewer

To work on the report viewer, you first need to generate a report named logjuicer.bin using the following command:

cargo run -p logjuicer-cli -- --report logjuicer.bin diff|url ...

If you are in a hurry, you can simply run diff Cargo.toml Trunk.toml.

Then you can build, serve and hot-reload the report viewer by running the following trunk command:

trunk serve ./dev.html --address 0.0.0.0 --no-default-features

API Client

To work on the api client, you first need to start the API. Checkout the web-service crate.

Then you can build, serve and hot-reload the api client by running the following trunk command:

trunk serve ./index.html --address 0.0.0.0
0.10.0

10 days ago

0.9.11

1 month ago

0.9.10

2 months ago

0.9.9

2 months ago

0.9.8

2 months ago

0.9.7

3 months ago

0.9.4

5 months ago

0.9.6

5 months ago

0.9.5

5 months ago

0.9.3

6 months ago

0.9.2

6 months ago