GramEditor/gram
39
986
Fork
You've already forked gram
88

Port Gram to WGPUI (GPUI / WGPU rewrite) or move to separate project? #76

Closed
opened 2026年03月10日 01:01:38 +01:00 by RandomScientist · 7 comments

If the goal of gram is to focus on stability it seems reasonable to work to reduce and eventually eliminate the monorepo coupling between gram's GPUI and gram itself. This would provide a great starting point for a community-focused fork of GPUI, following gram's principles but intended for general use.

If the goal of gram is to focus on stability it seems reasonable to work to reduce and eventually eliminate the monorepo coupling between gram's GPUI and gram itself. This would provide a great starting point for a community-focused fork of GPUI, following gram's principles but intended for general use.

Another thought i just had is that if we "beat" Zed to improving gpui for general use both gram and gram gpui stand to benefit from projects choosing to be downstream of us rather than zed

Another thought i just had is that if we "beat" Zed to improving gpui for general use both gram and gram gpui stand to benefit from projects choosing to be downstream of us rather than zed
Owner
Copy link

Yes! I really like this idea. Split it out, switch to WGPU and stabilize.

We’ll need to rename it. But yeah, sounds great to me.

I would also like to move the UI component library out so other tools can use it more easily.

Yes! I really like this idea. Split it out, switch to WGPU and stabilize. We’ll need to rename it. But yeah, sounds great to me. I would also like to move the UI component library out so other tools can use it more easily.

There are already forks of GPUI; maybe use them or reach out to them?

https://github.com/Far-Beyond-Pulsar/WGPUI

And maybe some others ^^'
There's also an official one by the Zed team, but it's kinda dead
https://github.com/gpui-ce/gpui-ce

And, this, but might be ... a bit new?
https://github.com/ahkohd/ggpui

That one is probably the most stable https://github.com/Far-Beyond-Pulsar/WGPUI

There are already forks of GPUI; maybe use them or reach out to them? https://github.com/Far-Beyond-Pulsar/WGPUI And maybe some others ^^' There's also an official one by the Zed team, but it's kinda dead https://github.com/gpui-ce/gpui-ce And, this, but might be ... a bit new? https://github.com/ahkohd/ggpui That one is probably the most stable https://github.com/Far-Beyond-Pulsar/WGPUI
Owner
Copy link

If we could move to WGPUI that would be great, would solve the WGPU transition as well.

If we could move to WGPUI that would be great, would solve the WGPU transition as well.
krig changed title from (削除) Move GPUI into a separate repo (削除ここまで) to Port Gram to WGPUI (GPUI / WGPU rewrite) or move to separate project? 2026年03月11日 18:04:49 +01:00
Contributor
Copy link

Also, take a look at Lapce's UI-lib floem.

Also, take a look at [Lapce](https://lap.dev/lapce/)'s UI-lib [floem](https://github.com/lapce/floem).

Worth noting that a PR to switch to wgpu without switching to an external fork of gpui has been merged.

Worth noting that a PR to switch to wgpu without switching to an external fork of gpui has been merged.
Owner
Copy link

@ItsHarper wrote in #76 (comment):

Worth noting that a PR to switch to wgpu without switching to an external fork of gpui has been merged.

I am still thinking that the best solution long term would be to switch to an external fork if possible, and I would want to contribute any fixes or discoveries in the WGPU move there if/when doing the switch.

@ItsHarper wrote in https://codeberg.org/GramEditor/gram/issues/76#issuecomment-11806386: > Worth noting that a PR to switch to wgpu without switching to an external fork of gpui has been merged. I am still thinking that the best solution long term would be to switch to an external fork if possible, and I would want to contribute any fixes or discoveries in the WGPU move there if/when doing the switch.
Sign in to join this conversation.
No Branch/Tag specified
main
test/wgpu-on-mac
test-ci/failing-test-mac
test/failing-test-mac
test/build-on-22-04
test/wgpu-present-mode-mailbox
v2.1
test/altgr-fix-again
test/2.0.0-rc1
test/linux-build
test/objc2
v1.2.1
3.0.1
3.0.0
2.2.0
2.1.2
2.1.1
2.1.0
2.0.0
1.2.1
1.2.0
1.1.0
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
GramEditor/gram#76
Reference in a new issue
GramEditor/gram
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?