Skip to content

feat: add IPC support (unix only)#1691

Open
Apsapeh wants to merge 3 commits into
raphamorim:mainfrom
Apsapeh:feature/ipc
Open

feat: add IPC support (unix only)#1691
Apsapeh wants to merge 3 commits into
raphamorim:mainfrom
Apsapeh:feature/ipc

Conversation

@Apsapeh

@Apsapeh Apsapeh commented Jun 27, 2026

Copy link
Copy Markdown

Hello!

I've just added support for the IPC via Unix sockets. At this moment it supports only window creation, but you can easily add new functionality. Also added '--no-ipc' cli flag to prevent any IPC and start as normal process (even if it enabled in config). And added 'enable_ipc' config option.

On startup, Rio tries to connect to the existing IPC server. Otherwise, it starts the IPC server.

New windows started in the last working directory, just Quality of Life. Same behave I saw in Ghostty and it really handy.

Also, it brights significant RAM usage improvement. On my machine, 50 windows only consume 500 MiB (and start soooo fast)

P.S. Sorry for grammar mistakes in this PR and code comments, I'm not native English

Closes #868

@Apsapeh Apsapeh changed the title feat: add IPC and IPC single-instance in general (unix only) feat: add IPC support (unix only) Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add IPC or CLI option to open new windows from existing rio instance

1 participant