MCPcopy Index your code
hub / github.com/LevInteractive/imageup

github.com/LevInteractive/imageup @v1.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.0 ↗ · + Follow
21 symbols 57 edges 5 files 14 documented · 67%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ImageUp for Google Cloud Platform (Storage)

Imageup is a microservice which handles the heavy lifting of image resizing and uploading to Google Cloud Storage. Essentially, you send it a full size image and basic instructions and it will send back an array of hosted images based on those instructions. With Imageup, you never need to store images locally on disk which is ideal when running multiple nodes at once.

It's recommended this be run as a private microservice (most likely within a Kubernetes cluster) because it does not handle any type of authentication. That should be done by the application interfacing with this service.

Usage

The easiest way to use this is to simply pull and run it using docker. Note that GOOGLE_APPLICATION_CREDENTIALS is only required if you aren't running this in a Google Cloud environment. Otherwise, it's already set by default.

docker run -it --rm levinteractive/imageup \
  -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/servicefile.json \
  -e BUCKET_ID="my-bucket" \
  -e SERVER_PORT="8080"

Alternatively, you can download this repo and build the binary for your respective arch. I didn't include binaries, but could if there is any demand.

Environmental Variables

  • BUCKET_ID default: null (required)
  • CACHE_MAX_AGE default: 86400
  • SERVER_HOST default: localhost
  • SERVER_PORT default: 31111
  • CORS default: "*" (wildcard should be fine since it's private to begin with)

Core symbols most depended-on inside this repo

jsonResponse
called by 8
imageup.go
GetEnv
called by 5
imageup.go
FileName
called by 2
gcp.go
GetOrientation
called by 2
gcp.go
RemoveFileFromGCP
called by 2
gcp.go
Manipulate
called by 2
gcp.go
removeAll
called by 2
imageup.go
GetDimensions
called by 1
gcp.go

Shape

Function 18
Struct 3

Languages

Go100%

Modules by API surface

imageup.go9 symbols
gcp.go7 symbols
gcp_test.go5 symbols

For agents

$ claude mcp add imageup \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact