s3-browser

S3 Browser

A Flutter application for browsing AWS S3 buckets and S3-compatible storage services.

Features

Running the App

Web

flutter run -d chrome

iOS

  1. First, install iOS dependencies:
    cd ios
    pod install
    cd ..
    
  2. Open iOS Simulator or connect your iPhone

  3. Run the app:
    flutter run -d ios
    

Or open in Xcode:

open ios/Runner.xcworkspace

iOS Configuration

The app is configured with:

Setup

  1. Install Flutter dependencies:
    flutter pub get
    
  2. For iOS, install CocoaPods dependencies:
    cd ios && pod install && cd ..
    

CORS Configuration

For web usage, your S3 bucket must have CORS configured. Example CORS rule:

{
  "CORSRules": [
    {
      "AllowedHeaders": ["*"],
      "AllowedMethods": ["GET", "POST", "PUT", "HEAD"],
      "AllowedOrigins": ["*"],
      "ExposeHeaders": ["ETag"],
      "MaxAgeSeconds": 3000
    }
  ]
}

Note: iOS does not require CORS configuration.

Project Structure