# U8g2

U8glib library for monochrome displays, version 2

Repository: https://github.com/olikraus/u8g2
Canonical: https://ross.abutalabs.com/products/u8g2
Language: C
License: NOASSERTION
License Family: other
Topics: u8g2, microcontroller, monochrome-displays, font, arduino, display, oled, lcd, embedded-systems
Last push: 2026-08-23T09:19:28+00:00
Link (homepage): https://github.com/olikraus/u8glib/wiki

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3953, "days_push": 10, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6648, forks 1218 (observed 2026-08-28T04:09:47.289510+00:00)

## What it is
U8g2 is a monochrome graphics library for embedded devices, supporting a wide range of OLED and LCD display controllers with drawing primitives and many fonts. It also includes U8x8, a lightweight text-only mode that writes directly to the display without a framebuffer.

## Use cases
- draw graphics on an SSD1306 OLED with Arduino
- render text and shapes on a monochrome LCD from a microcontroller
- display sensor readings on a small embedded display
- use a framebuffer graphics library on AVR or ARM microcontrollers
- drive ST7565 or SH1106 displays in C
- show a menu interface on a 128x64 OLED

## When to choose
- you need to drive a monochrome OLED/LCD from a microcontroller with broad controller support
- you want rich drawing primitives and flexible fonts on Arduino or bare-metal C
- memory is tight and you can use the bufferless U8x8 text mode

## When to avoid
- you need color display support
- you are driving a display from a full OS with a GPU or desktop graphics stack
- you need touch input or advanced widget frameworks

## Facets
- artifact type: library
- maturity: stable
- function: graphics, ui-components, embedded
- domain: embedded-systems, hardware, graphics
- platform: embedded, iot, cpp, c, cross-platform
- tags: monochrome-displays, oled, lcd, ssd1306, arduino-library, display-driver, microcontroller, fonts

## Member repositories
- olikraus/u8g2 (main) score 77
- olikraus/u8glib (mirror) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.289510+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:43:08.224627+00:00, confidence not recorded.
  - readme: https://github.com/olikraus/u8g2 (fetched 2026-08-28T04:09:47.289510+00:00, sha 3e26c4e3b041)
  - homepage: https://github.com/olikraus/u8glib/wiki (fetched 2026-08-29T08:39:19.444408+00:00, sha 85e49bc49564)
- Data as of 2026-08-30T08:39:29.467469+00:00.
