A lightweight applet for Google AI Studio that enables users to write, run, and interact with JavaScript (JS) code in a notebook interface, similar to Python's Colab notebooks, but for JavaScript! This repo contains resources and documentation for the JS Notebook Applet.
This project provides a seamless way for users to:
- Write and execute JavaScript code interactively in cells.
- Explore modern JS/TS SDKs and AI capabilities in a notebook format.
- Share and remix notebooks, just like in Python Colab.
Ideal for:
- Learning and experimenting with JavaScript.
- Demonstrating code, tutorials, and AI model integrations.
- Rapid prototyping and sharing code snippets.
-
Open the notebook in AI Studio:
Click here to launch the "Get Started" notebook. -
Explore, edit, and run JS code:
Use the interactive cells to run code, see outputs, and experiment. -
Remix and share:
Fork the notebook, create your own, or share with others.
-
Get Started
Your introduction to the applet and the Gemini JS/TS SDK. Walks through text and multimodal prompts, safety and system settings, chat, function calling, streaming, uploads, and more.
More example cookbooks coming soon!
- Powered by Google AI Studio:
The applet leverages AI Studio's notebook infrastructure, providing a familiar, interactive environment for JS code. - Colab-style experience:
Run JS code in cells, view outputs inline, and annotate with markdown. - Gemini SDK integration:
Take advantage of Google’s latest AI models in JavaScript.
This project is provided under the MIT License.