# spf13/afero

> Filesystem abstraction for Go with in-memory, archive and remote backends

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spf13/afero
- HTML: https://awesomeopensource.dev/project/spf13-afero
- License: Apache-2.0
- Language: Go
- stars: 6723
- Topics: compression, filesystem, fs, go, golang, network-file-system, network-file-transfer, vfs, virtual
- Activity score: 3.8/5 (Active)
- Last commit (any branch): 2026-10-30
- Last release: v1.15.0 2025-09-08

## Description

Afero replaces direct calls to the os package with a single Fs interface, so the same code runs against the local disk, an in-memory filesystem, ZIP and TAR archives or remote storage such as SFTP and GCS. Tests become fast and isolated through MemMapFs, and filesystems can be layered for sandboxing with CopyOnWriteFs, caching with CacheOnReadFs or path jails with BasePathFs. It mirrors the os package functions and implements io/fs.

## Maintenance activity

- Recency: 90% (weight 40%) — last commit: 14 days ago
- Commit volume: 100% (weight 25%)
- Releases: 9% (weight 25%) — last release: 431 days ago
- Bug fixes: 60% (weight 10%)
- Commits: 27 / 90d, 87 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
