# littlefs-project/littlefs

A little fail-safe filesystem designed for microcontrollers

Repository: https://github.com/littlefs-project/littlefs
Canonical: https://ross.abutalabs.com/products/littlefs
Language: C
License: BSD-3-Clause
License Family: permissive
Topics: filesystem, embedded, microcontroller
Last push: 2026-03-25T02:26:59+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 73, release rhythm 64, longevity 100
- inputs: {"age_days": 3476, "days_push": 162, "days_rel": 162, "gap_med": 72.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6909, forks 1017 (observed 2026-08-28T04:09:51.308084+00:00)

## What it is
littlefs is a small fail-safe filesystem library written in C, designed for microcontrollers and flash storage. It provides power-loss resilience via copy-on-write, dynamic wear leveling, and strictly bounded RAM/ROM usage.

## Use cases
- store files on flash memory in an embedded device
- filesystem that survives random power loss on a microcontroller
- wear leveling for NOR/NAND flash storage
- small-footprint filesystem with bounded RAM usage
- persist configuration data on an IoT device
- recoverable filesystem for firmware that can be interrupted at any time

## When to choose
- you need a filesystem on a microcontroller with limited RAM/ROM
- your device can lose power at any moment and must not corrupt data
- you need wear leveling and bad-block handling on flash storage

## When to avoid
- you need a filesystem for desktop/server storage with high throughput
- you need POSIX permissions, symlinks, or advanced filesystem features
- your storage is not flash-based block storage

## Facets
- artifact type: library
- maturity: stable
- function: file-system, embedded
- domain: embedded-systems, files, developer-tools
- platform: embedded, c, iot, cross-platform
- tags: flash-filesystem, wear-leveling, power-loss-resilience, microcontroller, copy-on-write, fail-safe

## Member repositories
- littlefs-project/littlefs (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.308084+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:41:28.417861+00:00, confidence not recorded.
  - readme: https://github.com/littlefs-project/littlefs (fetched 2026-08-28T04:09:51.308084+00:00, sha 5d2d406d12f0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
