GithubHelp home page GithubHelp logo

emacle / pictshare Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hascheksolutions/pictshare

0.0 1.0 0.0 38.92 MB

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

Home Page: https://www.pictshare.net

License: Apache License 2.0

PHP 24.28% CSS 34.95% JavaScript 37.48% HTML 3.29%

pictshare's Introduction

PictShare logo

PictShare

Apache License HitCount

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


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 in v2

  • 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 someone needs it, it can easily be implemented via adding a new storage controller. We're happy to accept pull requests
  • Dropped support for legacy URLs (/thumbs/1024x768_d8c01b45a6.png cant be used anymore, should be /1024x768/d8c01b45a6.png)

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

pictshare's People

Contributors

geek-at avatar thomasjsn avatar gabe565 avatar spair avatar yellowsoar avatar cavebeat avatar rumkit avatar avolpe avatar evaera avatar henryyang avatar gerripeach avatar sander85 avatar lengshuiyulangcn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.