o
odinpkg.dev
packages / app / S3Viewer

S3Viewer

d6f52f8app

This is a small test, POC style application to view the contents of your s3 bucket using Odin.

No license · updated 4 months ago

POC : S3 Viewer

This github repository is a small POC to see if I can connect to S3 using AWS and view the contents of my s3 bucket. This really only works with the GET request. There is an enum value for POST but that does nothing.

Dependency

s3.odin requires Layton's http-odin package (https://github.com/laytan/odin-http) Replace the imports in s3.odin with the correct paths to where odin-http is stored

In main.odin there are two variables, bucket and region. Set those to be your bucket name and aws region.

This code uses your aws credentials found at {USERPROFILE}/.aws/credentials.

If your credentials are stored somewhere else, you'll need to point the code to it.

Raylib Usage

This application uses Raylib. When the Escape key is pressed or when the x button is pressed on the window, a exit window pop up will show up to confirm if you want to close the window or not.

Notes

This repository is pretty messy. There was a bigger plan to make this an application but I lost interest in continuing. Maybe another time, in a different repository, but for now, I'm done messing around with AWS stuff for the moment.