Dashboard

The SparkDB dashboard provides a full UI for managing buckets — create, upload, browse, and delete without writing code.
Navigate to /dashboard/buckets or click Buckets in the sidebar.

Layout

The buckets page has two main sections:
  • Left panel — bucket list with visibility icons (globe for public, lock for private)
  • Right panel — selected bucket detail with file management

Storage Usage Bar

At the top of the page, a progress bar shows your total storage usage across all buckets:
[████████░░░░░░░░░░░░] 245 MB / 1 GB (23.9%)
This updates automatically as you upload and delete files.

Creating a Bucket

Click Create Bucket to open the creation dialog:
Bucket Name: [________________]
Required — 3–40 characters, lowercase alphanumeric, hyphens, underscores

[✓] Public bucket
    Files will be accessible without authentication
    via direct S3 URLs

[Cancel]  [Create]

Uploading Files

Select a bucket, then drag and drop files onto the upload zone, or click to browse. Each uploaded file shows:
  • Filename — the original file name
  • Size — formatted in bytes/KB/MB
  • Type — MIME content type
  • Actions — Copy URL, Delete

File Management

Copy File URL

Click the copy icon next to any file to copy its download URL:
  • Public buckets: direct S3 URL
  • Private buckets: API-proxied URL (requires authentication)

Delete a File

Click the trash icon to delete a single file. No confirmation dialog — the file is removed immediately.

Deleting a Bucket

Click the delete button in the bucket detail header, then confirm:
Are you sure you want to delete this bucket? This will permanently delete the bucket and ALL files inside it. This action cannot be undone. [Cancel] [Delete]
This soft-deletes the bucket (status set to deleted) and removes all objects from S3.

Refreshing

Use the Refresh button to reload the file list for the current bucket.