这是indexloc提供的服务,不要输入任何密码
Skip to content

andycandy/JS-Notebook-Applet

Repository files navigation

JS Notebook Applet

Open in AI Studio

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.


What is this?

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.

Table of Contents

Cookbook Description Features Launch
Get Started A comprehensive introduction to the Gemini JS/TS SDK, demonstrating features such as text and multimodal prompting, token counting, system instructions, safety filters, multi-turn chat, output control, function calling, content streaming, file uploads, and using URL or YouTube video context. Explore core Gemini capabilities in JS/TS Open in AI Studio

Getting Started

  1. Open the notebook in AI Studio:
    Click here to launch the "Get Started" notebook.

  2. Explore, edit, and run JS code:
    Use the interactive cells to run code, see outputs, and experiment.

  3. Remix and share:
    Fork the notebook, create your own, or share with others.


Example Notebooks

  • 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.

    Launch in AI Studio

More example cookbooks coming soon!


How It Works

  • 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.

License

This project is provided under the MIT License.


Acknowledgements

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published