Index HTML page for S3 buckets #137
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-http-gw#137
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
There is a request to provide a way to navigate through S3 bucket and download objects visually using HTTP Gateway. Gateway should return index page with hyperlinks to sub-dirs and objects inside. As a reference, see index page of debian mirror: http://mirror.mephi.ru/debian-cd/
Describe the solution you'd like
/browse
endpoint, e.g.:domain.com/browse/bucketname
domain.com/browse/bucketname/dir1/dir2
/get
endpointI suppose there are libraries for that, but consider implementation with simple HTML template.
Describe alternatives you've considered
None.
Additional context
None.
I believe the expected behavior should involve providing an index page for a specified path, without requiring the additional
/browse/
path component. This functionality is similar to how it is implemented in Apache and Nginx with theautoindex
module.For S3 buckets, we could consider implementing a comparable feature using a tree service. This would involve checking whether a directory or an object is being requested and generating an index page when navigating through a directory.
Aside of things in #141 we want to:
Done in #141