2025-12-03 14:13:07 +01:00
2025-12-03 14:10:47 +01:00
2025-12-03 12:39:37 +01:00
2025-12-03 00:03:47 +01:00
2025-12-03 00:03:47 +01:00
2025-12-02 23:47:17 +01:00
2025-12-03 00:23:54 +01:00

s3-genindex

Generate HTML directory indexes with file type icons and responsive design for local directories and S3-compatible storage. This is particularly useful for S3 buckets that are publicly readable.

Screenshot

Features

  • Local directory indexing with recursive traversal
  • S3-compatible storage support (MinIO, AWS S3, etc.)
  • Hierarchical directory structure for S3 buckets
  • Responsive HTML design with file type icons
  • Dry run mode for testing
  • Flexible filtering with glob patterns and regex exclusion
  • Hidden file control and index.html visibility options

Install

go install git.ipng.ch/ipng/s3-genindex/cmd/s3-genindex@latest

Quick Start

# Dry run to see what would be generated
s3-genindex -d /path/to/dir -n

# Local directory
s3-genindex -d /path/to/dir

# S3 bucket (requires AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY)
s3-genindex -s3 https://minio.example.com/bucket

Build

make build
make test

See docs/DETAILS.md for complete documentation and examples.

Description
No description provided
Readme Apache-2.0 174 KiB
Languages
Go 95.7%
Makefile 4.3%