Skip to content

📷 PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself. 🎑

License

Notifications You must be signed in to change notification settings

beabee-communityrm/pictshare

 
 

Repository files navigation

PictShare logo

PictShare

Apache License HitCount

Host your own images gifs mp4s text bins and stay in control


PictShare demo

[INFO] March '23

Since Docker Hub won't allow team Organizations anymore, we moved our images to GitHub Container Registry. So if you want to use the latest version, please use the new image ghcr.io/hascheksolutions/pictshare instead of hascheksolutions/pictshare

Table of contents


Quickstart

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

Then open http://localhost:8080 in your browser

New Features in v2

  • Added support for external storage
  • Encryption of files in external storage
  • Added text hosting (like pastebin)
  • Added URL shortening
  • Added WebP to images (and conversion from jpg,png to webp)
  • Massive code rework. Actually we designed it from the ground up to be more modular and easier to debug

Features

  • Selfhostable
  • Simple upload API
  • 100% file based - no database needed
  • Scalable
  • Many Filters for images
  • GIF to MP4 conversion
  • JPG, PNG to WEBP conversion
  • MP4 resizing
  • PictShare removes all exif data so you can upload photos from your phone and all GPS tags and camera model info get wiped
  • Change and resize your uploads just by editing the URL
  • Duplicates don't take up space. If the exact same file is uploaded twice, the second upload will link to the first
  • Many configuration options
  • Full control over your data. Delete images with individual and global delete codes

Development roadmap

  • Duplicate detection
  • Write permission detection
  • Delete codes for every uploaded file
  • Upload via link/url
  • Upload via base64
  • Autodestruct for every uploaded file

Config options

Read here what those options do

  • ALT_FOLDER
  • URL (instead of FORCE_DOMAIN but mandatory)
  • LOG_UPLOADER
  • FFMPEG_BINARY
  • PNG_COMPRESSION
  • JPEG_COMPRESSION
  • WEBP_COMPRESSION
  • MASTER_DELETE_CODE
  • MASTER_DELETE_IP
  • UPLOAD_FORM_LOCATION
  • UPLOAD_QUOTA
  • UPLOAD_CODE
  • LOW_PROFILE
  • IMAGE_CHANGE_CODE
  • MAX_RESIZED_IMAGES
  • ALLOW_BLOATING
  • BACKBLAZE

Image hosting

  • Resizing
  • Filters
  • Gif to mp4 conversion
  • Upload of images

Text file hosting

  • Upload of text files
  • Render template for text files
  • Raw data view
  • Downloadable

URL shortening

  • Upload of links to shorten

MP4 hosting

  • Resizing
  • Preview image generation
  • Upload of videos
  • Automatic conversion if not mobile friendly or wrong encoder used
  • Render template for videos

This is a HASCHEK SOLUTIONS project

HS logo

About

📷 PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself. 🎑

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 98.4%
  • Other 1.6%