Hi! I'm recently working on a portfolio website simulating macOS using React and tailwindcss. The style is between macOS Big Sur and Catalina (in another word, I picked out and combined my favorite parts from these two versions).
Wow, this is impressive and quite crazy! Ok so how does the VS Code thing work? I browsed the source (in VS Code in your website of course) and found the VS code component but I didn't quite understand -- it seemed to just be an iframe pointing at the README src. And yet it appeared sufficiently like I was actually in a VSCode instance to fool me.
Yes, it's an iframe embedding a third party service, https://github1s.com/. "It appeared sufficiently like I was actually in a VSCode instance" because it is a VSCode instance.
FWIW, in Chrome (Dev) on Linux, with hardware decode and 2D GPU raster enabled, on a fairly old laptop that occasionally sees GPU process hangs, it's _perfectly smooth_, and try as I might I can't make it skip frames. The icons jitter around a tiny bit as they change size, but I can't get it to produce jank.
At first I was like: Oh, ok, another one of these "here's my portfolio that looks like an OS" deals.
Then I was like: Cool, look how he got the nice Dock animation down, I bet it took him hours to sort that out. And then I opened VS Code and I had to write to tell you how my mind was blown. Kudos, senpai.
Like the other commenter said, it's not that impressive considering that VS Code was already written in Javascript and open-source, so the porting effort required here isn't as big as it seems. Still a neat project though!
This is fantastic, and it should help you get hired!
In late 90s, I got a gig in part by demo-ing my own personal MS Outlook emulator web front end (backed by ColdFusion POP3/SMTP calls). It was entertaining getting a 1996 browser to look and behave like Outlook — had to love frames and multipart server push. Seeing Bear, Terminal, and VSCode here are all both delightful and impressive. Typo feedback: “In the last sever days, Safari has prevent 95 tracker from profiling you” —> “In the last several [seven?] days, Safari has prevented 95 trackers from profiling you”
I’ve been building sites for 20 years, I’ve recently picked up react and seeing the code, it’s a great example of react so thanks for this! Second, kudos for recreating macos! The design is really where macOS shines along with the subtle animations and you nailed it. I grew up on System8/9 and miss that aesthetic but still cool none the less. Now, support dark mode ;)
Comments (191) 59 threads
Show all comments
Showing thread 1 of 59
Here's the link to website and Github:
Website: https://portfolio.zxh.io
Github: https://github.com/Renovamen/playground-macos
I appreciate any feedback or suggestions.
Source code here: https://github.com/conwnet/github1s
Discussed a while ago: https://news.ycombinator.com/item?id=26083919
I dont’t like frontend work, but that’s different from being bad at it. :)
What browser/hardware?
I started it about 10 days ago, but it's hard to calculate out the exact number of hours...
Continue this thread — 1 reply
Then I was like: Cool, look how he got the nice Dock animation down, I bet it took him hours to sort that out.
And then I opened VS Code and I had to write to tell you how my mind was blown.
Kudos, senpai.
In late 90s, I got a gig in part by demo-ing my own personal MS Outlook emulator web front end (backed by ColdFusion POP3/SMTP calls). It was entertaining getting a 1996 browser to look and behave like Outlook — had to love frames and multipart server push.
Seeing Bear, Terminal, and VSCode here are all both delightful and impressive.
Typo feedback:
“In the last sever days, Safari has prevent 95 tracker from profiling you” —> “In the last several [seven?] days, Safari has prevented 95 trackers from profiling you”
It sounds amazing and quite hard to achieve that in 90s, awesome job!
I'll fix the typo later, thanks!
Continue this thread — 1 more reply
Continue this thread — 2 more replies