Git Product home page Git Product logo

Comments (5)

Srdgh avatar Srdgh commented on August 17, 2024 2

I've put both your bindings on the wiki for the moment -- if you combine efforts, feel free to update the wiki to reflect that!

from libui.

parro-it avatar parro-it commented on August 17, 2024 1

@pcwalton what do you mean exactly by HTML port?

As you can see here me and @mavenave agree to join our efforts on writing node binding.

Next step that we was both planning is to write a react-native sort of framework on top of it...
In that context, we will probably use a subset of CSS to style the UI, using the libui box system as you suggested.

If instead by HTML you mean using libui native widget with javascript in a browser, I don't think this could be technically possible...

By the way, there is also react-native-desktop developed by @ptmt, but it work only for OSX...

from libui.

parro-it avatar parro-it commented on August 17, 2024

Hi @mavenave, I also started to work on node bindings of libui https://github.com/parro-it/libui-node
It could be beautiful to join our efforts!
I too had done very little so far...

from libui.

pcwalton avatar pcwalton commented on August 17, 2024

Would be great to see a HTML/CSS port too: the box system of libui maps directly to flexbox.

from libui.

andlabs avatar andlabs commented on August 17, 2024

I assume you have this progressed now. I'm going to close the issue here; good luck with your bindings!

It's possible to write a server that runs libui code locally and produces results on the browser. In fact, that has already happened indirectly: GTK+ 3 has a backend called "broadway" which renders into a browser. You launch the broadwayd program to start the server and then run your program with the environment variable $GDK_BACKEND set appropriately to point to the server; instructions are in the GTK+ documentation. Only one person can use it at a time and it isn't suitable for web apps, but it's there and it proves this is possible.

from libui.

Related Issues (20)

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.