From ce5be7f783ac7c6589b501433caafd717c6e119f Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 3 Dec 2021 23:30:52 -0700 Subject: swag --- Cargo.toml | 8 +- data/2021-12-03 18-22-11.png | Bin 1860275 -> 0 bytes data/test.png | Bin 1567 -> 0 bytes index.html | 65 ++++------- src/history.rs | 51 +++++++++ src/lib.rs | 255 ++++++++++++++++++++++++++++++------------- src/ocr.rs | 6 +- 7 files changed, 260 insertions(+), 125 deletions(-) delete mode 100644 data/2021-12-03 18-22-11.png delete mode 100644 data/test.png create mode 100644 src/history.rs diff --git a/Cargo.toml b/Cargo.toml index 767c8b8..73a2795 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,14 +2,15 @@ name = "queue-go-brrr" version = "0.1.0" authors = ["Melody Horn "] -edition = "2018" +edition = "2021" [lib] crate-type = ["cdylib", "rlib"] [dependencies] base64 = "0.13.0" -gloo = "0.4.0" +chrono = { version = "0.4.19", features = ["wasmbind"] } +gloo = { version = "0.4.0", features = ["futures"] } image = "0.23.14" imageproc = "0.22.0" js-sys = "0.3.55" @@ -30,6 +31,9 @@ web-sys = { version = "0.3.55", features = [ "HtmlCanvasElement", "CanvasRenderingContext2d", "Blob", + "MouseEvent", + "Event", + "CssStyleDeclaration", ] } # The `console_error_panic_hook` crate provides better debugging of panics by diff --git a/data/2021-12-03 18-22-11.png b/data/2021-12-03 18-22-11.png deleted file mode 100644 index 048d954..0000000 Binary files a/data/2021-12-03 18-22-11.png and /dev/null differ diff --git a/data/test.png b/data/test.png deleted file mode 100644 index 0492aaa..0000000 Binary files a/data/test.png and /dev/null differ diff --git a/index.html b/index.html index b7c0153..d7d8f95 100644 --- a/index.html +++ b/index.html @@ -4,65 +4,44 @@ queue go brrr + +
- -
- - -
- - +

queue go brrr

+

For tracking your Login Queue (Extreme) raid progression.

+

+ Share your FFXIV window, and then this tool will figure out how much longer you probably have to wait. +

+

+

Queue Position Preview (it looks like this says something once you hit the button)

The screen capture will appear in this box.
+

Live Window View (click to move the queue position box if it's misaligned)

+
+ +
+