Hey y'all,
I brought up in the Discord channel a topic of making the XRPC commands accessible via a npm package. @nelind and @trezy.codez gave me some insight into the current state of the Tranquil PDS ecosystem.
For starters we would need to consider creating real lexicons 😄
Right now the APIs are under _account and _delegate and a few others. What was proposed is we implement farm.tranquil.account.* and take the opportunity to squash stuff into an official lexicon collection.
Full transparency I am new to Lexicons and have published my own for funsies, not not seen them through, I agree with nelind, the hard part is not defining lexicons but the refactor and risk with doing so.
I leverage AI for writing rust so when I do take a crack at it with a proof of concept and get input please do your worst so I can learn 😃 I am not a vibe coder and do this for work but I have not officially worked in rust outside my passion project thats built on top of Tranquil.
End Rant,
Triforce
Useful links I will maintain;
ADR for how I plan to make a helper package for tranquil APIs today and how I can contribute here
For context the reason I went down this path is I reskinned the login/profile experience for my own application and want to make it feel as intuitive as possible for myself and others.
I took a stab at implementing getTotpStatus lexicon to see if I am going in the right direction. https://tangled.org/tranquil.farm/tranquil-pds/pulls/226/round/0