# ubusio v0.2.1 — Pure Go implementation of OpenWrt ubus, no CGO, zero dependencies

**URL:** <https://forum.golangbridge.org/t/ubusio-v0-2-1-pure-go-implementation-of-openwrt-ubus-no-cgo-zero-dependencies/43059>\
**Category:** Releases\
**Created:** [December 4, 2026, 5:41pm UTC](https://forum.golangbridge.org/t/ubusio-v0-2-1-pure-go-implementation-of-openwrt-ubus-no-cgo-zero-dependencies/43059 "2026-12-04T17:41:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddffcczz](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/ddffcczz/32/18155_2.png) [@ddffcczz](https://forum.golangbridge.org/u/ddffcczz)\
**Post date:** [December 4, 2026, 5:41pm UTC](https://forum.golangbridge.org/t/ubusio-v0-2-1-pure-go-implementation-of-openwrt-ubus-no-cgo-zero-dependencies/43059/1 "2026-12-04T17:41:19Z")

</div>

Hi Gophers!

I’d like to introduce **ubusio** , an open-source implementation of the native OpenWrt ubus IPC protocol written entirely in Go.

I developed this library to build networking and embedded Linux services in Go without relying on CGO, C libraries, or external CLI processes.

### Key features

- 100% Go, zero third-party dependencies

- Direct Unix socket communication

- Native ubus client and server

- Binary blobmsg encoding and decoding

- RPC calls and streaming responses

- Events, notifications and subscriptions

- Automatic reconnect and registration recovery

- Unix file descriptor passing (SCM\_RIGHTS)

- Deferred requests

- Monitor interface

- Context-aware operations and graceful shutdown

- Bounded queues and worker pools

### Testing and performance

The library has been tested against native ubusd on real embedded hardware:

- ARMv7: Orange Pi Zero, OpenWrt 21.02.2

- ARM64: MediaTek MT7981, OpenWrt 25.12.5

The repository includes protocol compatibility tests, lifecycle stress tests, race detection, and reproducible benchmarks against the original C libubus implementation.

While libubus remains faster for individual RPC calls, ubusio reaches approximately 84% of its throughput in the ARMv7 benchmark with 64 concurrent clients under the documented test conditions.

### Getting started

```auto
go get github.com/ddffcczz/ubusio@v0.2.1

```

- GitHub: [GitHub - ddffcczz/ubusio: Pure Go IPC for OpenWrt · GitHub](https://github.com/ddffcczz/ubusio)

- Go documentation: [ubusio package - github.com/ddffcczz/ubusio - Go Packages](https://pkg.go.dev/github.com/ddffcczz/ubusio)

- Latest release: [Release ubusio v0.2.1 · ddffcczz/ubusio · GitHub](https://github.com/ddffcczz/ubusio/releases/tag/v0.2.1)

- License: MIT

I’d appreciate feedback on the API design, concurrency model, performance, and potential use cases in embedded Linux and networking applications.

Contributions and bug reports are welcome!
