React NodeGui

利用原生 React + 强大的 CSS(如样式设计)构建高性能、原生和跨平台的桌面应用程序。「Build performant, native and cross-platform desktop applications with native React + powerful CSS like styling.」

Github星跟蹤圖

React NodeGui

Join the NodeGUI community on Spectrum
All Contributors

Build performant, native and cross-platform desktop applications with React.🚀

React NodeGUI is powered by React ⚛️ and Qt5 💚 which makes it CPU and memory efficient as compared to other chromium based solutions like electron. React NodeGUI is essentially a React renderer for NodeGUI.

Visit: https://react.nodegui.org for docs.

This project is in active development. It should be okay for smaller projects but anything complex - electron is the way to go for now. 🚧

How does it look?

More screenshots?

See examples

Features

  • 🧬 Cross platform. Should work on major Linux flavours, Windows and MacOS
  • 📉 Low CPU and memory footprint. Current CPU stays at 0% on idle and memory usage is under 20mb for a hello world program.
  • 💅 Styling with CSS (includes actual cascading). Also has full support for Flexbox layout (thanks to Yoga).
  • ✅ Complete Nodejs api support (Currently runs on Node v12.x - and is easily upgradable). Hence has access to all nodejs compatible npm modules.
  • 🎪 Native widget event listener support. supports all event available from Qt / NodeJs.
  • 💸 Can be used for Commercial applications.
  • 🕵️‍♂️ Good Devtools support (supports react-devtools, node debugger).
  • 📚 Good documentation and website.
  • 🧙‍♂️ Good documentation for contributors.
  • 🦹🏻‍♀️ Good support for dark mode (Thanks to QT).
  • 🏅First class Typescript support. (Works on regular JS projects too 😉).

Getting Started

Community Guides

Talks/Podcasts

Docs for contributing

Looking to contribute? If you wish to implement a new widget/add more features and need help understanding the codebase. You can start here:

Contributing developer docs link:

https://github.com/nodegui/nodegui/tree/master/website/docs/development

Please read: https://github.com/nodegui/.github/blob/master/CONTRIBUTING.md

Building

npm run build

Using custom Qt

QT_INSTALL_DIR=/path/to/qt npm install

npm run build

Updating docs

npm run docs

then followed by:

cd website && GIT_USER=<your_git_username> yarn deploy

Funding

React NodeGUI is an open source project and requires your support. If you like this project, please consider supporting my work by clicking on the sponsor button on this Github repo or via Ko-Fi. Alternatively, Issues on React NodeGui can be funded by anyone via Issuehunt and the amount will be distributed to respective contributors.

Special Thanks

Code of Conduct

https://github.com/nodegui/.github/blob/master/CODE_OF_CONDUCT.md

License

MIT

Maintainers ✨

People maintaining this project.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

主要指標

概覽
名稱與所有者nodegui/react-nodegui
主編程語言TypeScript
編程語言TypeScript (語言數: 3)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2019-06-23 20:41:01
推送於2023-11-03 01:50:26
最后一次提交2023-11-03 02:50:26
發布數28
最新版本名稱v0.14.0 (發布於 )
第一版名稱v0.1.2 (發布於 )
用户参与
星數6.2k
關注者數69
派生數173
提交數347
已啟用問題?
問題數135
打開的問題數51
拉請求數136
打開的拉請求數2
關閉的拉請求數110
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?