Perla the Dog
This is the source code for Perlathedog.com, a lightweight PHP-based image upload and archival system.
The project allows you to upload .JPG
or .PNG
images, organizes them by the date the photo was taken (using EXIF metadata), and automatically generates a browsable homepage and archive structure by year.
Requirements
- PHP 7.0 or newer
- PHP GD extension (
php-gd
) enabled
Usage
-
Upload an image by visiting:
http://example.ptd/upload/index.php?key=YOUR_SECRET_KEY
-
Images are automatically placed in
/images/YYYY/MM/
based on their EXIF data. -
Archives can be viewed at:
/archives/YYYY/
for past years/index.php
for the current year
Installation (Debian-based systems)
apt update && apt install git php-gd
git clone https://git.oldgate.org/PerlaTheDog/PerlaTheDog
cd PerlaTheDog
cp config.php.dev config.php
not finished yet :3
Languages
JavaScript
55.4%
SCSS
19.9%
CSS
16.6%
PHP
8.1%