GithubHelp home page GithubHelp logo

magnusbrzenk / stockfile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 30 KB

A simple LAMP-stack self-hosted file server an emphasis on controlled sharing of media files

Shell 2.04% PHP 84.25% JavaScript 2.84% CSS 9.25% Hack 1.61%

stockfile's Introduction

Stockfile

What's This?

A simple LAMP-stack self-hosted file server for backing up files (chiefly from Apple devices) with an emphasis on being able to tag and annotate media files for controlled sharing of subsets of your personal media with others.

Motivation

After trying various self-hosted file servers and image galleries (nextcloud, seafile, filerun, piwigo, chevereto, etc.), I realized that no single product had all the features that I wanted and that it would be easier to put together a simple file server of my own from scratch than work around any one of the aforementioned convoluted systems. The desired specs are:

  • Be able to upload files from Apple devices using sftp/rsync (with emphasis on photos)
  • Be able to inspect all uploaded files through a simple interface that would allow each media file to receive (i) tags, and (ii) captions/comments
  • Be able to generate thumbnails for images and videos
  • Be able to convert tagged MOV files to mp4
  • Extract EXIF metadata and group media files by month
  • Work efficiently (viz. using symlinks wherever possible)
  • Be able to stream mp4s

Quick Install

In a remote linux server, clone this repo and symlink it to your apache DocumentRoot so that it's reachable from e.g. https://yourdomain.com/stockfile

Dev Notes

  • PHP's try-catch block will not catch all types of exception with catch(Exception $e). To catch everything in PHP7, use catch(\Throwable $e).

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.