Skip to content
ProcurAuthPublic

About

Browse S3, Google Cloud Storage and server folders in one page. One static binary, one HCL file, no state.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Stowr: every bucket and folder, in one page

CI Nightly Latest release Licence: MIT OR Apache-2.0 ProcurAuth conformance of the latest release Static binary for Linux amd64 and arm64 Configuration: one HCL file with a closed schema

Website · Docs · Access · Configuration · Security · Downloads

Stowr

Stowr is a web application that browses S3-compatible storage, Google Cloud Storage and folders of the server. It shows the objects, previews them, and works on them: upload, download, copy, move, rename, delete, tags, versions and more.

It is for operators and teams who run their own storage. They need one page for many buckets, on a host with little memory, and for objects of hundreds of gigabytes. Stowr reads only the bytes that it shows, and it keeps no database and no cache on disk.

The Stowr interface: a bucket with folders, and the menu of buckets and hosts with the state icons of each bucket

How it works

Stowr is one static binary. It has the interface inside. The browser talks to the HTTP server of Stowr. In the mode authzen, an edge signs an identity token, and Stowr asks a decision point (PDP) before each operation.

flowchart LR
    B([Browser]) --> E[Edge<br/>signs the identity token]
    E --> H
    subgraph S[stowr: one static binary]
        direction TB
        H[HTTP server] --> G{{Access guard, PEP}}
        G --> I[Storage instances<br/>ceilings, budgets, range readers]
        I --> P1[S3 client]
        I --> P2[GCS client]
        I --> P3[Volume]
    end
    G <-. question and decision .-> D{PDP}
    P1 --> S3[(S3-compatible)]
    P2 --> GCS[(Google Cloud Storage)]
    P3 --> F[(Server folder)]
Loading

Architecture of Stowr: the browser, the edge, the single binary with the HTTP server, the access guard, the storage instances and the jobs, the three providers, and the PDP

Each request follows the same rule: the decision comes before the first byte. A listing reads one page of keys. A large object is read with exact byte ranges. An upload goes in chunks, with a token that lets a client resume it.

Three request flows: a folder listing, a read of a large object by byte ranges, and an upload in chunks

Area What Stowr does
Storage AWS S3, MinIO, SeaweedFS and Garage through the S3 API. Google Cloud Storage. Folders of the server (Docker volumes, NFS, FUSE) as volumes.
Browsing Dense tables, folders, search, sort, tags, version counts, and the settings of the columns.
Previews Text, code, Markdown, JSON, CSV, Parquet, SQLite, Excel, Word, PDF, images, audio, video, archives, certificates and email. Each preview reads bounded byte ranges.
Large objects Exact byte-range readers. An integrity check that hashes the stream. An inspection of the structure. Insights on a folder.
Operations Resumable upload with SHA-256 checksums. Copy in parts for large objects. Archive download and extraction. Edit of metadata and tags.
Versions The versions of an object, restore, permanent delete, and the comparison of two versions in the browser.
Bucket functions Lifecycle rules, Object Lock, SSE-S3 encryption, incomplete multipart uploads, and the usage and quota of a bucket.
Access The mode authzen checks an identity token and asks a PDP. The mode open needs a proxy that signs users in.
Configuration One HCL file. A closed schema. A mistake stops the start. print-config shows each value and its source.
Runtime No database, no cache folder. Only a write to a volume uses a temporary file, in the folder of the target. A read-only root file system is enough. No request to another origin.

Example

Stowr is a PEP of ProcurAuth. The resource tree is service, bucket, folder and subfolder. The node of a key is its deepest folder. A grant on a node covers each node below it.

The resource tree, the question that Stowr sends to the PDP, the five actions and the two limits

A worked example. This access block makes Stowr check the tokens of an edge and ask a PDP:

access {
  mode = "authzen"

  identity {
    issuer           = "https://edge.example.com"
    audience         = "stowr"
    public_keys_file = "/etc/stowr/edge-jwks.json"
  }

  pdp {
    url        = "https://pdp.example.com:4182"
    token_file = "/etc/stowr/pdp-token"
  }
}

Alice opens reports/2026/q1.csv in the bucket finance. Stowr checks her token, then it asks the PDP:

{ "subject":  { "type": "user", "id": "alice" },
  "action":   { "name": "object.read" },
  "resource": { "type": "subfolder", "id": "2026",
                "properties": { "ancestors": [ { "type": "service", "id": "stowr" },
                                               { "type": "bucket",  "id": "finance" },
                                               { "type": "folder",  "id": "reports" } ] } } }

The PDP answers {"decision": true, "context": {"limits": {"max_object_size": 104857600}}}. Stowr reads the object and refuses a size over 100 MiB. An answer of false gives 403. A spent budget gives 429 with Retry-After. A PDP that does not answer gives 503, never a grant. docs/ACCESS.md has the rules.

See it

The folder list in the dark theme The preview of a Parquet file of 979 MB: the schema, read with two storage requests
The dark theme. The interface has a light theme and a dark theme. A large Parquet file. Stowr reads the footer only: 2 storage requests.
The upload panel at 35 percent, with the rate and the time left A folder that the access policy refuses: no folder to open
An upload of 229 MB, with the rate and the time left. A folder that the PDP refuses.

