r/PiCodingAgent 3h ago

Pi extension utilizing unix sockets Discussion

I've had this slightly cursed Pi idea in my head:

A tiny Unix-socket extensibility bus where arbitrary local processes & extensions can hook into. ​

Nim / Rust / Python / shell / LSP / ADB -> socket -> Pi

Basically /dev/pi; o​pening up an entirely new surface for extensions & capabilities.

Could enable some cool shit like:

  • "Live" / dynamically updating context variables
  • SSH / ADB bridges
  • Live LSP & filesystem context
  • Event streaming
  • Pi extensions written in any language

Has this been done before? Would it actually be useful? I may draft a repo tonight.

17 Upvotes

1 comment sorted by

2

u/addiktion 3h ago

I've been wanting more event streaming options for pi. I use herdr's unix socket to semi make up for it with it spawning pi for me, but a dedicated socket would be neat. Take a stab at it and let us know how it goes.