Foldergram
A self-hosted, Instagram-style photo and video gallery that serves your local folders as a beautiful feed.
Open source alternative to:
Foldergram is a self-hosted web app that turns your local media folders into an Instagram-inspired browsing experience. Each non-hidden folder under your configured gallery root becomes an "App Folder" (profile), and each image or video inside it becomes a post — mirroring your filesystem with no reorganisation needed.
Features include a home feed with Recent, Rediscover, and Random modes, a top rail with Moments or Highlights based on capture-date coverage, a grid-based library with search and sorting, a Reels tab for video folders, shared likes in SQLite, and optional role-based access (admin, viewer, public). It generates thumbnails and video previews for fast browsing and ships as a Progressive Web App (PWA). Video support relies on ffmpeg, which is bundled in the Docker image.
Compared to Google Photos, Foldergram is fully local-first with no cloud upload or AI scanning — your photos stay on your machine. Compared to Instagram, it provides the same familiar feed UI for private personal use, with no social features, ads, or algorithmic curation.
Categories:
Build with:
Frequently Asked Questions
How does Foldergram organize my media?
Foldergram mirrors your filesystem: every non-hidden folder under your configured gallery root becomes an App Folder profile, and each image or video inside it becomes a post. No reorganization, tagging, or metadata editing is required. The home feed offers Recent, Rediscover, and Random modes, and a grid library provides search and sorting.
How is Foldergram different from Google Photos or Instagram?
Unlike Google Photos, Foldergram is fully local-first, with no cloud upload and no AI scanning, so your photos stay on your machine. Compared to Instagram, it offers a familiar feed UI for private personal use with no social features, ads, or algorithmic curation. It is designed purely for browsing and rediscovering your own media.
What do I need to run Foldergram, and does it support video?
Foldergram is self-hosted and ships as a Docker image with ffmpeg bundled, which handles video thumbnails and previews in the Reels tab. It generates thumbnails for fast browsing and works as a Progressive Web App that can be installed on mobile devices. Shared likes are stored in SQLite, and optional role-based access supports admin, viewer, and public roles.
Repository details
Updated 8/12/2026, 4:00:45 PM
View RepositoryRepository activity
Compare Foldergram with
Similar open source alternatives
Home Gallery
Self-hosted open-source web gallery for photos and videos with AI-powered image discovery, face detection, and tagging.
Google Photos
PhotoPrism
PhotoPrism is an AI-powered self-hosted photo library for browsing, organizing, and sharing your collection. Built in Go with privacy baked in at its core.
Google Photos
Ente
Open-source, end-to-end encrypted cloud for photos, videos, and 2FA secrets — a privacy-first Google Photos and iCloud Photos alternative.
Google Photos
Immich
High performance self-hosted photo and video management solution with automatic backup, facial recognition, and AI-powered search.
Google PhotosPiGallery 2
A fast directory-first photo gallery website, with rich UI, optimized for running on low resource servers (especially on Raspberry Pi).
Google Photos
Lychee
Beautiful self-hosted photo management tool with a stunning web interface.
Google Photos