ribafs / Cam-Kave-video-gallery

A PHP-based gallery webapp for photos and videos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BlueBat

Cam Kave

A PHP-based gallery webapp for photos and videos taken on an Android device.

OpenCamera is required with photos saving to the WebP format. It's highly recommended that "Store location data (Geotagging)" is disabled. It is disabled by default.

  1. Download the the files as a zip file, extract and then move them into the DCIM folder (/storage/emulated/0/DCIM).

  2. Find a web server app that supports PHP. I (Styromaniac) personally use NiM Web Server Pro.

  3. In your PHP server app, set the document root to /storage/emulated/0/DCIM

  4. In that same app, add index.php to Index Pages if it isn't listed already.

  5. Start the server.

  6. Share the generated link to show off your camera-work or memories on the same LAN (local area network)

Note: If you have an https connection going from your computer or VPS either through a reverse proxy or a proper web server setup, you can keep KaveTorrent.js in the dep subfolder. This may expose the IP addresses of visitors to other visitors, so beware. It uses WebTorrent to distribute WebP and MP4 files.

Be warned that your photos and videos may end up publicly available on the internet. This is normal behavior for server apps. If you put robots.txt into the DCIM folder, this will prevent search engines from indexing the webapp on your Android device. Do not modify the PHP script to enable uploads without understanding the legal risks.

About

A PHP-based gallery webapp for photos and videos.

License:MIT License


Languages

Language:PHP 38.3%Language:JavaScript 32.8%Language:CSS 28.9%