[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70922":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":41,"lastSyncTime":42,"discoverSource":43},70922,"nicegui","zauberzeug\u002Fnicegui","zauberzeug","Create web-based user interfaces with Python. The nice way.","https:\u002F\u002Fnicegui.io",null,"Python",15901,926,85,10,0,9,28,112,27,43.9,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37],"frontend","gui","interaction","interface","interfaces","python","robotics","scripting","toolkit","webapp","website","2026-06-12 02:02:45","\u003Ca href=\"https:\u002F\u002Fnicegui.io\u002F#about\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fzauberzeug\u002Fnicegui\u002Fmain\u002Fscreenshot.png\"\n    width=\"200\" align=\"right\" alt=\"Try online!\" \u002F>\n\u003C\u002Fa>\n\n# NiceGUI\n\nNiceGUI is an easy-to-use, Python-based UI framework, which shows up in your web browser.\nYou can create buttons, dialogs, Markdown, 3D scenes, plots and much more.\n\nIt is great for micro web apps, dashboards, robotics projects, smart home solutions and similar use cases.\nYou can also use it in development, for example when tweaking\u002Fconfiguring a machine learning algorithm or tuning motor controllers.\n\nNiceGUI is available as [PyPI package](https:\u002F\u002Fpypi.org\u002Fproject\u002Fnicegui\u002F), [Docker image](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fzauberzeug\u002Fnicegui) and on [conda-forge](https:\u002F\u002Fanaconda.org\u002Fconda-forge\u002Fnicegui) as well as [GitHub](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui).\n\n[![PyPI](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fnicegui?color=dark-green)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fnicegui\u002F)\n[![PyPI downloads](https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fnicegui?color=dark-green)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fnicegui\u002F)\n[![Conda version](https:\u002F\u002Fimg.shields.io\u002Fconda\u002Fv\u002Fconda-forge\u002Fnicegui?color=green&label=conda-forge)](https:\u002F\u002Fanaconda.org\u002Fconda-forge\u002Fnicegui)\n[![Conda downloads](https:\u002F\u002Fimg.shields.io\u002Fconda\u002Fdn\u002Fconda-forge\u002Fnicegui?color=green&label=downloads)](https:\u002F\u002Fanaconda.org\u002Fconda-forge\u002Fnicegui)\n[![Docker pulls](https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fzauberzeug\u002Fnicegui)](https:\u002F\u002Fhub.docker.com\u002Fr\u002Fzauberzeug\u002Fnicegui)\u003Cbr \u002F>\n[![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fzauberzeug\u002Fnicegui?color=orange)](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fblob\u002Fmain\u002FLICENSE)\n[![GitHub commit activity](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fcommit-activity\u002Fm\u002Fzauberzeug\u002Fnicegui)](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fgraphs\u002Fcommit-activity)\n[![GitHub issues](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fissues\u002Fzauberzeug\u002Fnicegui?color=blue)](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fissues)\n[![GitHub forks](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002Fzauberzeug\u002Fnicegui)](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fnetwork)\n[![GitHub stars](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Fzauberzeug\u002Fnicegui)](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fstargazers)\n[![DOI](https:\u002F\u002Fzenodo.org\u002Fbadge\u002F365250183.svg)](https:\u002F\u002Fdoi.org\u002F10.5281\u002Fzenodo.7785516)\n\n## Features\n\n- browser-based graphical user interface\n- implicit reload on code change\n- acts as webserver (accessed by the browser) or in native mode (eg. desktop window)\n- standard GUI elements like label, button, checkbox, switch, slider, input, file upload, ...\n- simple grouping with rows, columns, cards and dialogs\n- general-purpose HTML and Markdown elements\n- powerful high-level elements to\n  - plot graphs and charts,\n  - render 3D scenes,\n  - get steering events via virtual joysticks\n  - annotate and overlay images\n  - interact with tables\n  - navigate foldable tree structures\n  - embed video and audio files\n- built-in timer to refresh data in intervals (even every 10 ms)\n- straight-forward data binding and refreshable functions to write even less code\n- notifications, dialogs and menus to provide state of the art user interaction\n- shared and individual web pages\n- easy-to-use per-user and general persistence\n- ability to add custom routes and data responses\n- capture keyboard input for global shortcuts etc.\n- customize look by defining primary, secondary and accent colors\n- live-cycle events and session data\n- runs in Jupyter Notebooks and allows Python's interactive mode\n- auto-complete support for Tailwind CSS\n- SVG, Base64 and emoji favicon support\n- testing framework based on pytest\n\n## Installation\n\n```bash\npython3 -m pip install nicegui\n```\n\n## Usage\n\nWrite your nice GUI in a file `main.py`:\n\n```python\nfrom nicegui import ui\n\nui.label('Hello NiceGUI!')\nui.button('BUTTON', on_click=lambda: ui.notify('button was pressed'))\n\nui.run()\n```\n\nLaunch it with:\n\n```bash\npython3 main.py\n```\n\nThe GUI is now available through http:\u002F\u002Flocalhost:8080\u002F in your browser.\nNote: NiceGUI will automatically reload the page when you modify the code.\n\n## Documentation and Examples\n\nThe documentation is hosted at [https:\u002F\u002Fnicegui.io\u002Fdocumentation](https:\u002F\u002Fnicegui.io\u002Fdocumentation) and provides plenty of live demos.\nThe whole content of [https:\u002F\u002Fnicegui.io](https:\u002F\u002Fnicegui.io) is [implemented with NiceGUI itself](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fblob\u002Fmain\u002Fmain.py)\nand can be started locally with `docker run -p 8080:8080 zauberzeug\u002Fnicegui` or by executing `main.py` from this repository.\n\nYou may also have a look at our [in-depth examples](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Ftree\u002Fmain\u002Fexamples) of what you can do with NiceGUI.\nIn our wiki we have a list of great [NiceGUI projects from the community](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fwiki#community-projects), a section with [Tutorials](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fwiki#tutorials) and a growing list of [FAQs](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fwiki\u002FFAQs).\nWhen building NiceGUI projects with AI assistants, point them at [`nicegui\u002Fllms.md`](nicegui\u002Fllms.md) — a concise reference that ships with the package (also served at \u003Chttps:\u002F\u002Fnicegui.io\u002Fllms.txt>).\n\n## Why?\n\nWe at [Zauberzeug](https:\u002F\u002Fzauberzeug.com) like [Streamlit](https:\u002F\u002Fstreamlit.io\u002F)\nbut find it does [too much magic](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fissues\u002F1#issuecomment-847413651) when it comes to state handling.\nIn search for an alternative nice library to write simple graphical user interfaces in Python we discovered [JustPy](https:\u002F\u002Fjustpy.io\u002F).\nAlthough we liked the approach, it is too \"low-level HTML\" for our daily usage.\nBut it inspired us to use [Vue](https:\u002F\u002Fvuejs.org\u002F) and [Quasar](https:\u002F\u002Fquasar.dev\u002F) for the frontend.\n\nWe have built on top of [FastAPI](https:\u002F\u002Ffastapi.tiangolo.com\u002F),\nwhich itself is based on the ASGI framework [Starlette](https:\u002F\u002Fwww.starlette.io\u002F)\nand the ASGI webserver [Uvicorn](https:\u002F\u002Fwww.uvicorn.org\u002F)\nbecause of their great performance and ease of use.\n\n## Sponsors\n\nMaintenance of this project is made possible by all the [contributors](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fgraphs\u002Fcontributors) and [sponsors](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fzauberzeug).\nIf you would like to support this project and have your avatar or company logo appear below, please [sponsor us](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fzauberzeug). 💖\n\n\u003C!-- SPONSORS -->\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Flechler-gmbh\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Flechler-gmbh.png\" width=\"50px\" alt=\"Lechler GmbH\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZhifeng2019\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FZhifeng2019.png\" width=\"50px\" alt=\"Zhifeng\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwhoulden\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fwhoulden.png\" width=\"50px\" alt=\"Wayne Houlden\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdigiquip\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fdigiquip.png\" width=\"50px\" alt=\"DigiQuip AS\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Faitech95\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Faitech95.png\" width=\"50px\" alt=\"JACOB SHI \" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FLambdaTest-Inc\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FLambdaTest-Inc.png\" width=\"50px\" alt=\"TestMu AI Open Source Office (Formerly LambdaTest)\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZaga-Solutions\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FZaga-Solutions.png\" width=\"50px\" alt=\"Zaga Solutions\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FDiscolike\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FDiscolike.png\" width=\"50px\" alt=\"DiscoLike Inc.\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003C!-- SPONSORS -->\n\nConsider this low-barrier form of contribution yourself.\nYour [support](https:\u002F\u002Fgithub.com\u002Fsponsors\u002Fzauberzeug) is much appreciated.\n\n## Contributing\n\nThank you for your interest in contributing to NiceGUI! We are thrilled to have you on board and appreciate your efforts to make this project even better.\n\nAs a growing open-source project, we understand that it takes a community effort to achieve our goals. That's why we welcome all kinds of contributions, no matter how small or big they are. Whether it's adding new features, fixing bugs, improving documentation, or suggesting new ideas, we believe that every contribution counts and adds value to our project.\n\nWe have provided a detailed guide on how to contribute to NiceGUI in our [CONTRIBUTING.md](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fblob\u002Fmain\u002FCONTRIBUTING.md) file. We encourage you to read it carefully before making any contributions to ensure that your work aligns with the project's goals and standards.\n\nIf you have any questions or need help with anything, please don't hesitate to reach out to us. We are always here to support and guide you through the contribution process.\n\n## Included Web Dependencies\n\nSee [DEPENDENCIES.md](https:\u002F\u002Fgithub.com\u002Fzauberzeug\u002Fnicegui\u002Fblob\u002Fmain\u002FDEPENDENCIES.md) for a list of web frameworks NiceGUI depends on.\n\n## Architecture\n\nNiceGUI is a Python framework for building web UIs with a **backend-first philosophy**.\nKey architectural decisions:\n\n- **Backend-first**: All UI logic lives in Python; the framework handles web details\n- **Tech stack**: Python\u002FFastAPI backend, Vue\u002FQuasar frontend, socket.io for communication\n- **Single worker**: Uses one uvicorn worker (thanks to full async support, no multi-process synchronization needed)\n- **Real-time communication**: WebSocket connection is established after initial page load, kept open for client-server communication\n- **User interactions**: All UI events are sent to backend and invoke Python functions, which can then generate UI updates\n- **Outbox**: Accumulates UI updates and sends them in batches to the client\n","NiceGUI 是一个基于 Python 的用户界面框架，用于在浏览器中创建网页版的图形用户界面。它支持创建按钮、对话框、Markdown 文档、3D 场景、图表等多种元素，并且具备自动重载代码更改的功能。该框架既可以用作 Web 服务器模式供浏览器访问，也支持以原生模式运行如桌面窗口应用。NiceGUI 提供了丰富的标准 GUI 组件以及一些高级功能，例如定时刷新数据、数据绑定等。适用于微型 Web 应用、仪表板、机器人项目、智能家居解决方案及开发调试场景，如调整机器学习算法参数或调校电机控制器时使用。",2,"2026-06-11 03:34:58","high_star"]