Railway

Deploy Andromeda - Shrink

A minimal image compression and resizing tool

Deploy Andromeda - Shrink

Deploy and Host Andromeda - Shrink on Railway

Andromeda - Shrink is a self-hosted Go image tool that compresses and resizes JPEGs using the standard library image package plus golang.org/x/image/draw for Catmull-Rom scaling. It exposes a simple upload UI and a compress endpoint; EXIF metadata is preserved while GPS data is stripped.

About Hosting Andromeda - Shrink

Hosting Andromeda - Shrink means running a single, stateless Go binary that serves an upload UI and processes images in memory over HTTP. There is no database and nothing to persist, so deployment requires only setting the bind host and port. The image is built from the included Dockerfile. On Railway, the build produces the container, the service listens on the configured port, and no volume or external service is needed. Upload limit is 20 MB.

Common Use Cases

  • A quick, private web tool for compressing and resizing JPEGs
  • Reducing image weight before publishing to a blog or CDN
  • Stripping GPS EXIF data from photos while keeping other metadata

Dependencies for Andromeda - Shrink Hosting

  • None beyond the runtime — stateless, no database or volume required

Deployment Dependencies

Implementation Details

Environment variables:

HOST=0.0.0.0
PORT=3000

Routes: GET / upload UI; POST /compress multipart upload (file, quality 1-100, optional width). Set HOST=0.0.0.0 so Railway can route traffic to the service.

Why Deploy Andromeda - Shrink on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Andromeda - Shrink on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Rocky Linux
[Jun'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta