Hubstruct documentation

Everything about Hubstruct, from installing it to how each feature works and what every setting does.

Hubstruct is a media library that understands what's in your photos and videos. It reads your media, runs it through a set of AI models, and uses what they find to tag it, describe it, recognize the people in it, find its duplicates and make all of it searchable. You can run it on your own hardware with Docker, or use Hubstruct Cloud and let us run it.

These docs cover all of it. They're long on purpose: each page explains not only what to click, but how the feature works underneath, so you can predict what it will do and fix it when it doesn't.

Start here

How the docs are organized

SectionWhat's in it
Getting startedWhat Hubstruct is, what it needs, installing it, and your first hour with it.
ConceptsHow it works underneath: the services, the processing steps, and what a media item is.
LibrariesWhere your media lives, in Hubstruct's own storage.
FeaturesEvery feature, one page each: browsing, search, tags, albums, people, duplicates, NSFW, the trash and more.
AdministrationUsers, sign-in, API keys and the processing settings.
Self-hostingRunning it well: Docker Compose, the GPU, storage, backups, updates, scaling and HTTPS.
ReferenceEvery environment variable, worker role, model and keyboard shortcut, and the API.
Hubstruct CloudThe hosted service: plans, billing, and moving between it and your own server.

A few words used everywhere

  • Media: A photo, a GIF or a video. Hubstruct calls each one a media item, or just media.
  • Library: A collection of media and everything about it: its tags, albums, people and trash. Nothing is shared between libraries.
  • Step: One piece of processing done to each media, such as making thumbnails, tagging it or finding its faces. Each step runs by itself as soon as what it needs is ready.
  • Smart tag: A tag the tagging model checks every media for. You write what it means; the model decides which media it fits.
  • Worker: The background service that runs the steps and keeps albums up to date.