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.

macOS in Svelte

309 pointsby hidden-spyderalmost 4 years ago

18 comments

tarkin2almost 4 years ago
Unrealistic. The UI is faster than my mac's.
评论 #28179362 未加载
评论 #28179701 未加载
评论 #28180966 未加载
评论 #28179197 未加载
chrismorganalmost 4 years ago
The use of backdrop-filter triggers a fascinating bug in Firefox if you have manually enabled it (about:config, layout.css.backdrop-filter.enabled = true): the menus have a `backdrop-filter: blur(25px)`, and when they’re closed, the menus are hidden with `visibility: hidden` (I can’t see any reason why `display: none` is not used, you should normally prefer it), and this triggers <a href="https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1600485" rel="nofollow">https:&#x2F;&#x2F;bugzilla.mozilla.org&#x2F;show_bug.cgi?id=1600485</a>, where the blurred backdrop still gets rendered, making the areas underneath those menus basically useless as they’re blurred beyond recognition.
评论 #28178826 未加载
puruvjalmost 4 years ago
Project author here :)<p>Can&#x27;t express my gratitude enough for sharing this here. Thanks you!
评论 #28179614 未加载
评论 #28179279 未加载
评论 #28179600 未加载
onnnonalmost 4 years ago
Update: Issue is fixed now, see author&#x27;s comment below.<p>--<p>The link goes to the wrong demo!<p>&quot;macOS in Svelte&quot; is here:<p><a href="https:&#x2F;&#x2F;macos-svelte.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;macos-svelte.vercel.app&#x2F;</a><p>&quot;macOS in Preact&quot; is here:<p><a href="https:&#x2F;&#x2F;macos.vercel.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;macos.vercel.app&#x2F;</a>
评论 #28181018 未加载
simonwalmost 4 years ago
This has a ton of clever tricks in it.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;PuruVJ&#x2F;macos-web&#x2F;blob&#x2F;main&#x2F;src&#x2F;components&#x2F;apps&#x2F;VSCode&#x2F;VSCode.svelte" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PuruVJ&#x2F;macos-web&#x2F;blob&#x2F;main&#x2F;src&#x2F;components...</a> is the source code for the VSCode app - it actually works by adding an iframe around <a href="https:&#x2F;&#x2F;github1s.com&#x2F;puruvj&#x2F;macos-web" rel="nofollow">https:&#x2F;&#x2F;github1s.com&#x2F;puruvj&#x2F;macos-web</a>
评论 #28186710 未加载
laszlokortealmost 4 years ago
Looks pretty neat but one thing immediatly noticed:<p>When clicking in in the menu bar to open a menu (for example on the apple logo) and then moving the mouse down, but diagonally in a way that the cursor cross the next to the right menu item (eg finder):<p>- in this demo the hover triggers the finder menu to open<p>- on a real map the diagonal down movement prevents that and keeps the current menu open
birdyroosteralmost 4 years ago
I don&#x27;t understand but I like it anyways.
评论 #28311660 未加载
rawoke083600almost 4 years ago
Very very well done ! :) And I bet doing it in Svelte was a pleasant DX experience !
legrandealmost 4 years ago
This is just like:<p><a href="https:&#x2F;&#x2F;www.windows93.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.windows93.net&#x2F;</a><p>And<p><a href="https:&#x2F;&#x2F;windows96.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;windows96.net&#x2F;</a>
评论 #28186714 未加载
superplussedalmost 4 years ago
You are a beast. This is ridiculous and incredible!
kachnuv_ocasekalmost 4 years ago
What fascinates me is that this was apparently written in just two days according to the commit log: <a href="https:&#x2F;&#x2F;github.com&#x2F;PuruVJ&#x2F;macos-web&#x2F;commits&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PuruVJ&#x2F;macos-web&#x2F;commits&#x2F;</a>
评论 #28179112 未加载
评论 #28179120 未加载
vzalivaalmost 4 years ago
Apple lawyers are probably already at work drafting cease and decist letter to the author :)
评论 #28179140 未加载
EugeneOZalmost 4 years ago
Can only launch an “app” there but it doesn&#x27;t react to taps.
评论 #28179797 未加载
评论 #28178666 未加载
评论 #28178662 未加载
tqkxzugoaupvwqralmost 4 years ago
It even has dark mode.
评论 #28179135 未加载
somenewaccount1over 3 years ago
did you also write DevUtils?
评论 #28265185 未加载
Shadonototroalmost 4 years ago
beautiful, i always loved the feel of macOS, i heel at home, everything is easy to use, accessible and pleasant on the eyes
grawprogalmost 4 years ago
Gotta be honest, the last mac I ever used ran OS8 I think, maybe 9, it was one of the classic Mac os&#x27;s either way.<p>I know this is just a UI recreation and not the actual OS but as a long time KDE user, like over a decade, I can&#x27;t help but think meh, why does this UI get so much praise?<p>I can make my desktop look, act and behave literally any way I want, I can modify every single aspect of every single thing on my desktop to suit my work flows and everything I do on a computer exactly so my computer does exactly what I want, when I want, exactly how I want it to in the exact way I want things to be done.<p>I haven&#x27;t changed much over the years, i&#x27;ve copied my configs through every update, even brand new computers and everything always just works how I want it to.<p>Why do people pay the premium for this UI Apple forces you to use?
评论 #28178845 未加载
评论 #28178718 未加载
评论 #28179078 未加载
评论 #28179422 未加载
评论 #28178727 未加载
评论 #28179059 未加载
评论 #28179972 未加载
评论 #28179631 未加载
评论 #28181137 未加载
评论 #28178812 未加载
评论 #28178778 未加载
评论 #28180051 未加载
评论 #28178966 未加载
评论 #28178770 未加载
viztoralmost 4 years ago
&lt;del&gt;It&#x27;s a copycat of another&#x27;s work in a different framework. Please do proper attribution.&lt;&#x2F;del&gt;
评论 #28178579 未加载