{"id":19554377,"url":"https://github.com/bramblex/niva","last_synced_at":"2025-05-15T11:07:46.754Z","repository":{"id":143808000,"uuid":"606358114","full_name":"bramblex/niva","owner":"bramblex","description":"一个基于 Tauri WRY 跨端 Webview 库的超轻量极易用的跨端应用开发框架。","archived":false,"fork":false,"pushed_at":"2025-03-23T06:53:04.000Z","size":19734,"stargazers_count":684,"open_issues_count":80,"forks_count":33,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-19T02:06:27.834Z","etag":null,"topics":["rust","webview"],"latest_commit_sha":null,"homepage":"https://bramblex.github.io/niva/","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/bramblex.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":"2023-02-25T08:40:52.000Z","updated_at":"2025-04-18T09:45:07.000Z","dependencies_parsed_at":"2025-04-04T22:00:28.411Z","dependency_job_id":null,"html_url":"https://github.com/bramblex/niva","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramblex%2Fniva","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramblex%2Fniva/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramblex%2Fniva/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bramblex%2Fniva/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bramblex","download_url":"https://codeload.github.com/bramblex/niva/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254328384,"owners_count":22052632,"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":["rust","webview"],"created_at":"2024-11-11T04:27:09.810Z","updated_at":"2025-05-15T11:07:46.719Z","avatar_url":"https://github.com/bramblex.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Niva](logo/niva-title-logo-white.png)\n#  Niva\n\n基于 Tauri WRY 跨端 Webview 库的超轻量极易用的跨端应用开发框架。\n\n![screenshot](screenshots/screenshot1.png)\n\n- 下载： [https://github.com/bramblex/niva/releases](https://github.com/bramblex/niva/releases)\n- 文档： [https://bramblex.github.io/niva/docs/intro](https://bramblex.github.io/niva/docs/intro)\n- 快速上手： [https://bramblex.github.io/niva/docs/tutorial/new-project](https://bramblex.github.io/niva/docs/tutorial/new-project)\n\n## 目标\n\n- 超轻量\n  - 构建的桌面应用最小只有 3MB，仅有 Electron 的 1/10。\n  - Niva 仅依赖系统原生的 Webview，不依赖 Chromium 或者 Node.js，极致的轻量。\n- 极易用\n  - 仅使用前端技术，不需要学习复杂的 Node.js 和 Electron API 也不需要复杂的配置，即可构建出一个桌面应用。\n  - 构建单可执行文件，无需安装，点击即用。\n- 图形化\n  - Niva 提供图形化界面的开发工具，一键点击构建桌面应用，无需复杂的命令行操作，也无需安装 Node 环境。\n- 跨平台\n  - 同时支持 Windows、macOS，无需额外的配置，即可构建出跨平台的桌面应用。\n\n## 亮点\n\n### 极低的上手难度\n\n简单项目（没有使用 webpack 等构建工具的简单签单项目），还是常见的 Vue 项目或者 React 项目，无需额外配置，一键拖入，一键构建。\n\n### 灵活的功能\n\n支持单窗口、多窗口、浮窗、窗口后台运行等多种场景。\n\n### 丰富的配置\n\n丰富的配置，窗口大小、窗口标题、窗口图标、窗口菜单、窗口是否可缩放、窗口是否可拖动、窗口是否可关闭、窗口是否可最大化、窗口是否可最小化等等都可以配置。全局快捷键、系统托盘图标等等也可以进行配置。详细选项文档 [选项文档](https://bramblex.github.io/niva/docs/options/project) 。\n\n### 完善的 API\n\nNiva 提供了丰富的 API, 如 clipboard, dialog, extra, fs, http, monitor, os, process, resource, shortcut, tray, webview, window, window_extra 等 API。详见 [API 文档](https://bramblex.github.io/niva/docs/api/niva)。\n\n## Todo\n\n- [ ] Niva 1.0\n\n  - [ ] Niva API TypeScript 类型声明。\n  - [ ] 应用程序签名\n    - [ ] MacOS\n    - [ ] Windows\n  - [ ] 支持 Node.js 调用，作为 NodeJS 应用程序的 UI 窗口。\n  - [ ] 支持系统通知 Notification。\n\n- [ ] Niva 2.0\n  - [ ] 对 Window10 低版本增加 [miniblink](https://github.com/weolar/miniblink49) 支持，解决低版本 Windows 对 Webview2 支持不完善的问题。\n\n## Acknowledgments\n\n[@wen-gang(晓港)](https://github.com/wen-gang)  - 感谢晓港帮 Niva 设计了新的 Logo\n\n## Contributors\n\n![Contributors](https://contrib.rocks/image?repo=bramblex/niva)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramblex%2Fniva","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbramblex%2Fniva","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbramblex%2Fniva/lists"}