Documentation of the database, algorithm

Im the developer of sanki, a small anki rewrite for ereaders

My question is, is there any more specific documentation about the database than from anki droid github?
Also, about the algorithm, thats everything i could find is on faqs ankiweb site, which isin’t much

With only those resources, its too much to reverse engineer to get it right, and i would want to be compatible with anki.

Thanks in advance