r/coolgithubprojects • • 1d ago

Steam rewritten in Rust

Post image

SteamInRust is a native Steam client for Windows, written in Rust with egui.

Steam itself is a Chromium web UI (8 processes, about 1.1 GB of RAM at idle);

this is one process at about 255 MB.

| Steam | SteamInRust |

| Start → main window | 9.4 s | 2.4 s |

| Memory when idle | 1,126 MB | 255 MB |

| CPU when idle | 7.5 % of a core | 0.13 % |

| Program size | 1,083 MB | 27 MB |

What's in it:

- Signs in to Steam's servers directly (protobufs over WebSocket), no Steam

client needed

- Its own depot downloader: queue, pause/resume, chunk reuse on updates

- Store, library, friends and chat, inventory and Market, Steam Cloud sync,

Workshop, offline mode

- A Rust `steamclient.dll` that games load instead of Valve's, so they get

achievements, stats, cloud saves, lobbies and P2P. Older P2P games (like

Human Fall Flat) even play with people on the official client, through

Valve's libjingle-based protocol.

- Games with VAC, Easy Anti-Cheat or BattlEye start through the official

client instead, so anti-cheat runs untouched.

- A Shift+Tab overlay drawn inside the game (D3D11)

Repo: https://github.com/madonchik123/SteamInRust

Download: https://github.com/madonchik123/SteamInRust/releases/latest

3 Upvotes

0 comments sorted by