5 ms·
Some weeks ago, I got tired of using imgur for hosting screenshots and stuff, partially because I was trying to share work-related content and using a public si
by xrstf 12y ago
Some weeks ago, I got tired of using imgur for hosting screenshots and stuff, partially because I was trying to share work-related content and using a public site like imgur doesn't seem appropriate.
I then looked around for existing, simple self-hosting tools, but all I found where huge near-community apps like Gallery2, Coppermine, ownCloud or ownstagram (with commenting, rating, folders, tags, ...) or PHP scripts from before there was PHP 5.
Long story short: None of them fit my need, so I built my own. It's based on Silex (Symfony2's micro-framework sister) and Twig and only offers the bare minimum. Files are placed in the local filesystem, a database is not needed. Apache2 is the default supported webserver, but we have Hosty in production using nginx over SSL as well.
Uploading is only allowed for registered users (and users have to be configured in a config file), viewing is allowed to anyone having the link to a file. It's not intended to be a public file hosting service, so do not try to add some public register form or something like that ;-)
Hosty can be used inside a LAN without Internet access; no external resources are being used. It's published under MIT and deliberately doesn't add any promotional links or "Created by Hosty" footers.
- Sir_Cmpwn 12y agoYou missed MediaCrush ;) https://github.com/MediaCrush/MediaCrush https://github.com/MediaCrush/MediaCrush Building your own is easy and fun, though, I don't blame you.