r/opencode • • 23h ago

They rewrote Opencode desktop frontend on Rust

https://github.com/anomalyco/opencode-rune
218 Upvotes

37 comments sorted by

18

u/Zorvanzz9 22h ago

You can also test this tui native ADE im working on

https://opencrude.github.io

Its very easy to switch between models and providers and im making it pretty performant

5

u/ShaderCompilation 22h ago

Cool website bro

4

u/Zorvanzz9 22h ago

Thanks its something like vscode in terminal give it a try if you had time

3

u/KingMaster80 14h ago

Hello, awesome project, I have some doubts if you could answer them, that would be awesome.

1 - How does context compression works on Crude? I use something called billion-context and I really like the way it handles compression. Would it be possible to change the default compression to it?

2 - Another thing that I use is trace-mcp; it's basically a code graph for agents, is there anything like this on Crude?

3 - Does Crude already come with tools like browser access and other things for agents?

2

u/Zorvanzz9 10h ago edited 9h ago

hi, thank you

1- crude has two methods of compression, in automatic mode(when your agents are in middle of agentic loop) it uses the native compression of your provider for example anthropic or oai(because of hidden thinking), but if provider fails to compress context or if you change its behaviour in settings or if you manually trigger /compact it will use a cheap model you set for errand agent(this agent is a built-in agent for internal stuff of crude something like jarvis it distills memories, configures lsps and toolings with your permission) but im open to suggestion and i will check billion context you mentioned

2- its a very good suggestion, im working on supporting plugins for crude and i will either support this by a plugin or natively by internal lsp support

3- crude supports both versions of mcp protocol standards and allows you or your agents to easily install any mcps/skills you like(from settings or you can tell any agent they use internal crude tools for this), with no complexity, it has one internal search mcp server by default which comes with crude itself

2

u/KingMaster80 4h ago

Thank you for the answer, I definitely will try Crude.

1

u/Zorvanzz9 3h ago

thanks, hope it helps, if you had any issues or more suggestions feel free to file an issue

2

u/ndaidong 8h ago

do you have plan to support web app? I think that it's more convenient to work via web gui than tui.

4

u/Zorvanzz9 8h ago

Crude supports mouse input across nearly its entire TUI, so you can use it just like a GUI so you dont need a Vim survival course or years of keyboard gymnastics. Its 2026–7, after all. It even has a freaking window compositor inside the TUI, you can drag and drop stuff 😅, it supports both kitty image and sixel so even for images you dont have to go somewhere else

As for a web app, yes! If Crude gains a bit of traction and people enjoy using it, I plan to add a native web interface. You could then control it from your phone using Cloudflare Tunnels, NetBird, or Tailscale for remote access, or open it locally in a browser on the same machine.

56

u/bllq 23h ago

Finally, no electron!

30

u/ndaidong 23h ago

Amazing! My way:

OpenCode -> DeepSeek Harness -> OpenCode Rune

19

u/HyperWinX 23h ago

Finally, omg

5

u/YoRt3m 23h ago

Shouldn't we wait for a more final version that will replace the previous one?

5

u/pasteldebytes 21h ago

I'm not so excited. As far as I understood, the dev responsible uses windows mainly, and has not tuned it to Linux. 

https://x.com/LukeParkerDev/status/2126460186282127481?a=I4wsqtCax5dlc3-iBr8&s=20

I tested it on Linux and mem reduction is <10%. There's no plug-in support, BTW, so all your Plug-ins will not work. 

2

u/CrypticViper_ 17h ago

Dax mentioned something about plugin support coming. There’s no way they’d just abandon plugins entirely.

OpenCode core (the TUI and server) will also be moved to Rust

1

u/pasteldebytes 16h ago edited 10h ago

Sure. Definitely they need to do it. Not sure about compatibility with the previous plug-in system. Let's see... 

0

u/ireallydontcare00 23h ago

Там и TUI (CLI) есть на Rust и он уже работает https://github.com/anomalyco/opencode/tree/8870cabc06f8a449794d5b63e2962e03f64743f0/packages/cli-rs

1

u/ShaderCompilation 23h ago

А нормально работает? Есть основные фичи уже

1

u/ireallydontcare00 22h ago

В основном нормально работает, пока что заметил только один дефект, это чтение переменных из окружающей среды (zshrc) работает не корректно для плагинов и потребовалась доработка плагинов, которые читают переменные окружения

А так раст версия того стоит, плавность и скорость работы молниеностная

2

u/gdmr458 18h ago

They should rewrite the server in Rust too, when turning on my laptop and typing opencode it last like 7 seconds to open, I guess is the server.

2

u/ireallydontcare00 17h ago

They’ll rewrite the backend in Rust too—it’s just a matter of time.

Judging by how quickly they built the frontend and the approach they took, I’d say we’ll definitely have a Rust-based backend for OpenCode by the first quarter of 2027.

-3

u/horrbort 22h ago

Why are you writing in russian are you KGB?

8

u/ShaderCompilation 22h ago

Ay am KGB, yes. But SHHHHH... I'm andercaver

2

u/horrbort 22h ago

Guys we got em! Mods???

3

u/ireallydontcare00 19h ago

На этот вопрос можно так же ответить, кто истинный источник всей этой руссофобии, когда обиженный пришёл к власти, ещё до того момента, как ныне здесь писавшие свой ответ, могли вообще физический проголосовать

Но человечество как обычно, видит только следствие, но не причину и продолжается бороться со следствием

2

u/ireallydontcare00 22h ago

why not? in rules, english only allowed?

4

u/MokoshHydro 21h ago

That's reddit "feature". When you come from google search (for example), it tends to show conversation translated to local language. So, sometime people just write reply without even thinking that everybody else use different language.

2

u/DrinkClubMate 22h ago

but I like the terminaaaaaaaaal version :'( : ( :( : (

1

u/TestTxt 16h ago

Finally, please do the same to the CLI!

1

u/Mysterious_Pea_4042 15h ago

I installed it now and I'm not impressed.

1

u/Opening_Act_2580 11h ago

Could it be the end of the good old iGPU 99% issue?

1

u/0xbyt3 10h ago

Its UI seems pretty similar to GPUI but they decided to build their own UI library.

1

u/Latter_Ad_7225 9h ago

I like this, very snappy.

1

u/TinyDetective110 6h ago

only frontend?

0

u/CissMN 22h ago

That's nice. `Rune`, so this is what the team behind opencode has been vibe coding. I would like to know the underlying technologies and decisions behind it. Is Rune itself a graphics lib, like skia, plus a UI lib?

-2

u/twbluenaxela 19h ago

Yeah I still prefer OpenChamber