[{"data":1,"prerenderedAt":552},["ShallowReactive",2],{"docs:\u002Fdocs\u002Flibraries":3,"docs-navigation":325,"docs-surround:\u002Fdocs\u002Flibraries":547},{"id":4,"title":5,"body":6,"description":316,"extension":317,"eyebrow":5,"icon":318,"meta":319,"navigation":320,"path":321,"seo":322,"stem":323,"__hash__":324},"docs\u002Fdocs\u002F3.libraries\u002F1.index.md","Libraries",{"type":7,"value":8,"toc":305},"minimark",[9,18,38,43,46,90,105,109,120,137,140,144,151,162,169,173,184,264,277,281,286,298,302],[10,11,12,13,17],"p",{},"Everything in Hubstruct lives in a ",[14,15,16],"strong",{},"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.",[19,20,21,30],"card-grid",{},[22,23,27],"link-card",{"icon":24,"title":25,"to":26},"hard-drive","Storage","\u002Fdocs\u002Flibraries\u002Fs3",[10,28,29],{},"Hubstruct's own storage: how files are kept, and what it can read.",[22,31,35],{"icon":32,"title":33,"to":34},"upload","Uploading","\u002Fdocs\u002Flibraries\u002Fuploading",[10,36,37],{},"Getting media into a library.",[39,40,42],"h2",{"id":41},"nothing-mixes-between-libraries","Nothing mixes between libraries",[10,44,45],{},"Libraries are kept completely apart:",[47,48,49,57,64,70,84],"ul",{},[50,51,52,53,56],"li",{},"Each library has its ",[14,54,55],{},"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.",[50,58,59,60,63],{},"Each has its ",[14,61,62],{},"own people",". The same person in two libraries is two people, and faces are only ever compared within a library.",[50,65,66,69],{},[14,67,68],{},"Duplicates"," are only found within a library.",[50,71,72,75,76,79,80,83],{},[14,73,74],{},"Albums",", ",[14,77,78],{},"groups"," and ",[14,81,82],{},"stacks"," belong to one library.",[50,85,86,89],{},[14,87,88],{},"Search"," is scoped to the library you're in, the command palette included.",[10,91,92,93,96,97,100,101,104],{},"What's shared: your ",[14,94,95],{},"account",", the ",[14,98,99],{},"settings"," (processing, NSFW, sign-in), and the ",[14,102,103],{},"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.",[39,106,108],{"id":107},"adding-a-library","Adding a library",[10,110,111,112,115,116,119],{},"Go to ",[14,113,114],{},"Settings → Libraries"," and choose ",[14,117,118],{},"Add library",":",[121,122,123,130],"ol",{},[50,124,125,126,129],{},"Give it a ",[14,127,128],{},"name",". You can rename it later.",[50,131,132,133,136],{},"Optionally, ",[14,134,135],{},"copy smart tags"," from another library, so tagging starts straight away.",[10,138,139],{},"The new library opens on its Home page. An empty library shows a welcome with what to do next.",[39,141,143],{"id":142},"switching-between-libraries","Switching between libraries",[10,145,146,147,150],{},"The ",[14,148,149],{},"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.",[10,152,153,154,75,158,161],{},"Every page that belongs to a library has its address under it: ",[155,156,157],"code",{},"\u002Flibraries\u002F\u003Cid>\u002Fmedia",[155,159,160],{},"\u002Flibraries\u002F\u003Cid>\u002Falbums\u002F\u003Calbum>"," 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.",[10,163,164,165,168],{},"Visiting ",[155,166,167],{},"\u002F"," goes to the library you used last.",[39,170,172],{"id":171},"fields-of-your-own","Fields of your own",[10,174,175,176,179,180,183],{},"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 ",[14,177,178],{},"Settings → Libraries →"," the library, under ",[14,181,182],{},"Fields",": a name and a type.",[185,186,187,200],"table",{},[188,189,190],"thead",{},[191,192,193,197],"tr",{},[194,195,196],"th",{},"Type",[194,198,199],{},"Holds",[201,202,203,214,224,234,244,254],"tbody",{},[191,204,205,211],{},[206,207,208],"td",{},[14,209,210],{},"Text",[206,212,213],{},"Any text",[191,215,216,221],{},[206,217,218],{},[14,219,220],{},"Number",[206,222,223],{},"A number",[191,225,226,231],{},[206,227,228],{},[14,229,230],{},"Date",[206,232,233],{},"A day",[191,235,236,241],{},[206,237,238],{},[14,239,240],{},"Yes or no",[206,242,243],{},"Yes, no, or not said",[191,245,246,251],{},[206,247,248],{},[14,249,250],{},"One of a list",[206,252,253],{},"One of the choices you give it",[191,255,256,261],{},[206,257,258],{},[14,259,260],{},"Link",[206,262,263],{},"A web address, opened from the media's page",[10,265,266,267,269,270,272,273,276],{},"Fill them in on a media's page, in its ",[14,268,182],{}," 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 ",[14,271,182],{}," (the API filters by every type, with ",[155,274,275],{},"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.",[39,278,280],{"id":279},"renaming-and-removing","Renaming and removing",[10,282,283,285],{},[14,284,114],{}," lists your libraries, each with how many media it holds. Open one for its settings: its name and description, its fields, and removing it.",[287,288,291],"callout",{"title":289,"type":290},"Removing a library","danger",[10,292,293,294,297],{},"Removing a library deletes everything Hubstruct has for it: its media records, tags, albums, people, groups, stacks and trash, and ",[14,295,296],{},"the uploaded files themselves",". It asks first, naming how many media it holds.",[39,299,301],{"id":300},"who-can-see-a-library","Who can see a library",[10,303,304],{},"For now, everyone with an account can see and change every library. Per-library permissions are planned.",{"title":306,"searchDepth":307,"depth":307,"links":308},"",3,[309,311,312,313,314,315],{"id":41,"depth":310,"text":42},2,{"id":107,"depth":310,"text":108},{"id":142,"depth":310,"text":143},{"id":171,"depth":310,"text":172},{"id":279,"depth":310,"text":280},{"id":300,"depth":310,"text":301},"Where your media lives. What a library holds, and how to add, switch between and remove them.","md",null,{},true,"\u002Fdocs\u002Flibraries",{"title":5,"description":316},"docs\u002F3.libraries\u002F1.index","h_dgGwKy6wnTJB3BfuBYOegTT-1hbrYAYkTRJ3ciBr4",[326],{"title":327,"path":328,"stem":329,"children":330,"page":-1},"Docs","\u002Fdocs","docs",[331,335,358,376,384,440,458,503,529],{"title":332,"path":328,"stem":333,"icon":334},"Hubstruct documentation","docs\u002Findex","book-open",{"title":336,"icon":337,"path":338,"stem":339,"children":340,"page":357},"Getting started","rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[341,345,349,353],{"title":342,"path":343,"stem":344,"icon":318},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",{"title":346,"path":347,"stem":348,"icon":318},"Requirements","\u002Fdocs\u002Fgetting-started\u002Frequirements","docs\u002F1.getting-started\u002F2.requirements",{"title":350,"path":351,"stem":352,"icon":318},"Quick start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F3.quick-start",{"title":354,"path":355,"stem":356,"icon":318},"First steps","\u002Fdocs\u002Fgetting-started\u002Ffirst-steps","docs\u002F1.getting-started\u002F4.first-steps",false,{"title":359,"icon":360,"path":361,"stem":362,"children":363,"page":357},"Concepts","lightbulb","\u002Fdocs\u002Fconcepts","docs\u002F2.concepts",[364,368,372],{"title":365,"path":366,"stem":367,"icon":318},"How it works","\u002Fdocs\u002Fconcepts\u002Fhow-it-works","docs\u002F2.concepts\u002F1.how-it-works",{"title":369,"path":370,"stem":371,"icon":318},"Processing steps","\u002Fdocs\u002Fconcepts\u002Fprocessing","docs\u002F2.concepts\u002F2.processing",{"title":373,"path":374,"stem":375,"icon":318},"Media","\u002Fdocs\u002Fconcepts\u002Fmedia","docs\u002F2.concepts\u002F3.media",{"title":5,"path":321,"stem":323,"children":377,"icon":383},[378,379,381],{"title":5,"path":321,"stem":323,"icon":318},{"title":25,"path":26,"stem":380,"icon":318},"docs\u002F3.libraries\u002F3.s3",{"title":33,"path":34,"stem":382,"icon":318},"docs\u002F3.libraries\u002F4.uploading","layer-group",{"title":385,"icon":386,"path":387,"stem":388,"children":389,"page":357},"Features","wand-magic-sparkles","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[390,394,397,401,404,408,412,416,420,424,428,432,436],{"title":391,"path":392,"stem":393,"icon":318},"Browsing","\u002Fdocs\u002Ffeatures\u002Fbrowsing","docs\u002F4.features\u002F01.browsing",{"title":88,"path":395,"stem":396,"icon":318},"\u002Fdocs\u002Ffeatures\u002Fsearch","docs\u002F4.features\u002F02.search",{"title":398,"path":399,"stem":400,"icon":318},"Tags","\u002Fdocs\u002Ffeatures\u002Ftags","docs\u002F4.features\u002F03.tags",{"title":74,"path":402,"stem":403,"icon":318},"\u002Fdocs\u002Ffeatures\u002Falbums","docs\u002F4.features\u002F04.albums",{"title":405,"path":406,"stem":407,"icon":318},"People and faces","\u002Fdocs\u002Ffeatures\u002Fpeople","docs\u002F4.features\u002F05.people",{"title":409,"path":410,"stem":411,"icon":318},"Groups","\u002Fdocs\u002Ffeatures\u002Fgroups","docs\u002F4.features\u002F06.groups",{"title":413,"path":414,"stem":415,"icon":318},"Duplicates and stacks","\u002Fdocs\u002Ffeatures\u002Fduplicates-and-stacks","docs\u002F4.features\u002F07.duplicates-and-stacks",{"title":417,"path":418,"stem":419,"icon":318},"NSFW","\u002Fdocs\u002Ffeatures\u002Fnsfw","docs\u002F4.features\u002F08.nsfw",{"title":421,"path":422,"stem":423,"icon":318},"Trash","\u002Fdocs\u002Ffeatures\u002Ftrash","docs\u002F4.features\u002F09.trash",{"title":425,"path":426,"stem":427,"icon":318},"Home and the dashboard","\u002Fdocs\u002Ffeatures\u002Fhome-and-dashboard","docs\u002F4.features\u002F10.home-and-dashboard",{"title":429,"path":430,"stem":431,"icon":318},"Live updates and offline","\u002Fdocs\u002Ffeatures\u002Flive-updates","docs\u002F4.features\u002F11.live-updates",{"title":433,"path":434,"stem":435,"icon":318},"Appearance and the app","\u002Fdocs\u002Ffeatures\u002Fappearance","docs\u002F4.features\u002F12.appearance",{"title":437,"path":438,"stem":439,"icon":318},"Places","\u002Fdocs\u002Ffeatures\u002Fplaces","docs\u002F4.features\u002F13.places",{"title":441,"icon":442,"path":443,"stem":444,"children":445,"page":357},"Administration","sliders","\u002Fdocs\u002Fadministration","docs\u002F5.administration",[446,450,454],{"title":447,"path":448,"stem":449,"icon":318},"Users and sign-in","\u002Fdocs\u002Fadministration\u002Fusers-and-sign-in","docs\u002F5.administration\u002F1.users-and-sign-in",{"title":451,"path":452,"stem":453,"icon":318},"API keys","\u002Fdocs\u002Fadministration\u002Fapi-keys","docs\u002F5.administration\u002F2.api-keys",{"title":455,"path":456,"stem":457,"icon":318},"Processing settings","\u002Fdocs\u002Fadministration\u002Fprocessing-settings","docs\u002F5.administration\u002F3.processing-settings",{"title":459,"icon":460,"path":461,"stem":462,"children":463,"page":357},"Self-hosting","server","\u002Fdocs\u002Fself-hosting","docs\u002F6.self-hosting",[464,468,472,476,479,483,487,491,495,499],{"title":465,"path":466,"stem":467,"icon":318},"Architecture","\u002Fdocs\u002Fself-hosting\u002Farchitecture","docs\u002F6.self-hosting\u002F1.architecture",{"title":469,"path":470,"stem":471,"icon":318},"Telemetry","\u002Fdocs\u002Fself-hosting\u002Ftelemetry","docs\u002F6.self-hosting\u002F10.telemetry",{"title":473,"path":474,"stem":475,"icon":318},"Sharing one GPU","\u002Fdocs\u002Fself-hosting\u002Fgpu","docs\u002F6.self-hosting\u002F2.gpu",{"title":25,"path":477,"stem":478,"icon":318},"\u002Fdocs\u002Fself-hosting\u002Fstorage","docs\u002F6.self-hosting\u002F3.storage",{"title":480,"path":481,"stem":482,"icon":318},"Backups","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F6.self-hosting\u002F4.backups",{"title":484,"path":485,"stem":486,"icon":318},"Updating","\u002Fdocs\u002Fself-hosting\u002Fupdating","docs\u002F6.self-hosting\u002F5.updating",{"title":488,"path":489,"stem":490,"icon":318},"Scaling","\u002Fdocs\u002Fself-hosting\u002Fscaling","docs\u002F6.self-hosting\u002F6.scaling",{"title":492,"path":493,"stem":494,"icon":318},"HTTPS and a domain","\u002Fdocs\u002Fself-hosting\u002Freverse-proxy","docs\u002F6.self-hosting\u002F7.reverse-proxy",{"title":496,"path":497,"stem":498,"icon":318},"Troubleshooting","\u002Fdocs\u002Fself-hosting\u002Ftroubleshooting","docs\u002F6.self-hosting\u002F8.troubleshooting",{"title":500,"path":501,"stem":502,"icon":318},"The config file","\u002Fdocs\u002Fself-hosting\u002Fconfig-file","docs\u002F6.self-hosting\u002F9.config-file",{"title":504,"icon":505,"path":506,"stem":507,"children":508,"page":357},"Reference","book","\u002Fdocs\u002Freference","docs\u002F7.reference",[509,513,517,521,525],{"title":510,"path":511,"stem":512,"icon":318},"Environment variables","\u002Fdocs\u002Freference\u002Fenvironment","docs\u002F7.reference\u002F1.environment",{"title":514,"path":515,"stem":516,"icon":318},"Worker roles","\u002Fdocs\u002Freference\u002Fworker-roles","docs\u002F7.reference\u002F2.worker-roles",{"title":518,"path":519,"stem":520,"icon":318},"API","\u002Fdocs\u002Freference\u002Fapi","docs\u002F7.reference\u002F3.api",{"title":522,"path":523,"stem":524,"icon":318},"Keyboard shortcuts","\u002Fdocs\u002Freference\u002Fkeyboard-shortcuts","docs\u002F7.reference\u002F4.keyboard-shortcuts",{"title":526,"path":527,"stem":528,"icon":318},"Models","\u002Fdocs\u002Freference\u002Fmodels","docs\u002F7.reference\u002F5.models",{"title":530,"icon":531,"path":532,"stem":533,"children":534,"page":357},"Hubstruct Cloud","cloud","\u002Fdocs\u002Fcloud","docs\u002F8.cloud",[535,539,543],{"title":536,"path":537,"stem":538,"icon":318},"Getting started with the cloud","\u002Fdocs\u002Fcloud\u002Fgetting-started","docs\u002F8.cloud\u002F1.getting-started",{"title":540,"path":541,"stem":542,"icon":318},"Plans and billing","\u002Fdocs\u002Fcloud\u002Fplans-and-billing","docs\u002F8.cloud\u002F2.plans-and-billing",{"title":544,"path":545,"stem":546,"icon":318},"Moving between cloud and self-hosted","\u002Fdocs\u002Fcloud\u002Fmoving","docs\u002F8.cloud\u002F3.moving",[548,550],{"title":373,"path":374,"stem":375,"description":549,"children":-1},"What Hubstruct keeps about each photo, GIF and video, and how its media page shows it.",{"title":25,"path":26,"stem":380,"description":551,"children":-1},"Libraries whose media Hubstruct keeps itself, in S3-compatible storage. How files are stored, what's made from them, and what it can read.",1795744072438]