cztomsik / graffiti

HTML/CSS engine for node.js and deno.
http://tomsik.cz/graffiti
MIT License
939 stars 18 forks source link

mobile support #188

Closed calvin2021y closed 2 years ago

calvin2021y commented 2 years ago

Is there a plan to support android/ios platform ?

cztomsik commented 2 years ago

I would love to but not this year. I think android is definitely doable (just take deno_core & this lib and then it might work together?) but I have no idea about iOS and most importantly I currently don't have time to try it, sorry.

calvin2021y commented 2 years ago

only android will be huge market.

If here is android support, if some company use it for they product, they will help you finish ios support.

From I know there is no such product in the market, people has to use java/ObjectC to do the render work and there is a cost from javascript bridge.

There is million and million web developer, and a lot of them use react native, weex to do mobile product. react native/weex javascript bridge make them slow and inconsistent, hard to test and maintain for android/ios platform. (because java/objectC evolving every year, and they are very different )

If there is real user and niche market, there will be more contribute from community .

cztomsik commented 2 years ago

yes, this is a good point, but I need to finish the original scope first :)

mobile (and wearables) is definitely something I'd like to try but it's not something I could hack myself in one night. also, I don't have any experience with mobile apps so that's another obstacle.

is it something you'd be willing to try yourself if I provided you some support on discord?

calvin2021y commented 2 years ago

Yes I am glad to try this.

Let me know to how to reach you by discord. (I just create my discord account today)


warning: In file included from glfw/src/context.c:30:
warning: In file included from glfw/src/internal.h:184:
warning: glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found
warning: #include <Carbon/Carbon.h>
warning:          ^~~~~~~~~~~~~~~~~
warning: 1 error generated.

error: failed to run custom build command for `graffiti-glfw v3.3.2

  cargo:warning=In file included from glfw/src/context.c:30:
  cargo:warning=In file included from glfw/src/internal.h:184:
  cargo:warning=glfw/src/cocoa_platform.h:30:10: fatal error: 'Carbon/Carbon.h' file not found
  cargo:warning=#include <Carbon/Carbon.h>
  cargo:warning=         ^~~~~~~~~~~~~~~~~
  cargo:warning=1 error generated.
  exit status: 1
cztomsik commented 2 years ago

just use the public invitation https://discord.gg/zQwyzFb

cztomsik commented 2 years ago

closing for now (limit scope before first release)