armink/FlashDB
An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库 observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 97
- Release rhythm 44
- Longevity 100
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: 532
- age_days: 2292
- days_rel: 163
- days_push: 18
- n_releases_24m: 2
Adoption not part of the score
2834 stars · 560 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
FlashDB is an ultra-lightweight embedded database written in C that provides two storage modes: a key-value database (KVDB) and a time-series database (TSDB) that operate directly on flash memory without a file system. It is designed for resource-constrained IoT and embedded products, offering near-zero RAM usage, wear leveling to extend flash lifetime, and power-off protection for high reliability.
Use cases
- store configuration and product parameters as key-value pairs on a microcontroller
- persist sensor readings with timestamps on an embedded device
- keep operation logs and alarm history in flash on IoT hardware
- manage small data records on a bare-metal MCU or RTOS without a file system
- survive power loss without corrupting stored settings
- extend SPI NOR flash lifetime through wear balancing
- upgrade stored KV values automatically after a firmware update
When to choose
- you need a database on an MCU or RTOS device where a traditional file-system-based database won't fit
- you need extremely low RAM and ROM footprint with reliable flash storage
- you need to store time-series sensor data or key-value settings directly on raw flash
- you need power-fail-safe storage and wear leveling for embedded products
When to avoid
- you need SQL queries, joins, or relational modeling (use SQLite or a server database)
- your target has ample resources and a file system, making conventional databases easier
- you need multi-client network access or concurrent writes from multiple processes
Facets
library · maturity stable
database databases time-series iot embedded-systems embedded iot cross-platform embedded-database key-value-store tsdb kvdb flash-memory wear-leveling power-fail-protection microcontroller rtos nor-flash lightweight c-library firmware
1 source
- readme: https://github.com/armink/FlashDB · fetched 2026-08-28 · 957ddbaf2ad9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| armink/FlashDB | main | 79 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem