GithubHelp home page GithubHelp logo

picloud's Introduction

About Me - fullerzz

I'm just a guy from Arizona that thinks software is pretty neat. I spend my days working as a backend software developer writing and maintaining cloud-based applications. These apps are mostly written in Python and Java with Terraform used for the IAC.

I'm looking to improve my Go dev skills in 2024!

gopher-dance

Current Projects

There are a couple repos I plan on continuing development on as the ideas are still interesting to me.

Name Description
loamy Allows you to execute a list of http operations asynchronously from within an synchronous context.
pi-cloud* Rest API for raspberry pi to enable file hosting on local networks.

* The first iteration of this project is written in Python. I'm pretty comfortable with Python, so planning on continuing the development in Go here: https://github.com/fullerzz/picloud

GIF Credits

The Go gopher was designed by the awesome Renee French. Read http://blog.golang.org/gopher for more details.

The above GIF is from this repo: https://github.com/egonelbre/gophers

picloud's People

Contributors

dependabot[bot] avatar fullerzz avatar

Stargazers

 avatar

Watchers

 avatar

picloud's Issues

Panics on Initial Startup

Program will panic and crash if metadata.json doesn't exist.

Should be simple fix. The program should start normally if the file doesn't exist.

Add Tests

Functions Requiring Tests in main.go

  • updateFileTags
  • searchFiles
  • getAvif
  • loadConfig
  • loadFileMetadata
  • writeFileMetadata
  • buildLink
  • saveFile
  • listFiles

Functions Requiring Tests in resizer.go

  • writeNewImg
  • createAltSizes

Create Alt Sizes for Uploaded Files

When a file is uploaded, create alternative sizes that can be served to reduce bandwidth consumed. To start, I'm thinking of creating 2 alternative sizes - icon sized and medium sized.

Both those terms don't mean much, so I still have to come up with some requirements to create an "icon" sized image and a "medium" sized image.

Off the top of my head, I will need to take the pixel dimensions into account along with the size of the file. I'm not sure if the relationship between those 2 things is a 1-1 ratio or if they scale differently.

Links Use localhost

Links don't work once deployed to the pi, as they contain localhost instead of pi.local.

Use S3 as Storage Backend

Store uploaded files in S3 as the persistent storage location.

S3 Bucket Requirements

  • Block all public access
  • Object versioning
  • S3 bucket key for encryption

IAM To Do

  • Create new IAM resources that allows this API to access the new S3 bucket

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.