Watch
1
0
Fork
You've already forked Pic
0
An image-sharing site with end-to-end encryption. https://pic.airikr.me
  • PHP 59.2%
  • CSS 20.6%
  • JavaScript 20.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-25 21:08:50 +02:00
css Improvements & fixes 2026-09-25 21:08:50 +02:00
fonts First release 2026-08-26 00:51:12 +02:00
functions Major update 2026-09-25 01:00:18 +02:00
images Major update 2026-09-25 01:00:18 +02:00
js Major update 2026-09-25 01:00:18 +02:00
.gitignore Improvements 2026-08-26 13:43:41 +02:00
.htaccess Forgot file 2026-09-17 18:45:10 +02:00
account-logout.php Security fixes 2026-09-17 22:33:39 +02:00
admin-create-account.php Security fixes 2026-09-17 22:33:39 +02:00
ajax-admin.php Major update 2026-09-25 01:00:18 +02:00
ajax-album-addimage.php Security fixes 2026-09-17 22:33:39 +02:00
ajax-album-create.php Security fixes 2026-09-17 22:33:39 +02:00
ajax-album-edit.php Security fixes 2026-09-17 22:33:39 +02:00
ajax-album-get-albums.php New feature: albums 2026-09-17 18:43:15 +02:00
ajax-album-get-images.php Improvements 2026-09-17 22:58:08 +02:00
ajax-edit.php Major update 2026-09-25 01:00:18 +02:00
ajax-flagimage.php Major update 2026-09-25 01:00:18 +02:00
ajax-getimages.php Improvements & fixes 2026-09-25 21:08:50 +02:00
ajax-login.php Security fixes 2026-09-17 22:33:39 +02:00
ajax-register.php Major update 2026-09-25 01:00:18 +02:00
ajax-upload.php Major update 2026-09-25 01:00:18 +02:00
composer.json Major update 2026-09-25 01:00:18 +02:00
composer.lock Major update 2026-09-25 01:00:18 +02:00
config.yml First release 2026-08-26 00:51:12 +02:00
img.php Major update 2026-09-25 01:00:18 +02:00
index.php Admin update 2026-09-05 16:52:32 +02:00
LICENSE First release 2026-08-26 00:51:12 +02:00
page-about.php Major update 2026-09-25 01:00:18 +02:00
page-admin-users.php Improvements & fixes 2026-09-25 21:08:50 +02:00
page-admin.php Major update 2026-09-25 01:00:18 +02:00
page-albums.php Major update 2026-09-25 01:00:18 +02:00
page-errors.php Improvements 2026-08-28 00:22:30 +02:00
page-home.php Improvements & fixes 2026-09-25 21:08:50 +02:00
page-info.php Improvements & fixes 2026-09-25 21:08:50 +02:00
page-privacy.php Major update 2026-09-25 01:00:18 +02:00
page-rules.php Major update 2026-09-25 01:00:18 +02:00
README.md New feature 2026-09-01 21:38:51 +02:00
show-image.php First release 2026-08-26 00:51:12 +02:00
site-footer.php Major update 2026-09-25 01:00:18 +02:00
site-functions.php Major update 2026-09-25 01:00:18 +02:00
site-header.php New feature 2026-09-20 15:45:10 +02:00
site-settings.php Major update 2026-09-25 01:00:18 +02:00

Pic

Pic is an image-sharing site with end-to-end encryption. Every image uploaded is converted to WebP, has all metadata removed, and is encrypted at client level. Pic does not use a database at all.

Read more at pic.airikr.me/about.

Self-hosting

You can install Pic yourself on your own server. All you need is Apache or nginx and PHP.

  1. Clone this repository to the location where you want the directory containing the files to be (for example, /var/www/html).
  2. Point the web server to the directory and restart the web server.
  3. Change domain in config.yml to the domain you will be pointing Pic to.
  4. Change root in config.yml to the root directory where Pic is located (for example, /var/www/html).
  • All files created by Pic (such as user data) will be stored outside the root directory (for example, /var/www/html) and saved in {root}/files/pic. This can be changed on line 33 of site-settings.php. It is recommended that all these files be stored outside the root directory.
  • The directory specified on line 33 of site-settings.php should be created as soon as you visit the webpage on your server.
  1. If you do not have a Pic directory for an existing website (e.g. https://domain.tld/pic), remove /pic from lines 31–33 and line 36 in .htaccess.
  2. Create an admin account by going to https://pic.domain.tld/admin-create-account.php or https://domain.tld/pic/admin-create-account.php
  3. Log in using the login details provided by the website, and you can start using Pic.

AI

AI has been used to write all the code for and encrypt the files that are uploaded. The processing of the uploaded images (before they are saved on the server) has also been written by AI, including the display of thumbnails in the gallery.

AI can make mistakes, so if you have the relevant knowledge, please review the AI-generated code and contact me if you have found any vulnerabilities or other issues that need to be addressed.

All other code has been written by me by hand.