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.
Files are simply stored in the filesystem; a database is not needed.
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
will not work. Make sure the vhost points to the
After extracting the downloaded archive or building the source yourself,
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,
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.
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
and Composer installed globally on your system. Then, perform the following steps
in your shell:
npm installto install the required node packages for the build process
bower installto download the required assets (CSS/JS)
composer installto install the required PHP packages
gruntto perform the actual build process
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.
Hosty is licensed under the MIT license.