yougram
Self-hosted image sharing app that ships as a single static binary with multi-user support and shareable guest albums.

yougram is a self-hosted image sharing app designed to be trivial to deploy and easy to keep running. The entire stack ships as a single static binary with no runtime dependencies, using SQLite for metadata and storing photos unmodified on disk so standard backup tools (restic, borg) work cleanly.
It supports multiple users, with a separate private interface for account holders and a guest interface for shareable albums. Guests can be invited via secret album links — writable for collaborative trips, read-only for everyone else. The codebase is intentionally small: Go with SQLC and templ on the backend, plain CSS with HTMX and Alpine.js on the frontend, with no JavaScript build pipeline.
The author plans optional AI-powered image tagging and facial recognition using on-device models, RAW support alongside JPEGs, and automatic video transcoding, though the project is in early development.
Categories:
Frequently Asked Questions
What is yougram?
yougram is a self-hosted image sharing app that ships as a single static binary with zero runtime dependencies. Built with Go and SQLite on the backend and HTMX/Alpine.js on the frontend, it's designed to be trivial to deploy — copy one file to your server and it runs. It's a private, self-hosted alternative to services like Imgur.
Can I self-host yougram?
Yes, self-hosting is the whole point. The entire app is one ~40MB binary (x86_64 Linux, arm64 Linux, and arm64 macOS) with no external service dependencies, so it runs on arbitrarily bad hardware unless you enable AI features. There is a private interface for account holders and a separate guest interface for shareable albums; the docs recommend exposing these via Tailscale and Tailscale Funnel, or behind a TLS-terminating proxy like Caddy.
How does sharing with others work?
yougram supports multi-user accounts so your whole family can use it, plus guest access via secret album links — writable links for collaborative trips or uploads, and read-only links for everyone else. Guests never need an account, and the private/guest split keeps your account management safely isolated from the public-facing interface.
Is yougram private and easy to back up?
Yes. yougram sends zero telemetry — nothing leaves your computer, and you can firewall all outgoing connections. It stores your photos unmodified as files on disk, so standard backup tools like restic or borg work cleanly, and getting your data out is an explicitly supported workflow with no lock-in.
What media features does it support?
You can upload and download RAW files that stack alongside their JPEGs, and drag-and-drop uploads are supported. AI-powered features are planned or in development, including on-device photo tagging (search for cats) and facial recognition (search for people), plus automatic video transcoding. Note the project is in early development and not yet stable, though it handles tens of thousands of photos fine.
Repository details
Updated 8/12/2026, 1:00:33 PM
View RepositoryRepository activity
Compare yougram with
Similar open source alternatives
Chevereto
Self-hosted image and video hosting platform. Build your own Flickr or Imgur-style media sharing site.
Pingvin Share X
Secure and easy self-hosted file sharing platform.
WeTransferSlink
Self-hosted image sharing service with gallery support.