Skip to content

A Golang http server to upload healthy files to your GoogleCloudStorage bucket

Notifications You must be signed in to change notification settings

VinukaThejana/uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

What is this ?

This is an HTTP server written in Go that can be used to upload Images from the frontend to the GoogleCloudStorage bucket.Upon uploading the image it will be checked for nudity, violence, medical and spoof content with the GoogleVision API. If the image looks normal to the GoogleVision API the it will be uploaded to the storage bucket and the URL will be returned

Will the GoogleVision API be very costly under high traffic ?

Yes, But This application gets the checksum of every uploaded image and save the it with the image state in a Redis database that way when a new image is uploaded it will first check the redis database for the state of the checksum of the uploaded image.By doing it this way not to images of the same checksum will be checked by the GoogleVision API thus reducing its operational cost

Is this API route public ?

No, this API route is made to work with Firebase auth so the Firebase idToken is required to invoke this API

About

A Golang http server to upload healthy files to your GoogleCloudStorage bucket

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages