gistfs
A Go io/fs filesystem implementation for reading files in Github gists. (by jhchabran)
hashfs
Implementation of io/fs.FS that appends SHA256 hashes to filenames to allow for aggressive HTTP caching. (by benbjohnson)
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.
gistfs
Posts with mentions or reviews of gistfs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-13.
hashfs
Posts with mentions or reviews of hashfs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-10.
-
ETag and HTTP Caching
An approach like https://github.com/benbjohnson/hashfs allows file names to be updated at runtime to be content hashed. This removes the need for the extra "304 Not Modified" API calls from the client. This content hash based file renaming is usually done using a build step which renames files. For applications where the static file serving and HTTP request processing are done in the same application, this can be done in memory without a build step for file renames.
I am using that approach in my project https://github.com/claceio/clace. It removes the need for a build step while making aggressive static file caching possible.
- Show HN: Clace – Platform for secure internal web applications
-
A Github Gist implementation of the upcoming io/fs interface (go 1.16)
About io/fs, there is also this implementation: https://github.com/benbjohnson/hashfs which demonstrates a less obvious (until it clicks that you can build a FS that works on top of another one!) but really practical use case.
What are some alternatives?
When comparing gistfs and hashfs you can also consider the following projects:
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
clace - Clace is a web app deployment platform for internal tools
traefik - The Cloud Native Application Proxy
go-plugin - Golang plugin system over RPC.
go-formatter - A curated list of awesome Go frameworks, libraries and software
certmagic - Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal
go - The Go programming language
act - Run your GitHub Actions locally 🚀