starter-applets is a collection of minimal, sandboxed example “applets” that demonstrate how to compose Gemini-powered microapps (chat widgets, image generation, workflows) that can be embedded in other applications or used standalone. The applets are structured with a focus on simplicity: each presents a prompt input, minimal UI logic, and inline display of the resulting output or widget (e.g. generated text, images). They are built to illustrate best practices (e.g. safety guards, prompt templates, streaming UI updates) rather than production feature sets. The repo supplies a CLI or script to scaffold new applet templates, letting developers spin up small Gemini-powered components quickly. Each applet includes configuration parameters (API keys, model selection, prompt parameters) in a secure but flexible format. Because applets are meant to be composable, they adopt a modular plugin architecture so you can integrate one into a Next.js, Flutter, or native app with minimal glue.
Features
- Minimal “applets” showcasing Gemini-powered microapps (chat, images, workflows)
- Scaffold / template generator to spin up new applets quickly
- Standard prompt template and safety guard conventions baked in
- Streaming UI display for incremental outputs
- Configurable parameters (model choice, temperature, prompt prefix)
- Modular plugin architecture for embedding into larger apps