Commit Graph

35 Commits

Author SHA1 Message Date
0f9331ba60 feat: introduce querying card with partial match using regex 2024-01-08 12:44:04 +07:00
872e551157 fix(katana): Il -> II at the end of the string 2024-01-08 00:00:56 +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
077c3bfd2a fix(tesseract): wrong variable 2024-01-07 22:41:09 +07:00
53e576ab56 fix(katana): update the libtesseract code 2024-01-07 22:38:51 +07:00
fa9ecaf59c feat(tesseract): set DPI to 70
I copied Nori code.
2024-01-07 22:34:47 +07:00
6d735e76cc fix(katana): replace all, not just once 2024-01-07 20:59:49 +07:00
ab6f42d5e6 feat(user): add dotenvy
.env easier for my life
2024-01-07 20:14:27 +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
ebafd93110 fix(katana): add workaround for text parsing 2024-01-07 18:15:51 +07:00
6134e0215b feat(katana): implement wl fetch from klu results 2024-01-07 15:24:12 +07:00
5281cdebed fix(katana): add . to regex
SSSS.Gridman 💀
2024-01-07 14:08:18 +07:00
fb74bfe568 feat(katana): c o:w parser 2024-01-07 14:07:22 +07:00
410625e2b3 chore: move debug features to a file 2024-01-07 13:23:25 +07:00
3dcfdafc37 chore: move args checking to a function
Clean up the code
2024-01-07 02:21:44 +07:00
b16c0dadab feat: implement write_cards & support Qingque 2024-01-07 01:05:47 +07:00
bd1d54e202 fix(katana): regex & y offset 2024-01-07 01:05:01 +07:00
d5be81f786 fix(katana): remove the last character if it's a - 2024-01-06 21:16:56 +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
f4c23b02f6 feat(katana): migrate to tokio::task 2024-01-05 22:41:44 +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
950118aeb8 chore(bot/info): fix url 2024-01-05 01:36:19 +07:00
785ebc2655 chore: add some info to the README 2024-01-05 01:35:48 +07:00
3c47a90611 feat: add ~info command 2024-01-05 01:28:58 +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
9536539e8c debug: add more info 2023-12-31 23:49:07 +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