Here's the repo:
https://github.com/ktunprasert/github-as-s3
I wanted to experiment with using GitHub as my backup solution for PocketBase or simply rclone a few files. It was surprisingly easy to make an S3 compatible API, only 8 routes was implemented in the end.