gulrak/filesystem
An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20 on Windows, macOS, Linux and FreeBSD. observed · 2026-08-28
Health v2 · maintenance only
84/100
- Activity 94
- Release rhythm 61
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2922
- days_rel: 45
- days_push: 41
- n_releases_24m: 1
Adoption not part of the score
1559 stars · 203 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A header-only, single-file C++ library that implements the C++17 std::filesystem API, usable from C++11 through C++20. It closely follows the standard with documented exceptions and runs on Windows, macOS, Linux, FreeBSD, and additional platforms like Android, iOS, and Emscripten.
Use cases
- use std::filesystem APIs in a C++11 or C++14 project
- polyfill for std::filesystem on compilers without C++17 support
- portable file and directory operations across Windows, macOS, and Linux
- single-header C++ library for manipulating paths and directories
- drop-in filesystem namespace for mixed C++ standard codebases
- cross-platform C++ code that needs directory iteration and file metadata
When to choose
- you need std::filesystem-style code but must target pre-C++17 toolchains
- you want one dependency-free header that works across Windows, macOS, Linux, and FreeBSD
- you prefer header-only libraries with no build system integration required
- you are migrating a codebase toward std::filesystem incrementally
When to avoid
- you compile with C++17 or later and can use the standard std::filesystem directly
- you need behavior beyond the documented deviations from the C++17 standard
- you require full symlink or permission semantics on platforms with known gaps, such as Windows
- you need a filesystem abstraction with extra features beyond the standard API
Facets
library · maturity stable
file-system developer-tools cross-platform files cpp cross-platform windows bsd header-only single-header polyfill std-filesystem cpp11 cpp14 cpp17 cpp20 ghc-filesystem portable no-build-step macos linux android ios
1 source
- readme: https://github.com/gulrak/filesystem · fetched 2026-08-28 · 8b704da54844
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gulrak/filesystem | main | 84 |
For agents
markdown · JSON · MCP: product_card(name="gulrak/filesystem")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem