afero
A FileSystem Abstraction System for Go (by spf13)
archiver
Easily create & extract archives, and compress & decompress files of various formats (by mholt)
afero | archiver | |
---|---|---|
17 | 3 | |
5,699 | 4,242 | |
- | - | |
4.4 | 5.2 | |
8 days ago | 11 days ago | |
Go | Go | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
afero
Posts with mentions or reviews of afero.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-17.
-
How do you test programs that move their input files?
Probably use something like https://github.com/spf13/afero
-
Powerful template for CLI projects in Go 🐹
Afero filesystem for various fs utils, abstractions and in-memory fs for testing. For example, instead of os.Remove("file") use filesystem.Api().Remove("file")
- How should I go about creating a program that holds various MP4 files?
- Afero - A filesystem abstraction system for go
- How to serve files from internal Directory (storage)?
-
Interacting with the file system
Literally I'm making a library for this purpouse. It allows you to make project generators using templates and custom scripts. If you want you can collaborate xd. Answering your question I use a library named afero. owl afero
-
Read/Write FileSystem header interface for dependency injection
Not to be a downer but does this do anything afero doesn't?
-
Virtual filesystem path in golang
You could take a look at afero in memory file system. It should solve your problem as long as you can keep the files in memory.
-
Write once, store anywhere: Extensible file systems for Go
It also lacks consistency and sometimes reliability. I actually reached out with bug fixes and offered to improve things, but they had a different plan for the project. HackpadFS adds the shared test suite that was missing from afero.
-
File Systems implemented in Go
afero - A FileSystem Abstraction System for Go
archiver
Posts with mentions or reviews of archiver.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-07.
-
Ouch - simple compression and decompression for your terminal
archiver is also a very cool tool. I think its cli is somewhat similar to this.
-
folder to zip
https://github.com/mholt/archiver has a lot of helpers. Probably a good place to start.
-
Wormhole-gui 2.2.0 has been released
The next major release, v2.2.0, is out now. Most notably, this release replaces mholt/archiver with a custom zip extractor for faster directory receives and smaller binaries, adds settings for controlling advanced wormhole client options and a lot of smaller bug fixes. This release also incorporates the initial support for building on Apple M1 computers (release binaries for that architecture are currently not available though).
What are some alternatives?
When comparing afero and archiver you can also consider the following projects:
vfs for golang - Virtual filesystem library written in golang
autoflags - Populate go command line app flags from config struct
bitio - Optimized bit-level Reader and Writer for Go.
fx - A dependency injection based application framework for Go.
notify - File system event notification library on steroids.
go-types - Golang types convertion library
avgRating - Calculate average score and rating based on Wilson Score Equation
conv - Fast conversions across various Go types with a simple API.
jobs - A persistent and flexible background jobs library for go.
gopsutil - psutil for golang
xstrings - Implements string functions widely used in other languages but absent in Go.