Files
pictshare/README.md
2018-12-27 13:45:53 +01:00

2.4 KiB

PictShare version 2


Apache License

This is the development branch for Version 2 do not use in production

Test site: https://dev.pictshare.net/ (only sometimes on)

Table of contents


New Features in v2:

  • 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

Breaking changes

  • New API system. Only single file uploads now via /api/upload.php (POST var name is "file"). read more..
  • Data directory renamed from upload to data
  • Backblaze support dropped for now because we didn't need it anymore as ALT_FOLDER is more flexible. If soneone needs it, it can easily be implemented via adding a new storage controller. We're happy to accept pull requests

Status

  • 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