KamiMeg adds AI shrine introductions via serverless backend, keeping records on-device
Indie iOS developer Kohei Matsunobe, a student at ZEN University, describes the generative-AI feature added to his digital goshuin app KamiMeg in version 1.1.0. A 'companion deity' introduces a shrine only when the user presses a button, rather than generating text automatically. To keep the API key off the device, the app routes requests through Amazon API Gateway and AWS Lambda to Google's Gemini API. The author explains that the design also preserves the app's core promise that goshuin photos and visit records stay on the user's device. He notes that the setup lets the AI provider be swapped without an app update, which he later relied on when choosing Gemini over Bedrock and the Claude API.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in