# pellepl/spiffs

Wear-leveled SPI flash file system for embedded devices

Repository: https://github.com/pellepl/spiffs
Canonical: https://ross.abutalabs.com/products/spiffs
Language: C
License: MIT
License Family: permissive
Topics: spiffs, spi-flash, wear-leveling, embedded, file-system, file, system, spi, flash
Last push: 2026-07-16T08:48:14+00:00

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

## Adoption (not part of the score)
Stars 1621, forks 421 (observed 2026-08-28T04:05:12.459919+00:00)

## What it is
SPIFFS is a wear-leveled file system for SPI NOR flash devices on embedded targets, written in C. It is designed for small microcontroller targets with sparse RAM, using statically sized buffers and a POSIX-like file API.

## Use cases
- store files on SPI NOR flash in an embedded project
- add a file system to a microcontroller with little RAM
- wear-level flash writes on an ESP8266 or similar chip
- read and write config files on embedded flash
- mount a flat file system on NOR flash without directories

## When to choose
- you need a small-footprint file system for SPI NOR flash on an MCU
- RAM is scarce and you need statically sized buffers
- you need wear leveling and consistency checks on flash
- your storage is under ~128MB and a flat file namespace is acceptable

## When to avoid
- you need directories or hierarchical paths
- you need real-time write latency guarantees
- your flash is larger than ~128MB or has bad blocks needing management
- you need a filesystem maintained with active new development

## Facets
- artifact type: library
- maturity: maintenance
- function: file-system, embedded
- domain: embedded-systems, files, developer-tools
- platform: embedded, c, cross-platform
- tags: spi-flash, wear-leveling, nor-flash, microcontroller, posix-like-api

## Member repositories
- pellepl/spiffs (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:12.459919+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-30T03:49:15.574409+00:00, confidence not recorded.
  - readme: https://github.com/pellepl/spiffs (fetched 2026-08-28T04:05:12.459919+00:00, sha a2acb6eaeae2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
