Skip to content

PictShare

Self-hosted image, GIF, video and text host with URL-based resizing and no database

Permissive (OSI) · Apache-2.0
  • Self-hosted

Listed by , founder & editor

58

Health

Active

Overview

Stars

954

Last commit

10 days ago

Nov 2026

Repository age

11 years

since Oct 2015

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Docker pulls

1.4M

hascheksolutions/pictshare

Language

PHP

PictShare is a self-hosted service for uploading and sharing images, GIFs, MP4s, audio and text. It is written in PHP and stores everything as files, so it needs no database. You can run it with a single Docker command or build it from a checkout with Docker Compose.

You change images and videos by editing the URL, for example to resize or apply filters. It converts GIFs to MP4 and JPG or PNG to WebP when the browser supports it. It strips EXIF data, including GPS tags, and identical uploads are stored only once. Uploads can be deleted with individual or global delete codes.

Version 3 adds text hosting with Markdown rendering, URL shortening, external storage with encryption, and albums that bundle uploads into one immutable gallery URL. It also has a simple upload API and a built-in MCP endpoint so LLM agents can upload and manage files. It is Apache 2.0 licensed. It fits people who want an image host they control, in place of services like Imgur.

Who it's for

Self-hosters who share screenshots and images by link

One Docker command gives you an upload page, short links and delete codes.

Skip if: You need a photo library with face recognition or timeline browsing.

Developers who want an upload API for their apps

It has a simple API and URL-based transforms, so you can resize without extra code.

Skip if: You need a full CDN with global edge nodes.

Privacy-minded users sharing phone photos

EXIF data, including GPS and camera model, is removed on upload.

Skip if: You want to keep metadata on shared files.

The problem it solves

Public image hosts own your files and can change terms or remove content. If you want to share images, GIFs or short videos by link, you need a host you control. PictShare gives you one without a database to maintain.

Strengths

  • File-based storage, so no database is required
  • Resize and filter images or MP4s by editing the URL
  • Strips EXIF data and stores duplicate uploads only once
  • Supports external storage with encryption of files
  • Built-in MCP endpoint and a simple upload API

Trade-offs

  • Version 3 may not be fully compatible with earlier versions
  • URL format changed in v3, so the file name must come last
  • Several v3 options were dropped, including TITLE and UPLOAD_FORM_LOCATION
  • It is a link-sharing host, not a full photo gallery manager

Self-host PictShare

Self-hostable
Yes
Docker image
hascheksolutions/pictshare
Docker Compose
The repository ships a Compose file

Quick start

docker run -d -p 8080:80 --name=pictshare ghcr.io/hascheksolutions/pictshare

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is PictShare free to self-host?

Yes. It is Apache 2.0 licensed and runs in Docker.

Does it need a database?

No. It is entirely file based.

Will my old v2 links still work?

Not necessarily. Version 3 requires the file name to be the last part of the URL and may not be fully compatible with older versions.

Can it host more than images?

Yes. It handles GIFs, MP4s, audio (mp3, wav, ogg, flac, m4a) and text, with Markdown rendering.

Similar tools in Photo storage and galleries

zimg

Photo storage and galleries

C image server that stores uploads and resizes or converts them through URL parameters

2.7k 396 9 years ago Dormant BSD-3-Clause

Lychee (electerious/lychee)

Photo storage and galleries

Self-hosted PHP photo gallery for people who want to upload, organize and share albums

6.4k 646 5 years ago Dormant MIT

Google Photos Takeout Helper

Photo storage and galleries

Tool that turns a messy Google Takeout export of Photos into one dated folder

6k 334 2 years ago Dormant Apache-2.0

imgpush

Photo storage and galleries

Minimal self-hosted image upload and resize API for app avatars and user images

358 52 3 months ago Slowing MIT

ipfspics-server

Photo storage and galleries

Self-hosted image gallery built on IPFS, for people who want peer-to-peer picture sharing

1.1k 107 7 years ago Dormant AGPL-3.0