Considering this is a slop (Cursor was used) and the author may not have enough experience in the subjects involved, why implement a yet another wheel, and not "improve" already existing like the following, infesting it with a yet another lifeless AI?:
https://linkding.link/