Git Product home page Git Product logo

Comments (12)

clayrisser avatar clayrisser commented on July 19, 2024 1

It's definitely cool. There's already a React Electron. The reason I'm working on React GTK is to create a native React experience for desktop applications. Electron is not native. It's essentially Cordova for desktop.

from gtk-node.

clayrisser avatar clayrisser commented on July 19, 2024 1

That's a really great idea. I'll make a note on the readme that this project will follow GJS bindings.

from gtk-node.

clayrisser avatar clayrisser commented on July 19, 2024

@nuxlli @harisvsulaiman @emilioastarita @Place1

from gtk-node.

nuxlli avatar nuxlli commented on July 19, 2024

I agree that the level is high.

But as generic as this lib may be, perhaps its api must guide primarily to the use that https://github.com/jamrizzi/react-gtk will make of it.

from gtk-node.

nuxlli avatar nuxlli commented on July 19, 2024

For example, I am really impressed with this api and how it can facilitate the creation of a "react-yue": http://libyue.com/docs/v0.1.1/js/

from gtk-node.

nuxlli avatar nuxlli commented on July 19, 2024

Yes I agree.

I found this project just looking for alternatives to this approach. In my searches:

  • qt: The variety of widgets and helpers is excellent. But licensing has become a problem.

  • efl: Just as yue is simple and light, making it easier to install in different systems. But also a little obscure and little used.

  • gtk+: Before release of gtk+3, it depended on the X11 subsystem, which made its application unattractive on macOS. But now it is more elegant, even if its installation is too complex.

from gtk-node.

clayrisser avatar clayrisser commented on July 19, 2024

Getting gtk to work on windows is a little hairy, but it's definitely doable. I successfully got gtk to work on windows in the following repo. I'll definitely use a similar approach when I try and get this to work on windows.

https://github.com/jamrizzi/windows-pygtk

I'm doing all my desktop development with python gtk until I finish this project.

from gtk-node.

harisvsulaiman avatar harisvsulaiman commented on July 19, 2024

@jamrizzi @nuxlli I took a different approach here https://github.com/harisvsulaiman/Pushy , instead of building the ui in gjs (or something similar), I used dbus as message passing system to build a hybrid app.
This has both a node js process ( with the business logic ) and native process ( UI stuff ).

This allows me to use this app wherever dbus is available.

from gtk-node.

Place1 avatar Place1 commented on July 19, 2024

I'm really excited around all the GTK node bindings so I can potentially hack on a gtk react native.

from gtk-node.

Place1 avatar Place1 commented on July 19, 2024

I know this issue is closed, but how about trying to closely follow GJS's GTK bindings?

from gtk-node.

harisvsulaiman avatar harisvsulaiman commented on July 19, 2024

@jamrizzi @Place1 @nuxlli Build something that emits Gjs?

from gtk-node.

clayrisser avatar clayrisser commented on July 19, 2024

ba3a5d4

from gtk-node.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.