sumit-paul 6 hours ago

Hey HN,

I built GitGallery, a photo vault that stores your photos directly in your own private GitHub repository. No third-party servers, no tracking, and no subscriptions. Your photos are version-controlled, encrypted, and entirely under your ownership.

It started as a weekend project after realizing that even private photo apps rely on rented clouds and analytics SDKs. I wanted something that gives users full control without giving up convenience.

How it works:

Sign in with GitHub using Device Flow (no token copying)

Create or select a private repo

Choose albums to sync

GitGallery uploads photos, handles retries, and keeps a local SQLite cache for offline use

Tech stack: Expo + React Native SQLite for offline cache Octokit for GitHub API Git history for version tracking

It is open source and currently available on Android. You can build it yourself or get it from the Play Store.

Would love your thoughts on privacy-first design, Git-based storage, and whether you would find iOS or desktop support useful next.

GitHub: https://github.com/Sumit189/GitGalleryApp

PlayStore: https://play.google.com/store/apps/details?id=com.gitgallery...

Your photos, your repo, your control.