hashfs

Implementation of io/fs.FS that appends SHA256 hashes to filenames to allow for aggressive HTTP caching. (by benbjohnson)

Hashfs Alternatives

Similar projects and alternatives to hashfs

  1. htmx

    643 hashfs VS htmx

    </> htmx - high power tools for HTML

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. litestream

    Streaming replication for SQLite.

  4. monorepo

    63 hashfs VS monorepo

    lix (change control system) && inlang (globalization ecosystem for software built on lix)

  5. kysely

    42 hashfs VS kysely

    A type-safe TypeScript SQL query builder

  6. clace

    Application server for deploying containerized web apps. Easily deploy internal tools across a team.

  7. go-plugin

    Golang plugin system over RPC.

  8. xxHash

    Extremely fast non-cryptographic hash algorithm

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. starlark-go

    Starlark in Go: the Starlark configuration language, implemented in Go

  11. sqlite

    sqlite mirror (by smparkes)

  12. certmagic

    Automatic HTTPS for any Go program: fully-managed TLS certificate issuance and renewal

  13. xtemplate

    A html/template-based hypertext preprocessor and rapid application development web server written in Go. (by infogulch)

  14. gistfs

    A Go io/fs filesystem implementation for reading files in Github gists.

  15. apps

    6 hashfs VS apps

    Clace web applications (by claceio)

  16. wddbfs

    1 hashfs VS wddbfs

    webdavfs provider which can read the contents of sqlite databases

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better hashfs alternative or higher similarity.

hashfs discussion

Log in or Post with

hashfs reviews and mentions

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-10-27.
  • Using SQLite as Storage for Web Server Static Content
    11 projects | news.ycombinator.com | 27 Oct 2024
    In terms of performance, the content hash based file name approach is easier to implement with SQLite storage. The content hash has to be generated just once during file upload, not every time the web server is restarted (or using a build step which does actual file renames). It is possible to do it dynamically for file system files (see https://github.com/benbjohnson/hashfs for a embedFS implementation), but the database makes it a bit easier.
  • ETag and HTTP Caching
    4 projects | news.ycombinator.com | 10 Apr 2024
    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
    6 projects | news.ycombinator.com | 18 Oct 2023
  • A Github Gist implementation of the upcoming io/fs interface (go 1.16)
    2 projects | /r/golang | 13 Jan 2021
    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.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 22 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic hashfs repo stats
4
371
2.6
about 1 year ago

benbjohnson/hashfs is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of hashfs is Go.


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Go is
the 4th most popular programming language
based on number of references?