Title says it all, I would try to be as concise yet complete with my use case as possible.
I am primarily a Swift Developer
I wouldn’t say I am a Windows developer, but I can dabble. I also do not have a Mac so Xcode is out. I also am not interested in downloading/building Darling for Mac OS compatability because I don’t think it would go very far. I would like to stick switch if possible, I wouldn’t mind using something like Python if I have too, but that is just my preference to keep my stack ‘simple’. I barely know JS and refreshing my Python is already a tall order.
I am using Appwrite SDK to host
I am using Vapor and the Appwrite SDK to host. I would prefer to not use Firebase, so I am relying on Appwrite secrets management. In my actual code, I am maybe thinking a .env variable for my api key and just git-ignoring when I post finally for the context.
My app is primarily text and CRUD based
No need for generative images for now. My actual model and consideration is public domain literature for AI assisted grammar suggestions and corrections. In other words, I don’t expect to break deep into Gemini’s more advanced features. I have a few more ideas extending this further, since my use case is that I am a writer.
I just want to finish the web app for me to publish my stories on
Pretty self explanatory I hope. Just going to use Fluent and Appwrite and start posting. I expect to feed my own product if that makes sense.
Anyway, reiterating my question. Can I safely use the swift SDK on linux with the swift PM, and manage my API secrets for my backend host? (appwrite in this case)? Also am interested in perhaps local secret management but I Wouldn’t know where to start.
Thank you for your time, also it is my birthday as I write this but I will probably check back a day or two later considering how busy I am going to be. I am sorry! I hope this was as clear and concise. I just basically want to drop the package in my pm and hope for the best lol. I just read the disclaimer and I wanted clarification " [!CAUTION] The Google AI SDK for Swift is recommended for prototyping only. If you plan to enable billing, we strongly recommend that you use a backend SDK to access the Google AI Gemini API. You risk potentially exposing your API key to malicious actors if you embed your API key directly in your Swift app or fetch it remotely at runtime."