Native Shell (@native_shell) header
Native Shell (@native_shell) profile picture

Native Shell (NSH) is a native UI framework for iOS, Android, macOS, Windows, Linux and the web, built in Rust.

Joined March 2025
Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)Photo by Native Shell (@native_shell)
Native Shell v0.8.0 is here. 558 PRs · 64 contributors Lighter apps, faster rendering, and packaging on Apple Silicon without Rust or Xcode. Ship to .deb, .rpm or the Mac App Store. github.com/longbridge/nsh/re…
10
1
79
7,020
NSH v0.8.1 is out ⚡ • Linux input latency nearly halved (p50 ~13ms → ~7ms) • Faster editing on long Markdown docs • Lower memory use on macOS, Windows, Linux & Android • 100+ cross-platform fixes Upgrade today 👇 github.com/longbridge/nsh/re…
1
5
1
56
4,597
Great attempt by @NotLinky! The Fluent Design exploration for @native_shell looks promising. Looking forward to further progress 👍
Fluent UI for NSH 一个小尝试😊: 为 @native_shell 带来 Fluent Design 目前仍在开发中...
1
10
581
NSH 0.8.0 More ways to build and ship: • Editor: your own views between lines of code; snippets Tab between placeholders • GpuView: draw with your own wgpu renderer inside NSH UI • Packaging: .deb and .rpm for Linux, plus Mac App Store publishing nsh.dev
1
23
892
DataTable now selects ranges like a sheet: drag to select a block of cells. And a single trackpad gesture pans across and down at the same time.
1
29
1,056
nshpkg isn't just for feature updates. Use it to build your app's Pro features too. Not a single entry point: paid features blend right into your app's UI. Open source the app, keep Pro closed-source, and users install nothing extra. nsh.dev
2
1
30
986
Exactly why NSH exists. We stopped waiting and built the capabilities our apps needed: • One TSX codebase for iOS, Android, macOS, Windows, Linux and the web • Each platform’s own native UI and interaction • Drop down to Rust whenever you need to nsh.dev
The engineer on my team who builds our financial charts opened a PR to add rotated text rendering to GPUI Fast. That reminded me that @sunli829 had already implemented this back in June and submitted a PR to GPUI. It went nowhere for over 4 months and was eventually closed. github.com/longbridge/gpui-f… github.com/zed-industries/ze… We went through the same thing with WebView. From day one, Longbridge Pro needed WebView for CAPTCHA flow. WebView are tricky to integrate with frameworks like GPUI that draw their own UI on the GPU. egui and iced face similar problems. We started by integrating Wry. And this year, I found a better approach using window composition and submitted a PR to GPUI. Same, we waited. Eventually, the PR was automatically closed. After my PR was closed, Zed needed a WebView for Delta. That’s when they tackled the problem themselves. Their implementation only supports macOS so far. By then, we’d already shipped ours in Longbridge Pro, and our users had been using it for quite a while. github.com/zed-industries/ze… github.com/zed-industries/ze… If Zed doesn’t need a feature, progress on it in GPUI is usually slow, or it gets overlooked entirely. For a framework that so many people already build products on, I think that’s a big problem. Maintainers indeed can decide which PRs they merge. But the problems still needs a solution. If the upstream team passes on a contributor’s implementation and leaves the problem unresolved, people eventually have little choice but to fork. Most more complex GPUI projects I’ve seen has ended up maintaining its own changes to the framework. Discord is a recent high-profile example. Longbridge is another. We now ship Longbridge Pro on GPUI Fast. For a long time, I didn’t want to add another fork. That’s why we built GPUI Kit on top of GPUI and went upstream first whenever we needed a change in the framework itself. Even after we started GPUI Fast, we kept our changes in separate modules wherever possible so we could keep merging upstream changes. Otherwise, GPUI Fast would have diverged much further by now. That’s part of why we started NSH. GPUI couldn’t meet our mobile needs, and experiences like these also played a part. Building GPUI Kit and then GPUI Fast taught us what it takes to build a good UI framework. And we also have something very important: PASSION. nsh.dev Looking back, was all that waiting worth it?
2
1
28
1,478
Native Shell v0.8.0 is out — smoother frames on macOS & Windows. • macOS: scrolling skips window layout; canvases pan & zoom by compositing tiles • Windows: repaints only what changed; minimized windows free GPU surfaces github.com/longbridge/nsh/re…
4
44
1,713
Excited to see GPUI Kit fully working with react-native-gpui! 🔥 All the components in the video are 100% native with thin React Native wrappers — exactly what we designed for. Great work @ammarahm_ed! Looking forward to more integrations like this.
GPUI Kit fully working with react-native-gpui. github.com/longbridge/gpui-k…
1
22
1,085
Thanks @wwwalkerrun . Building the macOS tray directly against NSStatusBar from TSX, with the benchmarks and known limits written up this carefully, is really helpful for us. Appreciate you putting this together.
Really like what Native Shell is doing with TSX @huacnlee I was able to pair it with @NativeScript on the macOS tray which consumed 64% fewer tokens, and main-thread calls ran 11× faster than the usual Rust module route. Project below.
1
20
1,170
Rust. Xcode. Just nsh. You can now package a TSX app into a native macOS app with nothing else to install. Native components are trimmed on demand, so only what you use ships: • Runner: 53.47 MB → 33.05 MB • Relink: 1.1 s Write TSX. Hot reload. One command to package.
10
12
157
8,248
gpui-pre now out-downloads the official GPUI on crates.io. • Ahead every day since Sep 23 • 2.2× GPUI's downloads last week • 882K in under 3 months, past GPUI's all-time 628K gpui-kit.com
1
1
21
4,216
Longbridge Pro and our open-source GPUI Kit got a shoutout in @CodeToTheMoons 's deep dive on GPUI, the Rust UI framework behind Zed and Discord's rewrite 🎉 Native Shell builds on that work: one TSX codebase, native UI on 8 platforms, GPUI included 👇 youtube.com/watch?v=tNiHfcaq…
3
45
3,516
Omamail is now on iOS 📱 It's a fully native NSH app: the whole Qt/QML client rewritten in TSX, with the Rust mail core linked in-process. Same 2 Gmail accounts, on macOS: • Memory 540 → 213 MB • Idle CPU 39% → 1.3% • Startup 417 → 294 ms No backend process. No Qt.
7
447
Hi X 👋 We're Native Shell. We're the team at Longbridge behind GPUI Kit (21k⭐ on GitHub), the Rust UI toolkit that powers our own trading app, Longbridge Pro. Now we're building Native Shell: write your app once, and it runs natively on phone, desktop, web & terminal.
9
340
Native Shell retweeted
5,961
29,544
3,167
391,417
10,004,459
Native Shell retweeted
i have been on a shopping bender this morning, this is much better than i expected!
Replying to @OpenAI
Shopping We’re experimenting with making shopping simpler and faster to find, compare, and buy products in ChatGPT. ✅ Improved product results ✅ Visual product details, pricing, and reviews ✅ Direct links to buy Product results are chosen independently and are not ads. These shopping improvements are starting to roll out today to Plus, Pro, Free, and logged-out users everywhere ChatGPT is available. It will take a few days to complete the rollout.
392
222
52
4,204
817,041
妈呀我今天亏惨了,仓位里有个重仓股直接一字跌停,真是倒了血霉怎么买到这只大聪明真是欲哭无泪😭😭😭😭 最近美股似乎触底反弹了,想要开户建仓的朋友可以点击我的邀请链接(让我回回血吧😭😭😭) 长桥证券是大陆人身份能开的港美股账户 如果有香港银行卡可以直接开户。 如果没有港卡,也可以通过wise或者OCBC(新加坡华侨银行)入金。 具体操作步骤会有客服一对一手把手教你。 最近 长桥证券五一去HK开户有红包补贴,详见下文: 4月12号-5月7号长桥渠道专属活动🎁 🎉渠道专属 在港开户 开户填渠道专属开户邀请码: ESUL8Y 福利1:168港币股票现金卡 🎉首次净入资达标1万HKD 领取 福利2:港股终身免佣 福利3:美股终身免佣 福利4:88港币股票现金卡 (新势力第一券商特奖) 🎉首次净入资达标2万HKD 再得 福利5:400港币股票现金卡 福利6:4%货币基金 认购资格 福利7:现金打新免费 渠道专属 在港开户獎勵規則: 1、4月12号-5月7号 新开户(且时间 不可晚于过关小票最后一天) 2、4月过关小票 拍照过关小票 找长桥客户经理 专属开户福利链接(复制浏览器打开) app.lbmkt.ing/ac/oa?account_…
190
41
3
412
800,095
不得不说各个香港的券商对待香港居民的奖励活动是真的丰富 longbridge長橋香港地區專屬活動新用戶獎賞一股英偉達、一股蘋果、HKD 3,000 Apple Gift Card、蘋果平板電腦 Air,最高可拎最新蘋果手機 16 Pro Max a) 長橋證券拿獎勵邀請碼:YJNK2Y b) 拿奖励邀请链接:activity.lbmkt.ing/pipeline/…
1
1,119
Native Shell retweeted
1/ 【从哈佛断款事件,看川普如何挑战三权分立】 川普发文威胁取消哈佛的免税资格,理由是其“支持政治、意识形态甚至恐怖主义议程”,声称这已不符合“公共利益”。 听上去正义,实则危险。
7
9
1
49
14,196