Skip to content

Proxy your Google Cloud Storage Download, and protect with basic auth in blazingly fast !

Notifications You must be signed in to change notification settings

guaychou/gcs-proxy

Repository files navigation

GCS Proxy

ci


GCS proxy is tools to download file in google cloud storage without knowing the google cloud storage url, and abstract it with http basic auth feature in rust

Routes

  • /_/download/{file_name}

Example Yaml Config

log_level: info # debug / info / warn / error
server:
  http:
    port: 8080
    shutdown_timeout: 30
  gcs:
    bucket: kepintez
    folder: "folder_to_jail"
    # service_account_b64: "exampleofbase64sa"
  auth:
    username: pogpog
    password: pogpog

Environment Variable

  • GCS_SA_B64 --> GCP Service Account Base64 encoded from json
  • CONFIG_PATH --> Path to config file

How to run example

$ docker run -p8080:8080 -d -v "./config.yaml:/app/config.yaml" ghcr.io/guaychou/gcs-proxy:v1.0.0

Credit

  • Zero To Production for Architect the application code
  • Actix Web for the stable, blazingly fast, and battle tested web server written in rust with actor model

Maintainer

About

Proxy your Google Cloud Storage Download, and protect with basic auth in blazingly fast !

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages