TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Yue – A new library to create cross-platform GUI apps

104 pointsby zcbenzover 7 years ago

24 comments

Jasper_over 7 years ago
Hi,<p>You&#x27;re using large parts of WebKit source code (LGPL) in your proprietary library. This is against the license. Please compare:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;blob&#x2F;master&#x2F;nativeui&#x2F;gfx&#x2F;gtk&#x2F;painter_gtk.cc#L90" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;blob&#x2F;master&#x2F;nativeui&#x2F;gfx&#x2F;gtk&#x2F;pain...</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;WebKit&#x2F;webkit&#x2F;blob&#x2F;master&#x2F;Source&#x2F;WebCore&#x2F;platform&#x2F;graphics&#x2F;cairo&#x2F;PathCairo.cpp#L206" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebKit&#x2F;webkit&#x2F;blob&#x2F;master&#x2F;Source&#x2F;WebCore&#x2F;...</a>
评论 #15221175 未加载
评论 #15220383 未加载
评论 #15220466 未加载
评论 #15221932 未加载
评论 #15221725 未加载
irq-1over 7 years ago
From the FAQ, <a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;help" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;help</a><p>&gt; But once you have done modifications to Yue&#x27;s source code, all your code linked with Yue have to be open sourced with MS-RL. The only way to remove this limitation is to subscribe to Yue&#x27;s paid plan.<p>&gt; The license seems like a non starter.<p>&gt; Note that the license of Yue has less restrictions than LGPL, it does not require you to open source your project when you statically link with Yue, or compile Yue&#x27;s source code as part of your project.<p>&gt; So if you are fine with LGPL libraries, there is no reason to worry about Yue&#x27;s license.<p>&gt; Yue is just another open source project with dual licenses, and it has less restrictions than most dual licenses projects.<p>With the LGPL you can change the code, compile and dynamically link <i>without</i> releasing your own code. It&#x27;s a significant difference.
评论 #15220272 未加载
评论 #15218959 未加载
zcbenzover 7 years ago
Hi everyone, I have written a C++ library for creating native GUI apps, it also has language bindings for Lua and JavaScript (V8).<p>In the past I have written the Electron framework, which is a popular project for creating desktop apps with Chrome web engine and Node.js, while this library allows you to create native desktop apps.<p>If you want to see some screenshots and example code, check out the sample apps repo: <a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue-sample-apps" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue-sample-apps</a>.<p>If you are wondering how this library is different from other GUI toolkits, check out the FAQ: <a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;help#faq" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;help#faq</a>.<p>If you want to learn this library quickly, there is a detailed tutorial on using Yue with Node.js: <a href="http:&#x2F;&#x2F;libyue.com&#x2F;docs&#x2F;v0.2.0&#x2F;js&#x2F;guides&#x2F;getting_started.html" rel="nofollow">http:&#x2F;&#x2F;libyue.com&#x2F;docs&#x2F;v0.2.0&#x2F;js&#x2F;guides&#x2F;getting_started.html</a>.
评论 #15219048 未加载
评论 #15220626 未加载
评论 #15218646 未加载
评论 #15222911 未加载
评论 #15218467 未加载
paultopiaover 7 years ago
I&#x27;m sure this is an amazing project. But the readme and FAQ and such have such an aggressive, almost hostile tone---if you want to communicate with the author at all, even to report a bug, it&#x27;ll be five thousand bucks a month...
评论 #15218598 未加载
评论 #15218562 未加载
评论 #15218486 未加载
评论 #15218566 未加载
评论 #15218760 未加载
mwcampbellover 7 years ago
Unfortunately, this library has no support for accessibility, e.g. for blind users with screen readers, particularly on Windows, where it implements its own windowless controls without implementing the UI Automation API. So I advise against using this library for any application with a broad target user base until this problem is addressed.
setzer22over 7 years ago
With a quick glance, I learnt about the intrincate details of the license. However, I have no idea of the technical details behind the library or how the relevant code may look like (note that I can go to the sample sources, but without a proper introduction it takes some work to follow).<p>I&#x27;d suggest putting more emphasis in the library details, and <i>why</i> it is good (not just <i>how</i> good it is) especially before all that licensing information.
pbnjayover 7 years ago
It&#x27;d be really helpful if there were screenshots of a sample app from each supported platform. Is this wrapping native elements or providing custom elements?
评论 #15220485 未加载
drinchevover 7 years ago
Kudos for this. It does look awesome. Just tried out JS version.<p>Nevertheless I&#x27;m still afraid that features &#x2F; maintenance will be unsustainable, since you are the only developer [1] ( considering your expertise ).<p>I hope there are companies that support the project.<p>1: <a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;graphs&#x2F;contributors" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;graphs&#x2F;contributors</a>
评论 #15219536 未加载
Zekioover 7 years ago
5k per month for license O.o<p><a href="https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;tree&#x2F;master&#x2F;docs&#x2F;paid_plans" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yue&#x2F;yue&#x2F;tree&#x2F;master&#x2F;docs&#x2F;paid_plans</a>
评论 #15218625 未加载
评论 #15218711 未加载
评论 #15218629 未加载
评论 #15218612 未加载
fluxsauceover 7 years ago
&gt; By sending a pull request, you are agreeing to transfer the copyright of your code to Cheng Zhao.<p>Nope.
评论 #15218699 未加载
评论 #15218691 未加载
评论 #15219037 未加载
notheguyouthinkover 7 years ago
Nifty! I look forward to (hopefully&#x2F;eventually) someone making Go bindings for this :)<p>With that said, it would be nice if the sample apps included more components of the native UI. Eg, a bunch of buttons, text editors, etc - a sort of kitchen sink screenshot. Just to understand what it looks like on each OS. All the samples I saw so far seemed very limited, visually.
ComodoHackerover 7 years ago
This looks much like Sciter[0], but without declarative CSS and built-in scripting.<p>0. <a href="https:&#x2F;&#x2F;sciter.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sciter.com&#x2F;</a>
评论 #15222096 未加载
nautilus12over 7 years ago
Im very confused what is going on here. He works for electron full time but is releasing something else thats basically the same with more confusing terms?
评论 #15218643 未加载
harisvs-codeover 7 years ago
As a side note, I made an app with nodejs and vala without resorting to yue. <a href="https:&#x2F;&#x2F;github.com&#x2F;harisvsulaiman&#x2F;Pushy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;harisvsulaiman&#x2F;Pushy</a><p>Its a WIP
viachover 7 years ago
Does it have any relations to Vue.js or it&#x27;s just co-branding trick?
eivarvover 7 years ago
Great job!<p>Maybe now we&#x27;ll finally see accessible and efficient GUI apps from those who insist on writing desktop applications with JS.
评论 #15220522 未加载
wheresvic1over 7 years ago
I read the help page but I&#x27;m still not sure how this is different from Electron then? Could you care to comment?
z3t4over 7 years ago
It would be nice with Android support, otherwise I see no real advantage over electron or nw.js or a web app.
评论 #15219951 未加载
_binderover 7 years ago
Right, So I am doing a research project and If I want to use this library in that project, does that mean I have to pay to use it. My project is currently closed source , because don&#x27;t want anyone to steal stuff before I publish my paper. After that the code goes public.
评论 #15219009 未加载
评论 #15219019 未加载
brodockover 7 years ago
Thank you for not doing that in JavaScript ️.
andrewmcwattersover 7 years ago
For being a library designed to assist with creating cross-platform GUIs, the website itself—which should give a good first impression of the project&#x27;s attention to user interface details or user experience—is a joke.<p>Compounded with the other HNer&#x27;s comments regarding its licensing, make your own judgments.
jasonkostempskiover 7 years ago
Is the license similar to the React one?<p>Edit: Not trying to start a controversy or anything, I&#x27;ve never seen the Microsoft Reciprocal License before, it just looks like a similar idea. I&#x27;ll just go look it up.
KayLover 7 years ago
I don&#x27;t really like the name.<p>Vue Yue Vue Yue Yao Yue.
fiatjafover 7 years ago
Is that as amazing as I think it is? The Electron killer, the Holy Grail of UI frameworks, the El Dorado of cross-compatibility, the One Library to rule them all?
评论 #15219256 未加载