Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opensass/nano-ai
π¬Gemini Nano Adapter for WASM Frameworks.
https://github.com/opensass/nano-ai
ai dioxus gemini gemini-nano gemini-nano-in-chrome leptos rust yew
Last synced: 7 days ago
JSON representation
π¬Gemini Nano Adapter for WASM Frameworks.
- Host: GitHub
- URL: https://github.com/opensass/nano-ai
- Owner: opensass
- License: mit
- Created: 2024-12-02T11:18:42.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-04T04:10:15.000Z (about 2 months ago)
- Last Synced: 2025-01-04T09:23:48.853Z (25 days ago)
- Topics: ai, dioxus, gemini, gemini-nano, gemini-nano-in-chrome, leptos, rust, yew
- Language: Rust
- Homepage: https://nano-wasm.netlify.app/
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π€ Nano AI
[![Made with Rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg?logo=rust&logoColor=white)](https://www.rust-lang.org/)
[![Crates.io](https://img.shields.io/crates/v/nano-ai.svg)](https://crates.io/crates/nano-ai)
[![Crates.io Downloads](https://img.shields.io/crates/d/nano-ai)](https://crates.io/crates/nano-ai)
[![Docs.rs](https://docs.rs/nano-ai/badge.svg)](https://docs.rs/nano-ai/)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/wiseaidev)
[![Netlify Status](https://api.netlify.com/api/v1/badges/21f0f284-a363-42a9-b72a-3a9c82f26f00/deploy-status)](https://nano-wasm.netlify.app/)![banner](https://github.com/user-attachments/assets/87956e6c-9c9f-428a-8bb6-0b6221b8f6a6)
## π Overview
`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](https://www.google.com/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](https://img.shields.io/badge/Open-Github-181717.svg?logo=github&logoColor=white)](./examples/yew) |
| 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](https://github.com/opensass/nano-ai).
## π License
This project is licensed under the [MIT License](LICENSE).