Commit Graph

27 Commits

Author SHA1 Message Date
1f52a5097c feat(db/katana): don't crash if the query failed 2024-02-10 21:45:11 +07:00
1a68d9b177 fix(katana/parser): remove -PRINT] part from name
fk calf
2024-01-31 23:34:53 +07:00
588e50af33 feat(db/katana): introduce optimized aggregation query functions
But we still use the old one because it's good enough, and i'm too lazy to rewrite that part :)
2024-01-31 01:27:03 +07:00
a3b247bcb9 fix(katana): handle calf error "?" wishlist 2024-01-14 17:06:45 +07:00
952467d4b1 chore(katana): move regex building to swordfish
Welp, I can add my dirty workaround now
2024-01-10 12:31:29 +07:00
2b6dc03040 feat(katana): implement character parsing from Calf's analysis
Also fix bug in kc o:w parsing
2024-01-10 02:09:34 +07:00
6f35d05a3e fix(katana): improve the image analyzing process
Zamn, decreasing contrast and also copying Nori code.
2024-01-10 01:24:22 +07:00
c347abd07d chore: restructure the structs and its functions a bit 2024-01-08 20:56:02 +07:00
301feb415b chore: redo the ping command 2024-01-08 20:04:29 +07:00
0f9331ba60 feat: introduce querying card with partial match using regex 2024-01-08 12:44:04 +07:00
b7519ac75a feat: multithreading
Multithreading in tokio::main and also a new queue system for LepTess (libtesseract)
2024-01-07 23:52:49 +07:00
95288e7c1e fix(katana): parse wishlist from lookup
So if there's no koibito then the Wishlisted section will move up...

Also fixes parsing when wl > 1000 because it'll have a "," to make it easier for human to read.
2024-01-07 20:10:31 +07:00
8eb622f479 feat: swordfish-user
Also move tesseract implementation to swordfish cuz only the bot uses it.
2024-01-07 19:19:40 +07:00
6134e0215b feat(katana): implement wl fetch from klu results 2024-01-07 15:24:12 +07:00
fb74bfe568 feat(katana): c o:w parser 2024-01-07 14:07:22 +07:00
b16c0dadab feat: implement write_cards & support Qingque 2024-01-07 01:05:47 +07:00
4b14ee7c90 fix: check for db connection first 2024-01-06 15:30:11 +07:00
dbc168a955 feat(common): implement database reading
Also fix some bugs
2024-01-06 14:34:45 +07:00
30a7098bed feat: initial work on MongoDB support 2024-01-06 00:03:23 +07:00
60039bbaa5 fmt: format 2024-01-06 00:03:11 +07:00
f15b07c68b fix(katana): add another workaround 2024-01-05 22:07:04 +07:00
0ada9f6e46 feat: use rusty-tesseract as another backend
Also use OnceLock & LazyLock
2024-01-05 20:18:54 +07:00
d1cee333ed feat(katana): proper name & series reading 2024-01-05 00:40:57 +07:00
65911d3706 feat: regex 2024-01-01 20:15:51 +07:00
34c52cd9ab feat: use Arc & Mutex for LepTess 2023-12-31 22:55:32 +07:00
19dc2963f5 feat: add proper logging 2023-12-30 21:39:44 +07:00
1f7b5fe125 repo: publish
I haven't done anything yet.
2023-12-26 23:51:22 +07:00