The OCI File Manager — my static webapp for bucket browsing, downloading and uploading

Lucas Jellema
7 min readMay 17, 2024
The OCI File Manager — a static web application for simple browsing, downloading and uploading of files in, from and to a bucket on OCI Object Storage (using nothing but a Pre Authenticated Request)

The OCI File Manager is a simple static web application that provides a user interface to easily navigate the contents of your buckets on OCI Object Storage. You can access the live application at lucasjellema.github.io/oci-file-manager/.

In addition to browsing these buckets, you can download the files from the buckets and upload files to these buckets. The OCI File Manager leverages a Pre Authenticated Request (aka PAR) that you need to provide for each bucket you want to access through the app. The PAR requires at least read and list object privileges. In order to be able to upload files, the PAR also need write permissions.

The OCI File Manager is static web application that runs entirely in your browser. Once the sources are loaded, there is no more interaction with any backend service. The app stores bucket information in local storage in your browser — to enable you to easily access the buckets again the next time you use the app. Note: this information is stored in your browser, not outside your device.

The app shows a tree explorer for the folders and files in your bucket. The search field can be used to quickly locate a files with specific names. Each node in the tree is a link: when you click on the file name, the file is downloaded to…

--

--

Lucas Jellema

Lucas Jellema is CTO and IT architect at Conclusion, The Netherlands. He is Oracle ACE Director, one time JavaOne Rockstar and programmer