{"id":24499571,"url":"https://github.com/opensass/nano-ai","last_synced_at":"2025-04-14T05:33:05.881Z","repository":{"id":266075033,"uuid":"897286823","full_name":"opensass/nano-ai","owner":"opensass","description":"🔬Gemini Nano Adapter for WASM Frameworks.","archived":false,"fork":false,"pushed_at":"2024-12-04T04:10:15.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T19:21:31.746Z","etag":null,"topics":["ai","dioxus","gemini","gemini-nano","gemini-nano-in-chrome","leptos","rust","yew"],"latest_commit_sha":null,"homepage":"https://nano-wasm.netlify.app/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opensass.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-02T11:18:42.000Z","updated_at":"2024-12-04T04:10:08.000Z","dependencies_parsed_at":"2024-12-02T19:15:42.901Z","dependency_job_id":null,"html_url":"https://github.com/opensass/nano-ai","commit_stats":null,"previous_names":["opensass/nano-ai"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensass%2Fnano-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensass%2Fnano-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensass%2Fnano-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensass%2Fnano-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensass","download_url":"https://codeload.github.com/opensass/nano-ai/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248827176,"owners_count":21167832,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","dioxus","gemini","gemini-nano","gemini-nano-in-chrome","leptos","rust","yew"],"created_at":"2025-01-21T22:14:50.622Z","updated_at":"2025-04-14T05:33:05.861Z","avatar_url":"https://github.com/opensass.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🤖 Nano AI\n\n[![Made with Rust](https://img.shields.io/badge/Made%20with-Rust-1f425f.svg?logo=rust\u0026logoColor=white)](https://www.rust-lang.org/)\n[![Crates.io](https://img.shields.io/crates/v/nano-ai.svg)](https://crates.io/crates/nano-ai)\n[![Crates.io Downloads](https://img.shields.io/crates/d/nano-ai)](https://crates.io/crates/nano-ai)\n[![Docs.rs](https://docs.rs/nano-ai/badge.svg)](https://docs.rs/nano-ai/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/wiseaidev)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/21f0f284-a363-42a9-b72a-3a9c82f26f00/deploy-status)](https://nano-wasm.netlify.app/)\n\n![banner](https://github.com/user-attachments/assets/87956e6c-9c9f-428a-8bb6-0b6221b8f6a6)\n\n\u003c/div\u003e\n\n## 🌌 Overview\n\n\u003cvideo src=\"https://github.com/user-attachments/assets/a57552af-5fe2-4cd4-ad3e-40f8ab264711\"\u003e\u003c/video\u003e\n\n`nano-ai` is a lightweight and efficient AI adapter for integrating Gemini Nano AI model into WASM frameworks.\n\n## 🚀 Features\n\n| Method                  | Supported | Tested | Windows Chrome Canary | Linux Chrome Canary |\n|-------------------------|-----------|--------|-----------------------|---------------------|\n| `get_capabilities`      | ✅        | ✅     | ✅                    | ✅                  |\n| `create_session`        | ✅        | ✅     | ✅                    | ✅                  |\n| `send_prompt`           | ✅        | ✅     | ✅                    | ❌                  |\n| `stream_prompt`         | ✅        | ⬜     | ✅                    | ❌                  |\n| `destroy_session`       | ✅        | ✅     | ✅                    | ✅                  |\n\n\u003e [!WARNING]  \n\u003e 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. \n\n## 🌐 WASM Frameworks\n\n| Framework | Supported   |\n|-----------|-------------|\n| Yew       | ✅          |\n| Dioxus    | ⬜          |\n| Leptos    | ⬜          |\n\n## 📖 Examples\n\n| Framework | Example                                                                                   |\n|-----------|-------------------------------------------------------------------------------------------|\n| Yew       | [![Github](https://img.shields.io/badge/Open-Github-181717.svg?logo=github\u0026logoColor=white)](./examples/yew)       |\n| Dioxus    | ⬜          |\n| Leptos    | ⬜          |\n\n⬜: TODO\n\n## 👥 Contributing\n\nWe 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).\n\n## 📝 License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensass%2Fnano-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensass%2Fnano-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensass%2Fnano-ai/lists"}