Skip to content

Project · library

File Storage

a building block for storing filesFile Storage zome and UI module to store files in a holochain DHT
How you run it
not recorded
Holochain version
0.5.3
Activity
active
Checked
29 October 2026

What is File Storage and what is it for?

File Storage is a reusable module that lets a Holochain app upload files into its own shared data store and read them back. It exists so that builders do not have to write file handling from scratch, and it ships both the backend zome and browser components for the interface.

File Storage is a small module published by holochain-open-dev for Holochain apps, rather than an app of its own. Its README describes a zome to create and retrieve files, built to be dropped into somebody else's DNA and to assume as little as possible about that DNA. Alongside the zome it ships an npm package of native web components, so the same module covers the backend pieces and a browser interface.

An app that wants people to publish documents, images or other files would otherwise have to write that storage layer itself. This module supplies it: files are uploaded into the app's shared data store, and the accompanying components give a ready-made upload and browse interface. The project's own documentation notes that uploading and downloading are handled with built-in chunking, and the README states that the module currently assumes a single DNA per app holds the files.

A typical adoption adds the zome as a Cargo dependency, registers it in the app's dna.yaml under the name file_storage, and installs the UI package with npm. In that last step the elements expect a running conductor at ws://localhost:8888 during development, and the repository includes a working demo page to copy from. The Storybook at holochain-open-dev.github.io/file-storage documents the components, and the README covers the zome side.

How to get it

As a library

  1. Add hc_zome_file_storage as a Cargo dependency of the zome that will contain it, and add the zome to the app's dna.yaml under the name file_storage.
  2. Install the UI package with npm install against the repository's ui-build branch, and import the web components you want to use.
  3. In development the components expect a Holochain conductor running at ws://localhost:8888; the repository includes a working demo page to copy from.

Source: https://github.com/holochain-open-dev/file-storage

Questions people ask

Can it handle large files?
The module's documentation describes uploading and downloading with built-in chunking, so files are handled in pieces rather than as a single entry. source
Can more than one DNA in an app store files?
The README's stated assumption is that a single DNA in the app holds the files, describing this as something to change in the future. source
Is it finished?
The README describes the module as being in its early development, so builders should judge its state themselves before adopting it. source

From 3 public sources, checked 23 September 2026.

Try File Storage

Details & sources

Evidence

Last change
api.github.com/repos/holochain-open-dev/file-storagelisted by a third party · seen since 20 October 2026 · github.repository@1
Activity
api.github.com/repos/holochain-open-dev/file-storagelisted by a third party · seen since 20 October 2026 · liveness@1

Compatibility

holochain-client
0.19.1 · ui/package.json @ cae5c46
happ.yaml
absent
web-happ.yaml
absent
Do you maintain File Storage?Add your name to this project’s page.
Claim this page