The website has more pictures. They show previews of images, JSON, CSV and archives, the inspection of a large object, Insights, and the information page of a bucket.

Quick start

This test takes five minutes. It runs a local S3-compatible service in Docker, bound to 127.0.0.1. It pushes no image.

docker run -d --rm --name stowr-demo-s3 -p 127.0.0.1:8333:8333 chrislusf/seaweedfs:4.41 server -s3 -dir=/data \
  -master.volumeSizeLimitMB=64 -volume.max=30 -volume.minFreeSpace=1GiB
sleep 10
curl -s -X PUT http://127.0.0.1:8333/demo
printf '# Hello\n\nThis file is in the bucket demo.\n' | curl -s --retry 5 --retry-delay 2 --retry-all-errors \
  -X PUT -H 'Content-Type: text/markdown' --data-binary @- http://127.0.0.1:8333/demo/notes/hello.md

Download Stowr, check the archive, and write the configuration. For arm64, use the archive stowr_0.3.1_linux_arm64.tar.gz.

curl -fsSLO https://github.com/ProcurAuth/stowr/releases/download/v0.3.1/stowr_0.3.1_linux_amd64.tar.gz
curl -fsSLO https://github.com/ProcurAuth/stowr/releases/download/v0.3.1/checksums.txt
sha256sum --check --ignore-missing checksums.txt
tar -xzf stowr_0.3.1_linux_amd64.tar.gz
cat > config.hcl <<'EOF'
access { mode = "open" }
server { listen = "127.0.0.1:8080" }
auth "local" {
  provider = "s3"
  mode     = "anonymous"
  endpoint = "http://127.0.0.1:8333"
  region   = "us-east-1"
}
bucket "demo" {
  name        = "Demo"
  auth        = "local"
  bucket      = "demo"
  permissions = ["read", "write", "delete"]
}
EOF
./stowr print-config -c config.hcl
./stowr -c config.hcl

Open http://127.0.0.1:8080/. Press Ctrl+C to stop Stowr, then run docker stop stowr-demo-s3. docs/GETTING-STARTED.md explains each step. To build the binary from the source, run scripts/static.sh --copy . (Docker only).

The ProcurAuth family

Stowr is a program of the ProcurAuth organisation. The organisation holds the open specification and the programs that follow it. The implementations page lists them, with the results of the conformance runs.

The specification defines the protocol, the schemas and the conformance cases. The reference tools read them and test the programs. The portal is a backend, an edge and a PDP. Stowr, Hune and ClickHouse Dash are services that ask the portal.

Part Role Repository Site
procurauth The specification and the reference tools ProcurAuth/procurauth procurauth.github.io/procurauth
portal Backend, edge and PDP ProcurAuth/portal procurauth.github.io/portal
Stowr PEP: a browser for S3, Google Cloud Storage and folders ProcurAuth/stowr procurauth.github.io/stowr
Hune PEP: dashboards over ClickHouse, PostgreSQL and MongoDB ProcurAuth/hune No public site yet
ClickHouse Dash PEP and MCP server: a query console for ClickHouse Outside this organisation Implementations page

To add a program to this list, open an issue in the specification repository.

Documentation

Page Content
Getting started The five-minute test, step by step.
Configuration and reference The blocks, the keys, the defaults. The reference comes from the code.
Architecture The runtime, the uploads, the jobs, versions, lifecycle, lock, encryption and volumes.
Access and conformance The identity token, the resource tree, the routes, the errors, and the test of ProcurAuth.
Security model What Stowr protects, and how.
Operations Service, network, logs, limits, upgrade and troubleshooting.
Previews The formats and the rules of the previews.
Development The scripts, the tests, the dependencies and the release.
Changelog The changes of each version.

The same pages are on the website. The Markdown files are the source.

Build and test

Use Docker. Do not install Rust on your machine.

scripts/cargo.sh fmt --all -- --check
scripts/cargo.sh clippy --all-targets --locked -- -D warnings
scripts/cargo.sh test --locked
scripts/check-invariants.sh
python3 -I scripts/check-docs.py

The CI runs only the fast checks on a push and on a pull request. scripts/heavy.sh runs the heavy checks: clippy, the tests, the static binary, the browser tests and the conformance test. The workflow Nightly runs them every night.

Security

Do not open a public issue for a vulnerability. Use the private report. SECURITY.md tells the supported versions and the response times. The security model tells what Stowr protects.

Contribute

Read CONTRIBUTING.md. Open an issue with one of the forms to ask a question or to report a defect. This project follows the code of conduct.

Licence

Stowr is under the licence MIT OR Apache-2.0. You can use it under the terms of either licence. The files LICENSE-MIT and LICENSE-APACHE hold the two texts. The third-party files that Stowr embeds keep their own licences: see THIRD-PARTY-NOTICES.md.

About

Browse S3, Google Cloud Storage and server folders in one page. One static binary, one HCL file, no state.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages