The last time Hackerfall tried to access this page, it returned a not found error. A cached version of the page is below, or clickhereto continue anyway

xrstf / hosty — Bitbucket

Hosty - Image Hosting for Minimalists

Hosty is a tiny PHP application to host images (and text, if you want to) on your own webserver. It's meant to be as small as possible and hence offers only the following:

That's it. There is no admin UI, no commenting, no tagging, no folders, no social media crap or other external resources.

Screenshots

Requirements

Files are simply stored in the filesystem; a database is not needed.

Installation

You can download a prebuilt archive that contains all the files required for Hosty to run. See the download section on Bitbucket.

Alternatively, you can clone the repository and build the source for yourself.

You will need to create a dedicated vhost for Hosty, because as of now, all links are absolute. Installing to something like http://localhost/hosty/ will not work. Make sure the vhost points to the www directory.

After extracting the downloaded archive or building the source yourself, duplicate the resources/config.dist.yml as resources/config.yml and edit the duplicated file. Follow the comments in there to complete the configuration.

You're done! You should now be able to access Hosty via the vhost you've created, e.g. http://hosty.local/.

OAuth support

Hosty supports logging in via OAuth, but does not itself offer an application to do so. You have to create your own apps with the provider of your choice and then configure Hosty appropriately.

Note that this is not a way to register new accounts, but rather just use a different login mechanism to use a regular, preconfigured Hosty account.

Building from source

You need quite a few tools to build Hosty (just downloading the source won't be enough to get it running). Make sure you have npm, grunt-cli, bower and Composer installed globally on your system. Then, perform the following steps in your shell:

  1. npm install to install the required node packages for the build process
  2. bower install to download the required assets (CSS/JS)
  3. composer install to install the required PHP packages
  4. grunt to perform the actual build process

Moving to Production

When you install Hosty on a production machine, be sure to set the installation's debug flag to false in the config.yml and then execute grunt ship (after you have done a grunt run). This will duplicate the built assets and create versioned ones (e.g. app-backend.min.5763bb88.css).

License

Hosty is licensed under the MIT license.

Continue reading on bitbucket.org