Self-host imgpush
Minimalist self-hosted image upload and resize API
- Stars
- 356
- Port
- 5000 (HTTP API)
hauxir/imgpushWhat is imgpush?
imgpush is a lightweight self-hosted image hosting service for applications that accept user-uploaded images such as avatars. It provides a single API endpoint for uploads, automatically converts images to a chosen format, and resizes them on demand via URL parameters. The service includes per-IP rate limits, allowed-origin whitelisting, a liveness endpoint for health checks, and an authenticated delete API. Images are stored locally by default, with optional support for S3-compatible object storage using a local disk cache for fast serving. It runs as a Docker container on port 5000 and can be deployed to Kubernetes with the provided manifests. The project is open source under the MIT license with no paid tiers.
Should you self-host imgpush?
imgpush scores 47/100 on selfhost.directory (how scoring works) and ranks #4 of 9 in Image Management. It has 356 GitHub stars.
There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is Slink (59/100, 1 614 stars). It scores higher overall, so compare the two before you pick. See imgpush vs Slink side by side.
Features
- Allowed origin whitelisting
- Authenticated delete API
- Automatic image format conversion
- Image upload API
- Liveness health check endpoint
- Nudity filtering
- On-demand image resizing
- Rate Limiting
- S3-compatible storage backend
- Video upload support
imgpush README
More in Image Management
MARKMARK is a self-hosted, open-source image bookmarking tool for personal use that saves images via bookmarklet or drag-and-drop into a file-based collection.
myazoMyazo is a self-hosted, open-source alternative to Gyazo that lets you capture screenshots and upload them to your own PHP server using a Python client.
ownphotosA self-hosted, open-source take on Google Photos built on a Django backend and React frontend, with face recognition, object search, event albums and a map view.
PicsurPicsur is a self-hosted, open-source image sharing service in the spirit of Imgur, with format conversion, image editing, expiring uploads and a ShareX endpoint.
pinrySelf-hosted tiling image board for saving, tagging and sharing images videos webpages like Pinterest. Multi user support REST API browser extensions CLI tools i18n.
PiwigoSelf-hosted, open-source photo gallery and DAM web app for organisations, teams and individuals, with a large extensions catalogue and Docker or LAMP install.
shotshareOpen-source self-hosted image sharing for screenshots without ads. Supports ShareX, Shutter, API keys, and multiple link formats.
SlinkSlink is an open-source, self-hosted image sharing platform with private links, passwords, expiration, multiple storage backends, OIDC/SSO, ShareX, and a public API.
ZPanOpen-source, self-hosted S3-native cloud drive: browser-to-bucket presigned uploads, share links, image hosting, WebDAV mounting, remote downloads and team spaces.
AfilmorySelf-hosted, open-source photo gallery platform for photographers: syncs S3, B2, GitHub or local photos, with an HDR-aware GPU viewer, EXIF, maps and a native iOS app.
freexivfreexiv is a self-hosted, open-source alternative frontend for pixiv to browse artworks, search, and view profiles. Runs on Python with nginx.
ImageFlowSelf-hosted, open-source image management and delivery platform that converts to WebP/AVIF, serves device-aware images, and offers a random-image API with tag filters.

0 comments