{"adoption": {"forks": 304, "observed_at": "2026-08-28T04:03:26.014215+00:00", "stars": 1061}, "canonical_url": "https://ross.abutalabs.com/products/c-periphery", "card": {"archived": false, "artifact_type": "library", "description": "A C library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.", "domain": ["embedded-systems", "hardware", "iot", "operating-systems"], "enriched": true, "function": ["embedded", "file-system", "developer-tools"], "health_score": 65, "homepage": null, "language": "C", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["vsergeev/c-periphery"], "name": "vsergeev/c-periphery", "platform": ["c", "embedded", "iot"], "pushed_at": "2025-11-02T21:46:15+00:00", "repo": "vsergeev/c-periphery", "stars": 1061, "tags": ["gpio", "spi", "i2c", "pwm", "serial", "mmio", "led", "peripheral-io", "raspberry-pi", "beaglebone", "userspace-hardware-access", "linux"], "topics": [], "urls": [], "use_cases": ["read and write GPIO pins from userspace C code on a Raspberry Pi", "communicate with I2C sensors in an embedded Linux application", "drive SPI devices from C without writing raw ioctl code", "blink or control LEDs via the Linux LED subsystem", "generate PWM signals for motors or servos", "open and read from serial ports in a C program", "memory-mapped I/O access to hardware registers on BeagleBone"], "what_it_is": "A small MIT-licensed C library providing userspace access to Linux peripheral I/O interfaces including GPIO, LED, PWM, SPI, I2C, MMIO, and Serial. It consolidates the native Linux APIs into a simple, dependency-free static library for embedded Linux platforms like Raspberry Pi and BeagleBone.", "when_to_avoid": ["you are not on Linux", "you need Python, Lua, Java, or Dart bindings (use the periphery ports instead)", "you need a higher-level robotics framework with device drivers and abstractions", "you need interrupt-driven or real-time guarantees beyond what userspace Linux provides"], "when_to_choose": ["you need C access to GPIO, SPI, I2C, PWM, serial, LED, or MMIO on embedded Linux", "you want a dependency-free static library with a simple re-entrant API", "you are targeting Raspberry Pi, BeagleBone, or similar single-board computers", "you want a maintained wrapper over the native Linux peripheral APIs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/c-periphery", "repo": "vsergeev/c-periphery", "role": "main", "score": 50}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:26.014215+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:56:52.733105+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "74e537fd146bb79bc1ac5d3b06f86510c51a355e0c7e7eac070acca35cc52c6f", "fetched_at": "2026-08-28T04:03:26.014215+00:00", "kind": "readme", "missing": false, "url": "https://github.com/vsergeev/c-periphery"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 50, "longevity": 100, "rhythm": 22}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4494, "days_push": 304, "days_rel": 304, "gap_med": 246, "n_releases_24m": 2}, "score": 50, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}