Libraries

Libraries

Where your media lives. What a library holds, and how to add, switch between and remove them.

Everything in Hubstruct lives in a library: its media, and everything about that media, such as tags, albums, people, groups, stacks, duplicates and the trash. A library's media is kept in Hubstruct's own storage: you upload it, and Hubstruct makes its thumbnails and works out its file details itself.

Nothing mixes between libraries

Libraries are kept completely apart:

  • Each library has its own tags. A smart tag in one library doesn't score media in another. When you make a new library, Hubstruct offers to copy another library's smart tags.
  • Each has its own people. The same person in two libraries is two people, and faces are only ever compared within a library.
  • Duplicates are only found within a library.
  • Albums, groups and stacks belong to one library.
  • Search is scoped to the library you're in, the command palette included.

What's shared: your account, the settings (processing, NSFW, sign-in), and the worker, since one machine's GPU does every library's work. The dashboard's work queue shows all libraries' work together; its counts and charts are the current library's.

Adding a library

Go to Settings → Libraries and choose Add library:

  1. Give it a name. You can rename it later.
  2. Optionally, copy smart tags from another library, so tagging starts straight away.

The new library opens on its Home page. An empty library shows a welcome with what to do next.

Switching between libraries

The library switcher, just left of the search in the top bar, lists your libraries. Picking one goes to the same page in the other library (from an album list to the album list), or to its Home if there's no equivalent.

Every page that belongs to a library has its address under it: /libraries/<id>/media, /libraries/<id>/albums/<album> and so on, so links to pages stay correct and can be shared. Settings, your profile and the API docs aren't in a library.

Visiting / goes to the library you used last.

Fields of your own

Each library can have fields of its own on its media, for whatever you keep track of: a print's format, who shot it, a score, a date, a link. Add them in Settings → Libraries → the library, under Fields: a name and a type.

TypeHolds
TextAny text
NumberA number
DateA day
Yes or noYes, no, or not said
One of a listOne of the choices you give it
LinkA web address, opened from the media's page

Fill them in on a media's page, in its Fields section; each value saves as you change it. Lists filter by them too: one-of-a-list, yes-or-no and date fields appear in the filters under Fields (the API filters by every type, with custom). Renaming a field keeps its values; taking a choice out of a list clears the media that had it; deleting a field deletes every media's value for it.

Renaming and removing

Settings → Libraries lists your libraries, each with how many media it holds. Open one for its settings: its name and description, its fields, and removing it.

Who can see a library

For now, everyone with an account can see and change every library. Per-library permissions are planned.