
Deploy Image Optimiser and Resizer
Self-hosted image optimizer
image-resizer-railway
Just deployed
Deploy and Host Image Optimiser and Resizer on Railway
Image Optimiser and Resizer is a lightweight, self-hosted image optimization tool built with Bun and Sharp.js. Upload any image through a clean, mobile-responsive web UI and convert it to WebP, resize it, or do both in one step — with instant downloads and a built-in history panel.
About Hosting Image Optimiser and Resizer
Hosting Image Optimiser and Resizer requires a runtime that supports Bun and the Sharp native image processing library. The app runs as a single containerized service using an Alpine-based Docker image with vips for native image manipulation. It serves a static frontend alongside a Bun-powered API server that handles uploads, processing, and file delivery. No database or external services are required — optimization history is stored in a local JSON file, and processed images are saved to disk with automatic cleanup every 24 hours. Built-in rate limiting prevents abuse, making it production-ready out of the box.
Common Use Cases
- Blog & Content Creators — Quickly convert and compress images to WebP before uploading to a CMS, reducing page load times
- Web Developers — Batch-resize and optimize assets during development without relying on third-party SaaS tools
- Self-Hosted Alternative — A private, no-signup image optimizer for teams that want full control over their media pipeline
Dependencies for Image Optimiser and Resizer Hosting
- Bun — JavaScript/TypeScript runtime used as the server
- Sharp — High-performance Node.js image processing library powered by libvips
Deployment Dependencies
- Docker — The app is containerized using an
oven/bun:1-alpinebase image - vips — Native image processing library installed in the container for Sharp
Why Deploy Image Optimiser and Resizer 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 Image Optimiser and Resizer 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
image-resizer-railway
rohit-gh/image-resizer-railway