Back to services

Picsur

A simple imaging hosting platform that allows you to easily host, edit, and share images.

View alternatives to Picsur
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

⚠️ Note: The author states in the README that the project is no longer maintained. The software has also always remained in Beta, and some features are unfinished. The author welcomes the community to fork it and continue development.

Introduction

Picsur calls itself "definitely not an Imgur clone". The author couldn't find an open-source project that made it easy to host images, so they wrote their own. It sits somewhere between Imgur and Pastebin: upload an image, get a link, and share it right away.

An online demo is available at https://picsur.org/. Images on the demo site are wiped every 5 minutes, and each file can be at most 16MB. If you want to keep images long term, you need to deploy your own instance.

Key Features

  • Upload and view images: Anonymous uploads are supported, and users can also view a list of the images they have uploaded
  • User system: Provides user accounts, roles, and permission management
  • Security and privacy: Has robust CORS restrictions and automatically strips EXIF data
  • Multi-format support: QOI, JPG, PNG, WEBP (animated supported), TIFF, HEIF, BMP, GIF (animated supported), JPG-XL, JPG-2000
  • Format conversion: Convert images between formats. By default, the server stores images in QOI format, a lossless format with very fast encoding and decoding
  • Image editing: Resize, rotate, flip, remove the alpha channel, invert colors, grayscale
  • Image management: Images can be deleted, or given an expiration time
  • Keep originals: You can choose to keep the original file, but EXIF data in the original is not stripped
  • Chat previews: Previews display correctly when you share links in chat apps
  • ShareX integration: Provides a ShareX upload endpoint
  • Database migrations: Has a solid database migration mechanism

Planned but not yet implemented features: light mode, public gallery, albums.

Target Users

  • Individuals who want to self-host an image host and replace public services such as Imgur
  • Administrators who want to offer an internal image-sharing service to a team or community
  • Windows users who take screenshots with ShareX and want to upload them to their own server

Deployment

The official recommendation is to deploy with Docker Compose. The image supports both AMD64 and ARM64. Two services are required:

  • ghcr.io/caramelfur/picsur:latest, default port 8080
  • A PostgreSQL database; the example uses postgres:17-alpine

Common environment variables:

  • PICSUR_DB_HOST / PICSUR_DB_PORT / PICSUR_DB_USERNAME / PICSUR_DB_PASSWORD / PICSUR_DB_DATABASE: database connection settings
  • PICSUR_ADMIN_PASSWORD: the administrator password. The default username is admin and cannot be changed
  • PICSUR_JWT_SECRET / PICSUR_JWT_EXPIRY: the JWT secret and its expiry. If no secret is set, one is generated randomly
  • PICSUR_MAX_FILE_SIZE: the maximum upload file size, in bytes
  • PICSUR_VERBOSE: verbose logging mode, which may log sensitive data

Usage Tips

  • User registration: Self-registration is disabled by default, so that others can't freely upload to your instance. To allow registration, go to Settings -> Roles -> guest -> Edit and add the Register permission to the guest role
  • Keep originals: Turn on Keep original in Settings -> General
  • Clipboard: Copying to the clipboard only works over HTTPS or on localhost, so it's best to access the instance through an HTTPS reverse proxy

License

Released under the AGPL-3.0 open-source license.