Skip to content

shotshare

Self-hosted image sharing for friends who want screenshot links without ads

Permissive (OSI) · MIT

Listed by , founder & editor

14

Health

Dormant

Overview

Stars

179

Last commit

2 years ago

Jul 2024

Repository age

2 years

since Dec 2023

Latest version

v1.11.0

Jul 2024

Contributors

–

Releases

0

last 12 months

Docker pulls

10k

mdshack/shotshare

Language

PHP

ShotShare is a small, self-hosted site for uploading images and sharing links. It was built so friends can post screenshots and send a URL without ads or extra features getting in the way. You can think of it as a private, bare-bones alternative to public image hosts like Imgur.

It is a PHP app licensed under MIT. The recommended deployment is the Docker image, which can use Caddy to issue and renew HTTPS certificates, or run in plain HTTP mode behind your own reverse proxy. SQLite is the default database. MySQL, PostgreSQL and SQL Server can be selected through environment variables. Registration can be switched off with a setting, and UUID-based routes are available as a feature flag.

The Docker image has more than 10,000 pulls. The last release is v1.11.0 and the last commit was in July 2024, so development has stopped for now. It suits a small private group more than a public service.

Who it's for

Friends or gaming groups sharing screenshots

You get your own upload page and links with no ads, and you can close registration.

Skip if: You need albums, editing or rich gallery features.

Homelab owners who like small Docker apps

One container with SQLite by default and built-in HTTPS through Caddy.

Skip if: You want an actively developed project with frequent updates.

Developers wanting a simple PHP upload service to study

The code is MIT licensed and the scope is small.

Skip if: You need a large ecosystem of plugins or integrations.

The problem it solves

Public image hosts show ads and add features nobody asked for when you just want to send a screenshot. ShotShare lets you run a plain upload site that you control.

Strengths

  • MIT license with a Docker image ready to run
  • Built-in HTTPS through Caddy, or HTTP behind your proxy
  • SQLite by default, with MySQL, PostgreSQL and SQL Server options
  • Registration can be turned off with ALLOW_REGISTRATION
  • Docker image has over 10,000 pulls

Trade-offs

  • Dormant: last commit was July 2024 and no releases in the past year
  • Deliberately minimal, so few gallery or editing features
  • Setup needs file ownership set for user 82 on the mounted files
  • Upgrading from before 1.5.1 needs a manual database file migration

Self-host shotshare

Self-hostable
Yes
Docker image
mdshack/shotshare
Docker Compose
The repository ships a Compose file

Frequently asked questions

Is ShotShare free?

Yes. It is open source under the MIT license and you host it yourself.

Can I self-host it?

Yes. A Docker image, mdshack/shotshare, is the documented way to deploy it.

Which databases work?

SQLite is the default. You can switch to MySQL, PostgreSQL or SQL Server with the DB_CONNECTION variable.

Can I stop strangers from signing up?

Yes. Set ALLOW_REGISTRATION to false.

Is it still maintained?

Activity has stopped. The last commit was in July 2024 and the latest version is v1.11.0.

Similar tools in Photo storage and galleries

Picsur

Photo storage and galleries

1.2k 69 13 months ago Dormant AGPL-3.0

Commons

Photo storage and galleries

1.2k 1.4k today Thriving Apache-2.0

pho

Photo storage and galleries

Phone photo viewer that backs up to your NAS over SMB, WebDAV or NFS with no server

1.2k 99 36 days ago Slowing GPL-3.0

Replaces Google Photos

docker-immich

Photo storage and galleries

1.1k 64 yesterday Thriving GPL-3.0

Chevereto

Photo storage and galleries

Self-hosted PHP image and video sharing site you run on your own server

1k 90 21 days ago Active AGPL-3.0