supaS3docs

01 / 12

Overview & Architecture

What supaS3 is, how its Rust and GPUI dual-pane architecture works, and what problems it solves across multi-cloud object storage.

supaS3 is a native desktop object storage workbench built in Rust with GPUI Kit. It gives developers, infrastructure engineers, and data teams a fast two-pane desktop environment to browse buckets, stream objects across cloud providers, run capability-hardened bidirectional syncs, and govern bucket security without browser tab sprawl or Electron memory overhead.

Design Principles

1. Native dual-pane workflow

Every window hosts two independent panes side by side—each with its own tabs, breadcrumb bar, search filter, and sort state. Either pane can point to a local folder on your computer or to any saved cloud storage connection, making local-to-cloud, cloud-to-local, intra-bucket, and cross-cloud operations identical in feel.

2. Data safety & fail-closed verification

  • Overwrite protection by default: Uploading or copying to an existing key asks whether to Skip, Keep both, or Replace, using native atomic headers (If-None-Match: *, x-oss-forbid-overwrite, x-cos-forbid-overwrite) where supported and explicit pre-write checks elsewhere.
  • Verified moves: Moving files or objects removes each source item only after its destination copy has been verified; anything whose integrity cannot be confirmed keeps its original.
  • Non-destructive sync: Both Local → Cloud and Cloud → Local syncs never delete destination-only files.

3. Provider honesty

Different S3-compatible services implement conditional headers, ACLs, multipart listings, and XML sub-resources differently. supaS3 ships dedicated provider presets tuned from protocol-level probing (supas3-probe) and documents live-tested vs. specification-implemented capabilities transparently in the Compatibility Matrix.

Core Capabilities at a Glance

DomainCapabilities
Navigation & SelectionDual panes, per-pane tabs, collapsible breadcrumb dropdowns, standard desktop multi-selection (Cmd/Ctrl+Click, Shift+Click, Cmd/Ctrl+A), row-level drag-and-drop, and Cmd/Ctrl+K Command Palette
Transfers & ResumeConcurrent multi-range downloads (>= 32 MiB), bounded 64 MiB memory streaming for cross-connection copies, pause/resume across restarts, per-transfer speed caps, and automatic network retry
Previews & EditingPure-Rust syntect code/JSON editor (<= 8 MiB), dual Preview / Source SVG viewer, PNG/JPEG/WebP/GIF/BMP/ICO zoom viewer, 64 KiB Range media/PDF metadata cards, and private 0444 system-app handoff
Sync & AutomationInteractive dry-run comparison (Local → Cloud & Cloud → Local), O_NOFOLLOW / FolderIdentity symlink-safe local traversal, 0600 sync-state.json tracking, and recurring/manual Scheduled Jobs
Governance & VersionsBucket Encryption (SSE-S3/KMS), Public Access Block, S3 Object Lock (GOVERNANCE / COMPLIANCE / Legal Hold), CORS, Lifecycle, version history with Split/Unified text diff, Archive RestoreObject, incomplete MPU cleanup, and O(1) Storage Usage Analytics
Security & PortabilityOS keychain secret storage, credentials_missing fail-closed guards, sanitized JSON config export & two-phase approval import, HTTP/HTTPS proxy + custom root CA PEMs, and sanitized rolling diagnostic logs

Workspace Crate Architecture

PathResponsibility
crates/supas3-appNative GPUI desktop interface (supas3 binary), pure-Rust state/planning modules, bilingual locales (en / zh-CN), and Graphite Dark / Minimal Light themes
crates/supas3-coreUI-agnostic storage and transfer engine derived from Brows3 (MIT), housing scoped credentials, S3 provider adapters, resumable transfer manager, sync engine, and bucket governance
crates/supas3-probeHeadless CLI compatibility probe used to verify conditional headers, pagination, range semantics, and multipart edge cases against real endpoints
packaging/Reproducible packaging scripts for macOS (.dmg), Windows (Inno Setup .exe & portable .zip), and Linux (.deb, .rpm, .AppImage, .tar.gz)

Next Steps

Last updated

On this page