/nano-ai

πŸ”¬Gemini Nano Adapter for WASM Frameworks.

Primary LanguageRustMIT LicenseMIT

πŸ€– Nano AI

Made with Rust Crates.io Crates.io Downloads Docs.rs License Maintenance Netlify Status

banner

🌌 Overview

nano-ai-demo.mp4

nano-ai is a lightweight and efficient AI adapter for integrating Gemini Nano AI model into WASM frameworks.

πŸš€ Features

Method Supported Tested Windows Chrome Canary Linux Chrome Canary
get_capabilities βœ… βœ… βœ… βœ…
create_session βœ… βœ… βœ… βœ…
send_prompt βœ… βœ… βœ… ❌
stream_prompt βœ… ⬜ βœ… ❌
destroy_session βœ… βœ… βœ… βœ…

Warning

This crate has been fully tested only on Chrome Canary running on a Windows machine. Compatibility on Linux Chrome Canary is limited, as only get_capabilities, create_session, and destroy_session methods are confirmed to work.

🌐 WASM Frameworks

Framework Supported
Yew βœ…
Dioxus ⬜
Leptos ⬜

πŸ“– Examples

Framework Example
Yew Github
Dioxus ⬜
Leptos ⬜

⬜: TODO

πŸ‘₯ Contributing

We welcome contributions to enhance nano-ai! Feel free to submit issues, create pull requests, or discuss improvements on our GitHub repository.

πŸ“ License

This project is licensed under the MIT License.