Secure by default
There is no traditional web server to log into, harden, patch, or accidentally misconfigure.
Host public files on Amazon S3, deliver them globally through CloudFront, and generate clean directory listings without maintaining Apache, PHP, cPanel, or a fragile VPS.
There is no traditional web server to log into, harden, patch, or accidentally misconfigure.
CloudFront does the global delivery while tiny Lambda functions handle directory intelligence.
The architecture teaches modern cloud primitives without demanding professional sysadmin skills.
Lots of people want to publish open-source files, downloads, images, docs, and experiments. They should not have to rent a VPS, install a stack, secure SSH, configure Apache, babysit PHP, or remember how to rebuild a server every few months.
This package turns S3 + CloudFront into a public directory browser with icons, sorting, file sizes, timestamps, folder timestamps, canonical URLs, source-code display helpers, and optional event-driven indexes.
S3 stores the object and emits an event for the folder that changed.
The updater Lambda writes .directory-index.json for the changed folder and its parents.
The viewer Lambda reads one small index file and renders the public listing with dates and sizes.
This is for builders, unemployed learners, independent artists, open-source publishers, teachers, archivists, and anyone who wants a reliable public file site without becoming a full-time server administrator.
It is intentionally practical: the goal is not to impress professional cloud architects. The goal is to help people publish high-quality work with fewer moving parts and fewer scary failure modes.
In the super-fast indexed mode, folder timestamps come from the prebuilt
.directory-index.json files maintained by the S3 write/delete
event updater Lambda. That means public visitors can see folder dates without
forcing the viewer Lambda to perform extra S3 metadata lookups on every page
view.
Live fallback mode stays simple and current. Indexed mode is where the beautiful folder dates, file dates, sizes, and fast rendering all come together.
For CloudFront setup details, see CloudFront Behavior Requirements.