S3-compatibleSelf-hostedHolochain 0.7.1

An S3 endpoint you run beside your own Holochain node.

Point the S3 SDK or tool you already use at hAppBucket. It encrypts each file in 4 MiB chunks on storage you own, and it is designed so your own Holochain key decides who may read or write them.

In active build. It runs today on your own machine in evaluation mode. The first public release is planned as v0.1.0.

A diagram of hAppBucket: your Holochain key signs for a bucket built from encrypted 4 MiB chunks, which rests on storage you own. 1 2 3 YOUR KEY signs, grants, revokes 4 MiB CHUNKS each sealed alone YOUR STORAGE R2 bucket or disk A diagram of hAppBucket: your Holochain key signs for a bucket built from encrypted 4 MiB chunks, which rests on storage you own. 1 2 3 YOUR KEY signs and revokes 4 MiB CHUNKS each sealed alone YOUR STORAGE R2 bucket or disk
1 bucket, 2 planes

01What you run

2 parts that run beside your own Holochain node.

Part 1 · The Holochain app

happbucket.happ

A small Holochain app, or hApp, that you install on your node. It is designed to keep the index of your files, the wrapped encryption keys and the access grants in your own cell: your signed record on the node you run.

Built on holochain 0.7.1, hdk 0.7.1 and hdi 0.8.1.

Part 2 · The gateway command

happbucket

The program your apps and tools talk to. You start it next to your node, point any S3 SDK or tool at its address, and it answers as an S3 endpoint that keeps your files encrypted on storage you own.

Runs with Bun 1.2 or newer.

Today Part 2 runs on its own, in evaluation mode, with no Holochain node. Part 1 connects in milestone M2.

Do I add a library to my app?

No. Your app keeps the S3 SDK or tool it already uses and changes the endpoint URL and the access key (and path-style addressing, where the SDK asks for it).

02Who it is for

3 kinds of people who keep files on Holochain.

hApp developers

Upload and serve your app's files, photos and exports through the S3 SDK you already know, with access designed to follow your users' own keys.

Try the S3 side today

Self-hosters

Run your own S3 endpoint for backups and archives, on your own server or in your own Cloudflare account, with every file encrypted before it is stored.

rclone and restic · M3

Granis Personal

The file layer Granis Personal is being built to carry on Holochain: the attachments, documents and media that sit beside a person's records.

Integration · M4

03The first 2 minutes

Run it on your own machine today.

Install with Bun, make a throwaway access key and start the gateway. Then the AWS CLI or Bun's S3 client can create a bucket, upload, list and read back.

Every step, with AWS CLI and Bun examples

git clone https://github.com/Granis-AI/happbucket && cd happbucket
bun install
export AWS_ACCESS_KEY_ID="dev-$(openssl rand -hex 4)"
export AWS_SECRET_ACCESS_KEY="$(openssl rand -hex 20)"
bun run happbucket dev &
# hAppBucket 0.1.0 is serving S3 at http://127.0.0.1:9000

Evaluation mode Every start is a clean slate: the index lives in memory and each start uses a fresh encryption key. Keeping the index in your own Holochain cell is milestone M2.

04How it works

Every file takes 3 steps from your app to your storage.

  1. Step 1

    Sign & control in Holochain

    hAppBucket is designed so your Holochain key signs each upload and delete and holds the list of who may read or write. In local tests, a revoked key's next request is refused.

  2. Step 2

    Encrypt in 4 MiB chunks

    Each file is sealed in 4 MiB pieces (about 4 MB), each with its own derived key and tamper check, so a video player or backup tool reads only the pieces it needs.

  3. Step 3

    Store on your disk or R2

    The sealed chunks go to your own disk now, written as 1 file per object, and to your own Cloudflare R2 bucket from milestone M2. Deleting a file removes them, so the space comes straight back.

Read the full architecture

05Where it runs

On a server you run, or in your own Cloudflare account.

In active build

Your own Linux server or Docker host

hAppBucket is designed to run next to your Holochain node on any Linux machine. The encrypted chunks live on that machine's disk, and nothing depends on a cloud account.

Files live
On your server's disk
Holochain node
On the same server
Status
The gateway runs in evaluation mode today; Get started shows every step. A live Holochain node connects in M2; a Docker image ships with v0.1.0.

Planned · M2

1-click into your own Cloudflare account

The 1-click deploy will set up the gateway, a small Holochain node that sleeps when idle, and an R2 bucket, all inside your own Cloudflare account and billed to you by Cloudflare.

Files live
In R2, in your account
Holochain node
A container that will wake for writes
Estimated cost
About $5.50⁠–⁠$7/mo: the $5/mo Workers plan, container time only while active, and R2 with free egress

06Why Granis built this

Granis Personal needs a file layer on Holochain. hAppBucket is being built as it.

Granis is central intelligence for your life and business. Granis Personal keeps a person's working record in storage that person controls. Its first storage was a private Google Drive folder.

Since 1 Nov 2026 Granis Personal also runs on Holochain, on the founder's own node. There the record lives as private entries on the person's own source chain, the signed log of everything they write, signed by their own key and reached only through a grant they can revoke.

Chat, tasks, finance, documents and health records reached parity with Google Drive on Holochain. Files were the gap: a single file topped out at 17 MiB, a range read pulled the whole file, there were no signed links to share, and deleting a file freed 0 bytes.

hAppBucket is being built as the file layer that closes that gap, and milestone M4 will carry Granis Personal's files on it. It is a general component with 0 Granis logic inside, so any hApp can use it the same way. This covers Granis Personal only: Granis Business runs on different storage.

07Status

Where the build stands on 27 Nov 2026.

  1. M0Holochain app packageAchieved
  2. M1S3 gateway coreBuilt, verified locally
  3. M2Live node, R2 and Cloudflare packageNext
  4. M3rclone and restic testingPlanned
  5. M4Granis Personal integrationPlanned
  6. M5Open-source release v0.1.0Planned

What each milestone proves