google/periph
Older version of periph, see new version at https://github.com/periph observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3611
- days_rel: n/a
- days_push: 1557
- n_releases_24m: 0
Adoption not part of the score
1730 stars · 156 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
periph is a Go library for peripherals I/O, providing pure-Go (no cgo) drivers and interfaces for GPIO, I²C, SPI, and 1-wire hardware on boards like Raspberry Pi, BeagleBone, and Jetson Nano. This google/periph repository is the archived original home; development moved to the github.com/periph organization, with the last usable version pinned at v3.6.8.
Use cases
- control GPIO pins on a Raspberry Pi from Go
- read sensors like BMP280 or DS18B20 over I2C or 1-wire
- blink an LED or read a button without polling
- drive SPI displays like SSD1306 OLED from Go
- enumerate and discover available hardware pins at runtime
- interface with FTDI FT232x USB devices in Go
When to choose
- you need pure-Go peripheral I/O with no cgo or external dependencies
- you are pinned to the v3.6.8 API and cannot migrate
- you want SemVer-guaranteed stable interfaces for GPIO/I2C/SPI on Linux SBCs
When to avoid
- starting a new project - use the actively maintained repositories at github.com/periph instead
- you need support for newer boards or devices added after 2022
- you need non-Linux production-grade hardware support beyond hobbyist use
Facets
library · maturity abandoned
embedded iot sdk developer-tools embedded-systems iot hardware cross-platform windows go embedded iot gpio i2c spi 1-wire peripherals hardware-io sensors single-board-computers archived-repo superseded linux macos
3 sources
- readme: https://github.com/google/periph · fetched 2026-08-28 · 07e6ed44bb13
- homepage: https://periph.io · fetched 2026-08-29 · 5138f7a952dc
- site_page: https://periph.io/device/gpio · fetched 2026-08-29 · d6bd9dbb54a0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| google/periph | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem