MCPcopy
hub / github.com/nodegui/react-nodegui

github.com/nodegui/react-nodegui @v0.14.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.14.0 ↗
848 symbols 1,349 edges 100 files 0 documented · 0%
README

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.

logo

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?

demo_linux demo_win demo_mac

kitchendemo_macdemo_win

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 - https://gregbenner.life/node-gui-react-component-by-component/ - An awesome intro to all base components in react nodegui

  • https://blog.logrocket.com/electron-alternatives-exploring-nodegui-and-react-nodegui/ - Electron alternatives: Exploring NodeGUI and React NodeGUI by Siegfried Grimbeek.

Talks/Podcasts

JS Party 96: Performant Node desktop apps with NodeGUI – Listen on Changelog.com

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.

Buy Me a Coffee at ko-fi.com     issuehunt

Special Thanks

Code of Conduct

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

License

MIT

Maintainers ✨

People maintaining this project.

Atul R Atul R

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Rahul Gaba Rahul Gaba 💻 Kakul Gupta Kakul Gupta 💻 Eva1ent Eva1ent 💻 slidinghotdog slidinghotdog 💻 Roy Sommer Roy Sommer 💻 Natesh M Bhat Natesh M Bhat 📖 Mikko Sairio Mikko Sairio 💻
Shubham Zanwar Shubham Zanwar 💻 Serhii Matrunchyk Serhii Matrunchyk 💻 Solant Solant 💻 Christian Petersen Christian Petersen 💻 Adam Gastineau Adam Gastineau 💻 gluaxspeed gluaxspeed 💻 Chris Shepherd Chris Shepherd 💻
Jak Jak 💻 Greg B Greg B 📖 Nathaniel van Diepen Nathaniel van Diepen 💻 KR Tirtho KR Tirtho 💻 theLMGN theLMGN 💻 KaMeHb-UA KaMeHb-UA 💻

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

Extension points exported contracts — how you extend this code

RNProps (Interface)
(no doc)
src/components/config.ts
ReactProxyComponent (Interface)
(no doc)
src/development/types.ts
ListProps (Interface)
(no doc)
src/components/List/RNList.ts
ViewProps (Interface)
(no doc)
src/components/View/RNView.ts
CellRange (Interface)
(no doc)
src/components/Table/RNTable.ts
HorizontalHeader (Interface)
(no doc)
src/components/Table/RNTable.ts

Core symbols most depended-on inside this repo

throwUnsupported
called by 93
src/utils/helpers.ts
registerComponent
called by 38
src/components/config.ts
setViewProps
called by 21
src/components/View/RNView.ts
layout
called by 13
src/components/View/RNView.ts
layout
called by 11
src/components/GridView/RNGridView.ts
verifyRanges
called by 10
src/components/Table/RNTable.ts
getComponentByTagName
called by 7
src/components/config.ts
setDialogProps
called by 7
src/components/Dialog/RNDialog.ts

Shape

Method 375
Function 267
Class 155
Interface 51

Languages

TypeScript100%

Modules by API surface

src/components/Table/RNTable.ts32 symbols
src/components/View/RNView.ts30 symbols
src/components/InputDialog/RNInputDialog.ts26 symbols
src/components/TableItem/RNTableItem.ts24 symbols
src/components/ComboBox/RNComboBox.ts24 symbols
src/components/Slider/RNSlider.ts22 symbols
src/components/ProgressDialog/RNProgressDialog.ts20 symbols
src/components/Action/RNAction.ts20 symbols
src/components/Calendar/RNCalendar.ts18 symbols
src/components/Image/RNImage.ts17 symbols
src/components/GridView/RNGridView.ts17 symbols
src/components/FileDialog/RNFileDialog.ts16 symbols

Dependencies from manifests, versioned

@docusaurus/core2.0.0-alpha.64 · 1×
@docusaurus/plugin-google-analytics2.0.0-alpha.64 · 1×
@docusaurus/preset-classic2.0.0-alpha.64 · 1×
@nodegui/nodegui0.57.1 · 1×
@types/node16.11.0 · 1×
@types/react16.14.0 · 1×
@types/react-reconciler0.18.0 · 1×
classnames2.2.6 · 1×
phin3.5.1 · 1×
prettier2.3.2 · 1×
react16.14.0 · 1×
react-deep-force-update2.1.3 · 1×

For agents

$ claude mcp add react-nodegui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact