Proje
File Storage
- Nasıl çalıştırılır
- kaydedilmedi
- Holochain sürümü
- 0.5.3
- Etkinlik
- aktif
- Kontrol edildi
- 29 Ekim 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.
Nasıl edinilir
Kütüphane olarak
- 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.
- Install the UI package with npm install against the repository's ui-build branch, and import the web components you want to use.
- In development the components expect a Holochain conductor running at ws://localhost:8888; the repository includes a working demo page to copy from.
İnsanların sorduğu sorular
- 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. kaynak
- 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. kaynak
- Is it finished?
- The README describes the module as being in its early development, so builders should judge its state themselves before adopting it. kaynak
3 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.
Deneyin: File Storage
- GitHub'daki kodGitHub'da aç ↗Last change 16 Ekim 2026.
- Web sitesiholochain-open-dev.github.io ↗
- SürümKayıtlı GitHub sürümü yok.
- Projenin kendi dosyaları nasıl çalıştırıldığını belirtmiyor.
Ayrıntılar ve kaynaklar
Kanıt
- Son değişiklik
- api.github.com/repos/holochain-open-dev/file-storageüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
- Etkinlik
- api.github.com/repos/holochain-open-dev/file-storageüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1
Uyumluluk
- hdk
- 0.5.3 · Cargo.toml @ cae5c46
- hdi
- 0.6.3 · Cargo.toml @ cae5c46
- holochain-client
- 0.19.1 · ui/package.json @ cae5c46
- happ.yaml
- yok
- web-happ.yaml
- yok