https://github.com/gilbitron/photo-stream
A stupidly simple website generator for your photos
https://github.com/gilbitron/photo-stream
Last synced: over 1 year ago
JSON representation
A stupidly simple website generator for your photos
- Host: GitHub
- URL: https://github.com/gilbitron/photo-stream
- Owner: gilbitron
- License: mit
- Created: 2020-03-18T21:56:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-18T22:05:29.000Z (over 6 years ago)
- Last Synced: 2025-01-29T03:52:22.230Z (over 1 year ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Photo Stream
A stupidly simple website generator for your photos.
* Self hosted
* Static site
* No tracking
* Lazy loading
* Automatic image resizing
Heavily inspired by [maxvoltar/photo-stream](https://github.com/maxvoltar/photo-stream).
## Requirements
* PHP 7.0+
* GD Library (>=2.0) _or_ Imagick PHP extension (>=6.5.7)
## Usage
Get started in three simple steps:
1. Run `composer install`
1. Add your photos to `/photos`
1. Run `./build`
The `/public` directory can now be deployed as a static site. The `./build` script should be run every time you deploy your site.
## Build Script
The `build` script does two things:
1 - Resizes the images in `/photos` and places them in:
* `/public/photos/large`
* `/public/photos/thumbs`
The size of the generated images can be customized in `config.php`.
2 - Generate a `/public/index.html` file from the template in `/template/index.php`.
## Credits
Photo Stream was created by [Gilbert Pellegrom](https://gilbitron.me) from [Dev7studios](https://dev7studios.co). Released under the MIT license.